-
Notifications
You must be signed in to change notification settings - Fork 14
Polkadot v1.1.0 #489
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
Polkadot v1.1.0 #489
Changes from all commits
Commits
Show all changes
64 commits
Select commit
Hold shift + click to select a range
aa391c9
replacing dependencies
gianfra-t b883bc6
dependencies upgrades
gianfra-t 1b22e66
restructure imports for update, relevant modifications of chain exten…
gianfra-t 7a7a37d
reorder dependencies and types for pallets staking, tokens and allowance
gianfra-t 2ab8195
update fixes for asset registry, runtime common
gianfra-t 5187366
amplitude 1.1.0 changes
gianfra-t f7083ed
updating foucoco, pendulum runtimes
gianfra-t 2a877c2
benchmark fixes for common
gianfra-t ce6a0af
fixes for runtimes with runtime benchmarks
gianfra-t fa9124c
node modifications for upgrade
gianfra-t afa2445
WIP fixing integration tests
gianfra-t bed37c5
fixed missing default features
gianfra-t fda5880
WIP fixing std issue
gianfra-t 5ec2769
modification toml pendulum, orml-currencies, amplitude
gianfra-t 34937d3
use serde, log with default features = false
gianfra-t b394ea5
remove std conditionals on pallets
gianfra-t c2411a1
fix foucoco default features declaration
gianfra-t 3a1f47a
add trait to sibling currency id
gianfra-t af01ba6
remove unnecessary trait ConvertMultilocation
gianfra-t 4bbd6b6
remove unnecessary trait ConvertMultilocation in integration tests si…
gianfra-t 8613e59
use start_relay_chain_tasks in node
gianfra-t 9639e19
modifications .toml integration tests
gianfra-t ad33520
WIP testing comprehensive patch
gianfra-t f844e6b
fix for integration tests dependencies
gianfra-t ef2b22f
remove deps of polkadot fellows runtime, solve integration test parac…
gianfra-t 9c0a4bc
adding pallets to sibling chain
gianfra-t 9514f40
compile sibling tests with emulator macros, fixing tests
gianfra-t b25abc0
fix all pen tests
gianfra-t b6f121f
fixing amplitude test
gianfra-t ab11b6f
integration tests stable
gianfra-t 1bd8047
cleanup, solving features issue with pallet parachain system
gianfra-t 00b5a9f
remove .txt files
gianfra-t 4be1e9a
define storage version bump for bounties, staking
gianfra-t cc7d374
fix pallets mock runtimes
gianfra-t 487b765
add patch to solve missing vrfs dependency and compile with newer nig…
gianfra-t 1f266db
temporary remove flag
gianfra-t a342d92
allow deprecated flag
gianfra-t 1606c9f
warnings and comment requests
gianfra-t 9a0526a
more unused imports removal
gianfra-t 5be0728
clippy fixes
gianfra-t 2ce46a8
set inherent data provider closure to default
gianfra-t ccdcca9
add missing flag for eventual try-runtime command
gianfra-t e03041e
format nightly for latest changes
gianfra-t 6a3f685
Revert "format nightly for latest changes"
gianfra-t 44bbd06
generate weights for dia-oracle pallet
gianfra-t 27dc016
use temporary spacewalk version with dia-oracle fix
gianfra-t 2248cb3
re-introduce non local definition flag for clippy
gianfra-t 57af166
use previous spacewalk revision
gianfra-t 0dfa214
remove temporary dia-oracle fix branch
gianfra-t a8712ab
remove temp stellar sdk patch
gianfra-t f51fa62
Readme modification, nightly version used
gianfra-t 422f4c2
clean comments and address review improvements
gianfra-t 07db076
remove unused dependencies and imports
gianfra-t 7f7d823
run fmt nightly
gianfra-t 7f9d96d
move const outside macro definition
gianfra-t e37f5b2
fix bandersnatch parch url
gianfra-t 79012a1
add benchmarkings (those not failed), modify config to use default we…
gianfra-t 82ec7d3
Revert "add benchmarkings (those not failed), modify config to use de…
gianfra-t 1d49c52
fix benchmark for orml-tokens-management, add benchmark helper script…
gianfra-t d186500
fix definition of weights in runtimes
gianfra-t 96ba3db
run redeem benchmark after fix for ED
gianfra-t 4e6924c
replace spacewalk rev latest
gianfra-t a6aecdf
use default values for pallet contracts
gianfra-t 17aef86
Update pallets/vesting-manager/Cargo.toml
gianfra-t File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| #!/bin/bash | ||
|
|
||
| script_dir=$(dirname "$(realpath "$0")") | ||
|
|
||
|
|
||
| runtimes=("pendulum" "amplitude" "foucoco") | ||
|
|
||
|
|
||
| for runtime_name in "${runtimes[@]}"; do | ||
| cd $script_dir | ||
| cd ../runtime/$runtime_name/src/weights | ||
| weight_dir=`pwd` | ||
|
|
||
| cd $script_dir | ||
|
|
||
| if [ ! -d "$weight_dir" ]; then | ||
| echo "Directory $weight_dir does not exist for runtime $runtime_name!" | ||
| echo "Weights directory should exist and contain previously calculated weights" | ||
| continue | ||
| fi | ||
|
|
||
| echo "Processing runtime: $runtime_name" | ||
|
|
||
| for file in "$weight_dir"/*; do | ||
|
|
||
| filename=$(basename -- "$file") | ||
| filename_without_ext="${filename%.*}" | ||
|
|
||
|
|
||
| if [[ "$filename_without_ext" == "parachain_staking" ]]; then | ||
| echo "Skipping file: $filename_without_ext" | ||
| continue | ||
| fi | ||
|
|
||
| echo "Running benchmark for pallet: $filename_without_ext in runtime $runtime_name" | ||
|
|
||
| # Run the benchmark command for each file, ignore errors from files | ||
| # not corresponding to any pallets. | ||
| # Failed benchmarks will not be detected. | ||
| ../target/production/pendulum-node benchmark pallet \ | ||
| --chain $runtime_name \ | ||
| --wasm-execution=compiled \ | ||
| --pallet "$filename_without_ext" \ | ||
| --extrinsic "*" \ | ||
| --steps 50 \ | ||
| --repeat 20 \ | ||
| --output "../runtime/$runtime_name/src/weights/$filename" \ | ||
| --template "frame-weight-template.hbs" \ | ||
| || true | ||
|
|
||
| done | ||
| done |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.