#runtime #merge #client #protocol #crate #separate

near-runtime-fees

Fees applied to near runtime encapsulated in a separate crate. Might merge it later.

7 releases

✓ Uses Rust 2018 edition

new 0.4.1 Nov 1, 2019
0.3.2 Oct 25, 2019
0.2.5 Sep 17, 2019
0.2.1 Aug 26, 2019

#92 in WebAssembly

Download history 12/week @ 2019-08-16 32/week @ 2019-08-23 18/week @ 2019-08-30 17/week @ 2019-09-06 41/week @ 2019-09-13 80/week @ 2019-09-20 18/week @ 2019-09-27 41/week @ 2019-10-04 120/week @ 2019-10-18 87/week @ 2019-10-25

155 downloads per month
Used in 4 crates (3 directly)

Apache-2.0

10KB
144 lines

near-runtime-fees

Fees applied to near runtime encapsulated in a separate crate. Might merge it later.


lib.rs:

Describes the various costs incurred by creating receipts. We use the following abbreviation for readability:

  • sir -- sender is receiver. Receipts that are directed by an account to itself are guaranteed to not be cross-shard which is cheaper than cross-shard. Conversely, when sender is not a receiver it might or might not be a cross-shard communication.

Dependencies

~0.8–1.2MB
~27K SLoC