Skip to content
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

To polkadot-v0.9.40 #1153

Merged
merged 28 commits into from
May 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
408af7b
Remove `account`
AurevoirXavier May 22, 2023
b382acd
Update and companions
AurevoirXavier May 22, 2023
8530448
Companion of paritytech/cumulus#2164
AurevoirXavier May 22, 2023
bee6fcd
Companion of paritytech/substrate#13159
AurevoirXavier May 22, 2023
6ac22ff
Companion of paritytech/cumulus#1909
AurevoirXavier May 22, 2023
83d4820
Fmt
AurevoirXavier May 22, 2023
a3fa551
Companion of paritytech/polkadot#6744
AurevoirXavier May 22, 2023
2386d87
Companion of paritytech/cumulus#2245
AurevoirXavier May 22, 2023
e45bca6
Companion of paritytech/substrate#12828
AurevoirXavier May 22, 2023
0511f10
Companion of paritytech/cumulus#2287
AurevoirXavier May 22, 2023
e2e2900
Companion of paritytech/substrate#13592
AurevoirXavier May 22, 2023
3a75b26
Companion of paritytech/cumulus#2308
AurevoirXavier May 22, 2023
fc6da85
Companion of paritytech/substrate#13410
AurevoirXavier May 22, 2023
608913a
Companion of paritytech/substrate#13305
AurevoirXavier May 22, 2023
25695dd
Companion of paritytech/frontier#1050
AurevoirXavier May 22, 2023
d437742
TODO weight
AurevoirXavier May 22, 2023
637a580
TODO weight
AurevoirXavier May 22, 2023
6caab1f
Companion of paritytech/frontier#1040
AurevoirXavier May 22, 2023
75f01d5
Remove unused dep
AurevoirXavier May 22, 2023
d07016f
Merge branch 'main' into xavier/u
AurevoirXavier May 22, 2023
f80e7b9
Try fix dev node paritytech/substrate#12828
jiguantong May 23, 2023
c27fcdf
Fix the frontier part (#1154)
boundless-forest May 23, 2023
bf775ff
Fix dev node
jiguantong May 23, 2023
10e4206
Fmt
AurevoirXavier May 23, 2023
b967680
Bump moonbeam
AurevoirXavier May 23, 2023
f634f40
Bump moonbeam
AurevoirXavier May 23, 2023
d919bc7
Remove unnecessary clone
AurevoirXavier May 23, 2023
cf9f1fb
Fix tests
AurevoirXavier May 23, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .maintain/pallet-weight-template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Measured: `{{benchmark.base_recorded_proof_size}}{{#each benchmark.component_recorded_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}`
// Estimated: `{{benchmark.base_calculated_proof_size}}{{#each benchmark.component_calculated_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}`
// Minimum execution time: {{underscore benchmark.min_execution_time}} nanoseconds.
Weight::from_ref_time({{underscore benchmark.base_weight}})
.saturating_add(Weight::from_proof_size({{benchmark.base_calculated_proof_size}}))
Weight::from_parts({{underscore benchmark.base_weight}}, 0)
.saturating_add(Weight::from_parts({{benchmark.base_calculated_proof_size}}, 0))
{{#each benchmark.component_weight as |cw|}}
// Standard Error: {{underscore cw.error}}
.saturating_add(Weight::from_ref_time({{underscore cw.slope}}).saturating_mul({{cw.name}}.into()))
.saturating_add(Weight::from_parts({{underscore cw.slope}}, 0).saturating_mul({{cw.name}}.into()))
{{/each}}
{{#if (ne benchmark.base_reads "0")}}
.saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}}_u64))
Expand All @@ -73,7 +73,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
.saturating_add(T::DbWeight::get().writes(({{cw.slope}}_u64).saturating_mul({{cw.name}}.into())))
{{/each}}
{{#each benchmark.component_calculated_proof_size as |cp|}}
.saturating_add(Weight::from_proof_size({{cp.slope}}).saturating_mul({{cp.name}}.into()))
.saturating_add(Weight::from_parts({{cp.slope}}, 0).saturating_mul({{cp.name}}.into()))
{{/each}}
}
{{/each}}
Expand All @@ -97,11 +97,11 @@ impl WeightInfo for () {
// Measured: `{{benchmark.base_recorded_proof_size}}{{#each benchmark.component_recorded_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}`
// Estimated: `{{benchmark.base_calculated_proof_size}}{{#each benchmark.component_calculated_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}`
// Minimum execution time: {{underscore benchmark.min_execution_time}} nanoseconds.
Weight::from_ref_time({{underscore benchmark.base_weight}})
.saturating_add(Weight::from_proof_size({{benchmark.base_calculated_proof_size}}))
Weight::from_parts({{underscore benchmark.base_weight}}, 0)
.saturating_add(Weight::from_parts({{benchmark.base_calculated_proof_size}}, 0))
{{#each benchmark.component_weight as |cw|}}
// Standard Error: {{underscore cw.error}}
.saturating_add(Weight::from_ref_time({{underscore cw.slope}}).saturating_mul({{cw.name}}.into()))
.saturating_add(Weight::from_parts({{underscore cw.slope}}, 0).saturating_mul({{cw.name}}.into()))
{{/each}}
{{#if (ne benchmark.base_reads "0")}}
.saturating_add(RocksDbWeight::get().reads({{benchmark.base_reads}}_u64))
Expand All @@ -116,7 +116,7 @@ impl WeightInfo for () {
.saturating_add(RocksDbWeight::get().writes(({{cw.slope}}_u64).saturating_mul({{cw.name}}.into())))
{{/each}}
{{#each benchmark.component_calculated_proof_size as |cp|}}
.saturating_add(Weight::from_proof_size({{cp.slope}}).saturating_mul({{cp.name}}.into()))
.saturating_add(Weight::from_parts({{cp.slope}}, 0).saturating_mul({{cp.name}}.into()))
{{/each}}
}
{{/each}}
Expand Down
Loading