Update substrate#1038
Conversation
c71d125Pallet tests (values are in nanosegconds)Total execution time
name = pallet-gas
name = pallet-gear
name = pallet-gear-debug
name = pallet-gear-messenger
name = pallet-gear-payment
name = pallet-gear-program
name = pallet-usage
Runtime tests (values are in nanoseconds)Total execution time
name = Async RwLock
name = Async init
name = Async-await
name = Async-duplicates-sync
name = Async-multisig (well known cases)
name = Async-sign (well known cases)
name = Basic capacitor check
name = Decoder
name = Futures-unordered
name = Incomplete-async-payloads
name = Memory test
name = Messages to failed program are handled properly
name = Meta ping (simple check)
name = Multiping
name = Ping-pong
name = Program_id test
name = State-rollback
name = Test create_program sys-call
name = Trap test
name = Wait test
name = basic
name = collector-1
name = guestbook test
name = gui test
1352194Pallet tests (values are in nanoseconds)Total execution time
name = pallet-gas
name = pallet-gear
name = pallet-gear-debug
name = pallet-gear-messenger
name = pallet-gear-payment
name = pallet-gear-program
name = pallet-usage
Runtime tests (values are in nanoseconds)Total execution time
name = Async RwLock
name = Async init
name = Async-await
name = Async-duplicates-sync
name = Async-multisig (well known cases)
name = Async-sign (well known cases)
name = Basic capacitor check
name = Decoder
name = Futures-unordered
name = Incomplete-async-payloads
name = Memory test
name = Messages to failed program are handled properly
name = Meta ping (simple check)
name = Multiping
name = Ping-pong
name = Program_id test
name = State-rollback
name = Test create_program sys-call
name = Trap test
name = Wait test
name = basic
name = collector-1
name = guestbook test
name = gui test
|
Codecov Report
@@ Coverage Diff @@
## master #1038 +/- ##
==========================================
- Coverage 73.49% 73.39% -0.11%
==========================================
Files 89 89
Lines 8626 8898 +272
==========================================
+ Hits 6340 6531 +191
- Misses 2286 2367 +81
Continue to review full report at Codecov.
|
| wrap_storage_map!(storage: $storage, name: $name, key: $key, value: $val, counted None); | ||
| }; | ||
| (storage: $storage: ident, name: $name: ident, key: $key: ty, value: $val: ty, counted $($rm_arg:expr)?) => { | ||
| (storage: $storage: ident, name: $name: ident, key: $key: ty, value: $val: ty,) => { |
There was a problem hiding this comment.
There should no be trailing comma after macro args
| /// The custom benchmark subcommand benchmarking runtime pallets. | ||
| #[clap(name = "benchmark", about = "Benchmark runtime pallets.")] | ||
| /// Sub-commands concerned with benchmarking. | ||
| #[clap(subcommand)] |
There was a problem hiding this comment.
Why the explanation from subcommand were removed?
| #[cfg(not(feature = "try-runtime"))] | ||
| TryRuntime, | ||
|
|
||
| /// Db meta columns information. |
| @@ -16,7 +16,7 @@ pallet-gear = { version = "2.0.0", default-features = false, path = "../../../ge | |||
| [features] | |||
| default = ["std"] | |||
| std = [ | |||
There was a problem hiding this comment.
Shouldn't sp-std/std be also included?
| fn runtime_error_into_rpc_error(err: impl std::fmt::Debug) -> JsonRpseeError { | ||
| CallError::Custom(ErrorObject::owned( | ||
| 8000, | ||
| "Runtime error", |
There was a problem hiding this comment.
"RPC call error" mostly suitable for me, just because it not only relays on runtime logic
#[transactional]Storage Layer for All FRAME Extrinsics paritytech/substrate#11431WeightToFeeinstead ofWeightToFeePolynomialIntroduceWeightToFeetrait instead ofWeightToFeePolynomialand makeWeightToFeePolynomialimplement it instead paritytech/substrate#11415pallet-gear-rpc@gear-tech/dev