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

feat: update substrate to v1.0.0 #3608

Merged
merged 37 commits into from
Dec 28, 2023
Merged
Show file tree
Hide file tree
Changes from 32 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
85631b6
Use BlockNumberFor<T> instead of T::BlockNumber
ukint-vs Nov 28, 2023
3c83a27
Update frame_system::Config
ukint-vs Nov 28, 2023
aa8264b
Update runtime
ukint-vs Nov 28, 2023
da1be79
Update node
ukint-vs Dec 15, 2023
9031c1e
Update gear-replay-cli
ukint-vs Nov 29, 2023
c148859
Update gear-authorship test-env
ukint-vs Nov 30, 2023
80c622d
Update runtime mocks
ukint-vs Dec 1, 2023
66dab0f
Update staking-rewards
ukint-vs Dec 1, 2023
24dadc4
Update tests
ukint-vs Dec 1, 2023
1a933f8
update mocks
ukint-vs Dec 18, 2023
286480f
RuntimeApiImpl update
ukint-vs Dec 18, 2023
05a267d
Fix gear-authorship tests
ukint-vs Dec 19, 2023
a36ff05
use into_inner, extensions default in clone
ukint-vs Dec 19, 2023
43288a7
update pallet-gear tests
ukint-vs Dec 19, 2023
57d8094
fmt
ukint-vs Dec 19, 2023
38139b5
Update Cargo.lock
ukint-vs Dec 19, 2023
938438f
init sandbox in authorship tests
ukint-vs Dec 19, 2023
b630f95
copy call_context
ukint-vs Dec 19, 2023
74a37b4
rm comments
ukint-vs Dec 19, 2023
556eb4d
pallet-im-online migration
ukint-vs Dec 19, 2023
c8f5635
duplicate
ukint-vs Dec 19, 2023
e9ffb57
Update Cargo.lock
ukint-vs Dec 19, 2023
e4a8586
update wat tests
ukint-vs Dec 19, 2023
02b2326
rm --wasm-execution
ukint-vs Dec 19, 2023
43fb351
update gsdk metadata
ukint-vs Dec 20, 2023
90d6f08
rm native bench
ukint-vs Dec 20, 2023
984fd87
add migrations from v1030
ukint-vs Dec 20, 2023
eb9151c
benchmarks job 5 steps
ukint-vs Dec 20, 2023
9b8cdd2
Update weights
ukint-vs Dec 21, 2023
7607f38
bump schedule version
ukint-vs Dec 21, 2023
1ec8e33
resolve comments
ukint-vs Dec 21, 2023
8dc3616
update vara tests
ukint-vs Dec 21, 2023
7d045f0
rm force setting wasm execution for validator and checks
ukint-vs Dec 25, 2023
b971495
resolve comments
ukint-vs Dec 27, 2023
4cffd4c
fmt
ukint-vs Dec 27, 2023
9f93da2
Resolve comments
ukint-vs Dec 27, 2023
c69488c
fmt
ukint-vs Dec 27, 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
10 changes: 4 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,12 @@ jobs:
- name: "Test: Runtime benchmarks and benchmark tests work"
run: |
cargo build -p gear-cli --release --features=runtime-benchmarks,runtime-benchmarks-checkers
# check that perf benchmarks works. `--steps=20` need to test, that benchmarks works for different input number.
./target/release/gear benchmark pallet --chain=dev --pallet=pallet_gear --steps=20 --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096
# check that perf benchmarks works. `--steps=5` need to test, that benchmarks works for different input number.
./target/release/gear benchmark pallet --chain=dev --pallet=pallet_gear --steps=5 --extrinsic="*" --heap-pages=4096
# check that read_big_state benchmarks works
./target/release/gear benchmark pallet --chain=dev --pallet=pallet_gear --extrinsic="read_big_state" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --extra
./target/release/gear benchmark pallet --chain=dev --pallet=pallet_gear --extrinsic="read_big_state" --heap-pages=4096 --extra
# check that check/test benchmarks works
./target/release/gear benchmark pallet --chain=dev --pallet=pallet_gear --extrinsic="check_all" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --extra
# check also lazy-pages benchmarks tests for native runtime
./target/release/gear benchmark pallet --chain=dev --pallet=pallet_gear --extrinsic="check_lazy_pages_all" --execution=native --heap-pages=4096 --extra
./target/release/gear benchmark pallet --chain=dev --pallet=pallet_gear --extrinsic="check_all" --heap-pages=4096 --extra

- name: "Test: Sys-calls Wasmi integrity"
run: ./scripts/gear.sh test syscalls --release
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/test-measurements.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ jobs:
--repeat=20
--chain=dev
--extrinsic=*
--execution=wasm
--wasm-execution=compiled
--heap-pages=4096
--output ./target/weights.json
--template ./.maintain/regression-analysis-weight-template.hbs
Expand Down
Loading