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

Polkadot V1.6.0 #1310

Merged
merged 57 commits into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from 55 commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
6225a29
update to v1.6.0
ferrell-code Jan 30, 2024
f3994e6
update primitives
ferrell-code Jan 31, 2024
dba5130
bump a few pallets
ferrell-code Jan 31, 2024
403605e
compile more pallets
ferrell-code Jan 31, 2024
a7adb80
[no-ci] finish compiling pallets
ferrell-code Jan 31, 2024
bbe7334
[no ci] update calamari
ferrell-code Jan 31, 2024
a7ef2e0
calamari xcmp module configuration
ferrell-code Feb 2, 2024
86c9230
[no ci] compile calamari runtime
ferrell-code Feb 2, 2024
c8b68b2
[no ci] get lottery test to compile
ferrell-code Feb 2, 2024
e141110
[no ci] manta runtime update
ferrell-code Feb 2, 2024
5ca69b4
[no ci] update client
ferrell-code Feb 2, 2024
81917bd
[no ci] some client fixes and add rust toolchain info
ferrell-code Feb 3, 2024
e148335
[no ci] compile node, a bit broken still
ferrell-code Feb 13, 2024
2d0206c
[no ci] wip integration test fix
ferrell-code Feb 13, 2024
561fbb9
[no ci] fix integration test
ferrell-code Feb 15, 2024
f95946a
[no ci] update mocks to correctly process xcm
ferrell-code Feb 15, 2024
e370a57
[no ci] compile calamari integration test
ferrell-code Feb 16, 2024
49cee80
[no ci] runtime benchmarks fix
ferrell-code Feb 16, 2024
e0dd42d
[no ci] runtime benchmarks now compiles
ferrell-code Feb 16, 2024
0f3bc42
[no ci] Fix some warnings
ferrell-code Feb 16, 2024
5afd98d
fix some failed integration tests
ferrell-code Feb 18, 2024
9929ead
[no ci] fix more integration test
ferrell-code Feb 18, 2024
644e3f3
[no ci] fix tx pause unit tests
ferrell-code Feb 18, 2024
50acb9e
[no ci] fix tx pause tests
ferrell-code Feb 18, 2024
0f41be4
[no ci] fix some client issue
ferrell-code Feb 21, 2024
34b8cd9
[no ci] clean up chain specs
ferrell-code Feb 21, 2024
1479a3d
[no ci] try-runtime to work
ferrell-code Feb 21, 2024
de31046
[no ci] use nimbus consensus... uses deprecated function for now
ferrell-code Feb 22, 2024
7a30fff
[no ci] add concrete weight values
ferrell-code Mar 4, 2024
18b1c5a
update ci
ferrell-code Mar 4, 2024
9380318
[no ci]Add comments for async backing
Dengjianping Mar 15, 2024
214b92b
merge in manta
ferrell-code Apr 1, 2024
9d92e45
[no ci] compile with moonkit
ferrell-code Apr 2, 2024
d4b97ab
[no ci] fix block import issue, now panics on execution
ferrell-code Apr 5, 2024
ecbf318
Use forked moonkit
Dengjianping Apr 8, 2024
0f245cd
[no ci] dont implement vrf, cleanup client code
ferrell-code Apr 8, 2024
5de032a
[no ci] remove compilation warnings
ferrell-code Apr 8, 2024
63d95c7
[no ci] update runtimes
ferrell-code Apr 8, 2024
0a73df3
add logic to disallow blocks on consecutive relay slots
ferrell-code Apr 9, 2024
ee01e3e
use clippy
ferrell-code Apr 9, 2024
a1e007f
get tests to compile
ferrell-code Apr 9, 2024
2fd5d43
[no ci] bump workflows
ferrell-code Apr 9, 2024
b6a357c
fix all clippy lints and fix failing tests
ferrell-code Apr 9, 2024
6c03b13
Fix benchmarking for frame-system
Dengjianping Apr 14, 2024
c912ced
fix compilation
ferrell-code Apr 14, 2024
847a8ed
fix runtime-bench compilation
ferrell-code Apr 14, 2024
52cbf8e
remove sudo migration and update vesting pallet Cargo.toml
ferrell-code Apr 15, 2024
dda1d90
Fix benchmarking for vesting
Dengjianping Apr 16, 2024
64e17d3
add dev mode
ferrell-code Apr 16, 2024
e87bd91
fix manta integration tests
ferrell-code Apr 16, 2024
258c84e
Fix aura block importing
Dengjianping Apr 18, 2024
05f0876
fix block import to use delayed best block
ferrell-code Apr 18, 2024
cf2559d
fix benchmarking
ferrell-code Apr 18, 2024
d6effc3
fix benchmark
ferrell-code Apr 19, 2024
f16625d
update treasury in manta to spend via root
ferrell-code Apr 19, 2024
b28287b
keep serde feature gated
ferrell-code Apr 23, 2024
18e79c8
revert serde change
ferrell-code Apr 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/resources/frame-weight-template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(double_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/benchmark_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ jobs:
protoc --version
curl -s https://sh.rustup.rs -sSf | sh -s -- -y
source ${HOME}/.cargo/env
rustup toolchain install 1.71.0
rustup default 1.71.0
rustup toolchain install 1.74.0
rustup default 1.74.0
rustup target add wasm32-unknown-unknown
- name: cache cargo
uses: Swatinem/rust-cache@v2
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/check_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ jobs:
curl -s https://sh.rustup.rs -sSf | sh -s -- -y
source ${HOME}/.cargo/env
rustup update
rustup toolchain install 1.71.0
rustup default 1.71.0
rustup toolchain install 1.74.0
rustup default 1.74.0
rustup target add wasm32-unknown-unknown
- name: cache cargo
uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -93,8 +93,8 @@ jobs:
curl -s https://sh.rustup.rs -sSf | sh -s -- -y
source ${HOME}/.cargo/env
rustup update
rustup toolchain install 1.71.0
rustup default 1.71.0
rustup toolchain install 1.74.0
rustup default 1.74.0
rustup target add wasm32-unknown-unknown
echo "$HOME/.local/bin" >> $GITHUB_PATH
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration_test_calamari.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ jobs:
protoc --version
curl -s https://sh.rustup.rs -sSf | sh -s -- -y
source ${HOME}/.cargo/env
rustup toolchain install 1.71.0
rustup default 1.71.0
rustup toolchain install 1.74.0
rustup default 1.74.0
rustup target add wasm32-unknown-unknown
- name: cache cargo
uses: Swatinem/rust-cache@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration_test_manta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ jobs:
protoc --version
curl -s https://sh.rustup.rs -sSf | sh -s -- -y
source ${HOME}/.cargo/env
rustup toolchain install 1.71.0
rustup default 1.71.0
rustup toolchain install 1.74.0
rustup default 1.74.0
rustup target add wasm32-unknown-unknown
- name: cache cargo
uses: Swatinem/rust-cache@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/metadata_diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ jobs:
protoc --version
curl -s https://sh.rustup.rs -sSf | sh -s -- -y
source ${HOME}/.cargo/env
rustup toolchain install 1.71.0
rustup default 1.71.0
rustup toolchain install 1.74.0
rustup default 1.74.0
rustup target add wasm32-unknown-unknown
- name: cache cargo
uses: Swatinem/rust-cache@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish_draft_releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ jobs:
rustup default stable
rustup update
rustup target add wasm32-unknown-unknown
rustup install 1.71.0
rustup target add wasm32-unknown-unknown --toolchain 1.71.0
rustup install 1.74.0
rustup target add wasm32-unknown-unknown --toolchain 1.74.0
- name: cache cargo
uses: Swatinem/rust-cache@v2
- name: build
Expand All @@ -127,7 +127,7 @@ jobs:
SCCACHE_DIR: ~/.cache/sccache
run: |
source ${HOME}/.cargo/env
RUSTC_BOOTSTRAP=1 cargo +1.71.0 build --profile production --verbose
RUSTC_BOOTSTRAP=1 cargo +1.74.0 build --profile production --verbose
- name: stop sccache server
run: sccache --stop-server || true
- if: always()
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run_all_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ jobs:
protoc --version
curl -s https://sh.rustup.rs -sSf | sh -s -- -y
source ${HOME}/.cargo/env
rustup toolchain install 1.71.0
rustup default 1.71.0
rustup toolchain install 1.74.0
rustup default 1.74.0
rustup target add wasm32-unknown-unknown
- name: cache cargo
uses: Swatinem/rust-cache@v2
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/run_linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ jobs:
protoc --version
curl -s https://sh.rustup.rs -sSf | sh -s -- -y
source ${HOME}/.cargo/env
rustup toolchain install 1.71.0
rustup default 1.71.0
rustup toolchain install 1.74.0
rustup default 1.74.0
cargo install taplo-cli --locked
- name: cache cargo
uses: Swatinem/rust-cache@v2
Expand All @@ -77,9 +77,10 @@ jobs:
SCCACHE_CACHE_SIZE: 2G
SCCACHE_DIR: ~/.cache/sccache
shell: bash
# It's pointless to use no-default features.
run: |
source ${HOME}/.cargo/env
SKIP_WASM_BUILD=1 cargo check --no-default-features
SKIP_WASM_BUILD=1 cargo check --all-targets --all-features
SKIP_WASM_BUILD=1 cargo clippy --all-targets --all-features -- -D warnings
- name: stop sccache server
run: sccache --stop-server || true
4 changes: 2 additions & 2 deletions .github/workflows/try-runtime-mainnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ jobs:
protoc --version
curl -s https://sh.rustup.rs -sSf | sh -s -- -y
source ${HOME}/.cargo/env
rustup toolchain install 1.71.0
rustup default 1.71.0
rustup toolchain install 1.74.0
rustup default 1.74.0
rustup target add wasm32-unknown-unknown
- name: cache cargo
uses: Swatinem/rust-cache@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ jobs:
curl -s https://sh.rustup.rs -sSf | sh -s -- -y
source ${HOME}/.cargo/env
rustup update
rustup toolchain install 1.71.0
rustup default 1.71.0
rustup toolchain install 1.74.0
rustup default 1.74.0
rustup target add wasm32-unknown-unknown
- name: cache cargo
uses: Swatinem/rust-cache@v2
Expand Down