-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update substrate #1038
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.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great one
@@ -86,7 +86,7 @@ macro_rules! wrap_storage_map { | |||
(storage: $storage: ident, name: $name: ident, key: $key: ty, value: $val: ty) => { | |||
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the explanation from subcommand were removed?
@@ -66,6 +66,9 @@ pub enum Subcommand { | |||
#[cfg(not(feature = "try-runtime"))] | |||
TryRuntime, | |||
|
|||
/// Db meta columns information. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"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#11431WeightToFee
instead ofWeightToFeePolynomial
IntroduceWeightToFee
trait instead ofWeightToFeePolynomial
and makeWeightToFeePolynomial
implement it instead paritytech/substrate#11415pallet-gear-rpc
@gear-tech/dev