Skip to content

Bump Substrate/Polkadot/Cumulus refs (aka Weights v1.5) #1597

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

Merged
merged 33 commits into from
Oct 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
2c97cc0
update Substrate + Polkadot + Cumulus refs
svyatonik Oct 10, 2022
b7ee784
Origin -> RuntimeOrigin
svyatonik Oct 10, 2022
76920a9
weights v1.5
svyatonik Oct 10, 2022
3a59d81
update refs once again + `cargo test -p pallet-bridge-grandpa` works
svyatonik Oct 14, 2022
1afeb6a
started work on `cargo test -p pallet-bridge-messages`
svyatonik Oct 14, 2022
45785b1
cargo test -p pallet-bridge-relayers
svyatonik Oct 14, 2022
b5bb55d
cargo test -p pallet-bridge-parachains
svyatonik Oct 14, 2022
cc4823f
cargo test -p millau-runtime
svyatonik Oct 14, 2022
6fadc77
cargo test -p bridge-runtime-common
svyatonik Oct 14, 2022
f20117d
cargo test -p rialto-runtime
svyatonik Oct 17, 2022
f1a5bbb
cargo test -p rialto-parachain-runtime
svyatonik Oct 17, 2022
b1242ee
cargo test -p millau-bridge-node
svyatonik Oct 17, 2022
daf6dda
cargo test -p rialto-bridge-node
svyatonik Oct 17, 2022
553168c
cargo test -p rialto-parachain-collator
svyatonik Oct 17, 2022
5e14bc7
cargo test -p messages-relay
svyatonik Oct 17, 2022
e3b2cfb
cargo test -p parachains-relay
svyatonik Oct 17, 2022
8065e73
cargo test -p substrate-relay
svyatonik Oct 17, 2022
c876186
cargo test --all
svyatonik Oct 17, 2022
f5d64dd
cargo check -p millau-runtime --locked --features runtime-benchmarks
svyatonik Oct 17, 2022
8d22a33
fix remaining test
svyatonik Oct 17, 2022
2953ef7
Merge branch 'master' into bump-refs
svyatonik Oct 17, 2022
1e6ad55
fmt
svyatonik Oct 17, 2022
d1b6593
try to allow clippy failure temporarily
svyatonik Oct 17, 2022
4d3d0be
Revert "try to allow clippy failure temporarily"
svyatonik Oct 17, 2022
7091291
Merge branch 'master' into bump-refs
svyatonik Oct 18, 2022
a7a3d3d
Merge branch 'master' into bump-refs
svyatonik Oct 19, 2022
33042f4
use min_by
svyatonik Oct 19, 2022
1d2204f
Revert "use min_by"
svyatonik Oct 20, 2022
d84dd6e
Revert "Revert "use min_by""
svyatonik Oct 20, 2022
259d91b
trigger CI
svyatonik Oct 20, 2022
b058ce1
Revert "trigger CI"
svyatonik Oct 20, 2022
f066349
new day, new clippy warning
svyatonik Oct 20, 2022
0cabac6
more clippy issues
svyatonik Oct 20, 2022
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
24 changes: 12 additions & 12 deletions .maintain/millau-weight-template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -57,21 +57,21 @@ impl<T: frame_system::Config> WeightInfo for BridgeWeight<T> {
{{~#each benchmark.components as |c| ~}}
{{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}}
) -> Weight {
({{underscore benchmark.base_weight}} as Weight)
Weight::from_ref_time({{underscore benchmark.base_weight}} as u64)
{{~#each benchmark.component_weight as |cw|}}
.saturating_add(({{underscore cw.slope}} as Weight).saturating_mul({{cw.name}} as Weight))
.saturating_add(Weight::from_ref_time({{underscore cw.slope}} as u64).saturating_mul({{cw.name}} as u64))
{{~/each}}
{{~#if (ne benchmark.base_reads "0")}}
.saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}} as Weight))
.saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}} as u64))
{{~/if}}
{{~#each benchmark.component_reads as |cr|}}
.saturating_add(T::DbWeight::get().reads(({{cr.slope}} as Weight).saturating_mul({{cr.name}} as Weight)))
.saturating_add(T::DbWeight::get().reads(({{cr.slope}} as u64).saturating_mul({{cr.name}} as u64)))
{{~/each}}
{{~#if (ne benchmark.base_writes "0")}}
.saturating_add(T::DbWeight::get().writes({{benchmark.base_writes}} as Weight))
.saturating_add(T::DbWeight::get().writes({{benchmark.base_writes}} as u64))
{{~/if}}
{{~#each benchmark.component_writes as |cw|}}
.saturating_add(T::DbWeight::get().writes(({{cw.slope}} as Weight).saturating_mul({{cw.name}} as Weight)))
.saturating_add(T::DbWeight::get().writes(({{cw.slope}} as u64).saturating_mul({{cw.name}} as u64)))
{{~/each}}
}
{{~/each}}
Expand All @@ -85,21 +85,21 @@ impl WeightInfo for () {
{{~#each benchmark.components as |c| ~}}
{{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}}
) -> Weight {
({{underscore benchmark.base_weight}} as Weight)
Weight::from_ref_time({{underscore benchmark.base_weight}} as u64)
{{~#each benchmark.component_weight as |cw|}}
.saturating_add(({{underscore cw.slope}} as Weight).saturating_mul({{cw.name}} as Weight))
.saturating_add(Weight::from_ref_time({{underscore cw.slope}} as u64).saturating_mul({{cw.name}} as u64))
{{~/each}}
{{~#if (ne benchmark.base_reads "0")}}
.saturating_add(RocksDbWeight::get().reads({{benchmark.base_reads}} as Weight))
.saturating_add(RocksDbWeight::get().reads({{benchmark.base_reads}} as u64))
{{~/if}}
{{~#each benchmark.component_reads as |cr|}}
.saturating_add(RocksDbWeight::get().reads(({{cr.slope}} as Weight).saturating_mul({{cr.name}} as Weight)))
.saturating_add(RocksDbWeight::get().reads(({{cr.slope}} as u64).saturating_mul({{cr.name}} as u64)))
{{~/each}}
{{~#if (ne benchmark.base_writes "0")}}
.saturating_add(RocksDbWeight::get().writes({{benchmark.base_writes}} as Weight))
.saturating_add(RocksDbWeight::get().writes({{benchmark.base_writes}} as u64))
{{~/if}}
{{~#each benchmark.component_writes as |cw|}}
.saturating_add(RocksDbWeight::get().writes(({{cw.slope}} as Weight).saturating_mul({{cw.name}} as Weight)))
.saturating_add(RocksDbWeight::get().writes(({{cw.slope}} as u64).saturating_mul({{cw.name}} as u64)))
{{~/each}}
}
{{~/each}}
Expand Down
Loading