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.1.0 #3814

Merged
merged 31 commits into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
56dc965
chore(gear-common): use scale codec from sp_runtime
ukint-vs Mar 16, 2024
45dbba4
chore: fix sp_runtime imports
ukint-vs Mar 16, 2024
93f7e95
chore: HashFor -> HashingFor
ukint-vs Mar 17, 2024
2d05d2a
rm StateBackend::Transaction
ukint-vs Mar 17, 2024
d41ce56
chore(vara): ElectionBounds
ukint-vs Mar 17, 2024
e510cb6
rm StateBackend x2
ukint-vs Mar 17, 2024
97e6dad
update node service
ukint-vs Mar 17, 2024
a89bf37
update runtime apis
ukint-vs Mar 17, 2024
f8d5b0d
update gear-replay-cli
ukint-vs Mar 17, 2024
b5a6350
update tests
ukint-vs Mar 17, 2024
c917943
fix runtime-fuzzer
ukint-vs Mar 17, 2024
36c2fbd
chore(staking-rewards): update mock
ukint-vs Mar 18, 2024
df5e190
Merge branch 'master' into vs/update-substrate-v1.1.0
ukint-vs Mar 18, 2024
67e9216
fix up everything
ukint-vs Mar 18, 2024
8e67b70
fmt
ukint-vs Mar 18, 2024
4de7354
remove try-runtime from gear-cli
ukint-vs Mar 20, 2024
5fd3629
unused import
ukint-vs Mar 20, 2024
724ad80
fmt
ukint-vs Mar 20, 2024
80045a2
change branch name
ukint-vs Mar 20, 2024
98cb157
use try-runtime-cli in CI
ukint-vs Mar 20, 2024
49baeb1
Update build.yml
ukint-vs Mar 20, 2024
9743932
update metadata
ukint-vs Mar 20, 2024
d919dd4
build with std
ukint-vs Mar 20, 2024
1753e35
fix(gear-messenger): migration pre_upgrade
ukint-vs Mar 25, 2024
f4a6912
fix import
ukint-vs Mar 25, 2024
502278a
Merge branch 'master' into vs/update-substrate-v1.1.0
ukint-vs Mar 25, 2024
4aa18e6
fix gear-program migration
ukint-vs Mar 25, 2024
3b79685
Merge branch 'master' into vs/update-substrate-v1.1.0
ukint-vs Mar 27, 2024
4686e96
revert rename of v2::DispatchStash
ukint-vs Mar 27, 2024
ba5a5f1
fix
ukint-vs Mar 27, 2024
6f39e1a
fmt
ukint-vs Mar 27, 2024
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
15 changes: 12 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,19 @@ jobs:

- name: "Test: Try runtime migrations"
run: |
cargo build -p gear-cli --features try-runtime --locked ${{ matrix.profile_flags }}
./target/${{ matrix.profile }}/gear try-runtime --runtime ./target/${{ matrix.profile }}/wbuild/vara-runtime/vara_runtime.wasm on-runtime-upgrade --checks live --uri ws://rpc-private.vara-network.io:9944
export RUST_LOG=remote-ext=debug,runtime=debug

echo "---------- Downloading try-runtime CLI ----------"
curl -sL https://github.com/paritytech/try-runtime-cli/releases/download/v0.5.4/try-runtime-x86_64-unknown-linux-musl -o try-runtime
chmod +x ./try-runtime

echo "---------- Building vara runtime ----------"
time cargo build -p vara-runtime -F std,try-runtime --locked ${{ matrix.profile_flags }}
echo "---------- Executing on-runtime-upgrade for Vara ----------"
time ./try-runtime --runtime ./target/${{ matrix.profile }}/wbuild/vara-runtime/vara_runtime.wasm on-runtime-upgrade --checks=all live --uri ws://rpc-private.vara-network.io:9944
sleep 5
env:
RUST_LOG: info
RUST_LOG: info,remote-ext=debug,runtime=debug

- name: "Build: Production binaries"
if: ${{ inputs.production && matrix.profile == 'release' }}
Expand Down
Loading
Loading