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

Upgrade to upstream 0.9.40 #735

Merged
merged 22 commits into from
May 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
30ffeb5
chore: create docker only when a release is published and for pull re…
aliXsed Apr 21, 2023
1c4b415
feat: upgrade based on upstream 0.9.40 [WIP]
aliXsed Apr 21, 2023
093edc6
fix: xcm report_holding benchmark [WIP]
aliXsed Apr 25, 2023
f428847
chore: remove unused xcm type [WIP]
aliXsed Apr 26, 2023
14bf151
fix: several benchmark and xcm config issues [WIP]
aliXsed May 1, 2023
9d411f1
fix: DestinationUnsupported [WIP]
aliXsed May 1, 2023
233825b
fix: use xcm latest consistently [WIP]
aliXsed May 1, 2023
780d2bb
fix: add missing generic benchmarks [WIP]
aliXsed May 1, 2023
4a854d0
Merge branch 'master' into aliX/upgrade-to-0.9.40
aliXsed May 3, 2023
1497008
fix: use weight from Kusama for reserve_asset_deposited [WIP]
aliXsed May 3, 2023
9405df6
fix: clippy [WIP]
aliXsed May 3, 2023
30db93c
fix: more clippy issues
aliXsed May 3, 2023
8df0b2b
fix: some tests
aliXsed May 3, 2023
ef710b6
feat: add weight info for pallet_xcm
aliXsed May 3, 2023
1091e0c
fix: add missing benchmark file pallet_xcm
aliXsed May 4, 2023
2a6cb19
chore: pallet_xcm to benchmark script
aliXsed May 5, 2023
e93e965
chore: specify the list of extrinsics for xcm generic benchmarks
aliXsed May 5, 2023
e4a7e7e
chore: improve the benchmark script and build benchmarking api only f…
aliXsed May 5, 2023
71d8970
chore: benchmark on standard machine
aliXsed May 8, 2023
0a1d1d8
fix: pallet_contracts private weight info
aliXsed May 8, 2023
7a2fdf3
chore: fix a trivial warning
aliXsed May 8, 2023
126aca3
chore: take suggestion for EnsureRootOrMoreThanHalfOfTechComm
aliXsed May 8, 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
1 change: 1 addition & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Docker

on:
release:
types: [published]

jobs:

Expand Down
4 changes: 2 additions & 2 deletions .maintain/external_pallet_weights.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ impl<T: frame_system::Config> {{pallet}}::WeightInfo for WeightInfo<T> {
{{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}}
) -> Weight {
// Minimum execution time: {{underscore benchmark.min_execution_time}} nanoseconds.
Weight::from_ref_time({{underscore benchmark.base_weight}}_u64)
Weight::from_parts({{underscore benchmark.base_weight}}_u64, 0)
{{#each benchmark.component_weight as |cw|}}
// Standard Error: {{underscore cw.error}}
.saturating_add(Weight::from_ref_time({{underscore cw.slope}}_u64).saturating_mul({{cw.name}} as u64))
.saturating_add(Weight::from_parts({{underscore cw.slope}}_u64, 0).saturating_mul({{cw.name}} as u64))
{{/each}}
{{#if (ne benchmark.base_reads "0")}}
.saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}}_u64))
Expand Down
8 changes: 4 additions & 4 deletions .maintain/internal_pallet_weights.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
{{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}}
) -> Weight {
// Minimum execution time: {{underscore benchmark.min_execution_time}} nanoseconds.
Weight::from_ref_time({{underscore benchmark.base_weight}}_u64)
Weight::from_parts({{underscore benchmark.base_weight}}_u64, 0)
{{#each benchmark.component_weight as |cw|}}
// Standard Error: {{underscore cw.error}}
.saturating_add(Weight::from_ref_time({{underscore cw.slope}}_u64).saturating_mul({{cw.name}} as u64))
.saturating_add(Weight::from_parts({{underscore cw.slope}}_u64, 0).saturating_mul({{cw.name}} as u64))
{{/each}}
{{#if (ne benchmark.base_reads "0")}}
.saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}}_u64))
Expand Down Expand Up @@ -93,10 +93,10 @@ impl WeightInfo for () {
{{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}}
) -> Weight {
// Minimum execution time: {{underscore benchmark.min_execution_time}} nanoseconds.
Weight::from_ref_time({{underscore benchmark.base_weight}}_u64)
Weight::from_parts({{underscore benchmark.base_weight}}_u64, 0)
{{#each benchmark.component_weight as |cw|}}
// Standard Error: {{underscore cw.error}}
.saturating_add(Weight::from_ref_time({{underscore cw.slope}}_u64).saturating_mul({{cw.name}} as u64))
.saturating_add(Weight::from_parts({{underscore cw.slope}}_u64, 0).saturating_mul({{cw.name}} as u64))
{{/each}}
{{#if (ne benchmark.base_reads "0")}}
.saturating_add(RocksDbWeight::get().reads({{benchmark.base_reads}}_u64))
Expand Down
4 changes: 2 additions & 2 deletions .maintain/xcm.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ impl<T: frame_system::Config> WeightInfo<T> {
{{~#each benchmark.components as |c| ~}}
{{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}}
) -> Weight {
Weight::from_ref_time({{underscore benchmark.base_weight}}_u64)
Weight::from_parts({{underscore benchmark.base_weight}}_u64, 0)
{{#each benchmark.component_weight as |cw|}}
// Standard Error: {{underscore cw.error}}
.saturating_add(Weight::from_ref_time({{underscore cw.slope}}_u64).saturating_mul({{cw.name}}_u64))
.saturating_add(Weight::from_parts({{underscore cw.slope}}_u64, 0).saturating_mul({{cw.name}}_u64))
{{/each}}
{{#if (ne benchmark.base_reads "0")}}
.saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}}_u64))
Expand Down
Loading