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 chain to v1.0.0 #791

Merged
merged 100 commits into from
Dec 5, 2023
Merged
Show file tree
Hide file tree
Changes from 88 commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
944ed8b
Upgrade towards 1.0.0
simonsso Sep 15, 2023
4413826
Patched orml
simonsso Sep 19, 2023
2e3d299
Refactor BlockNumber to BlockNumberFor
simonsso Sep 20, 2023
97e6c9d
GenesisBuild DefaultNoBound
simonsso Sep 20, 2023
09fd602
Temporary remove uniques pallet
simonsso Sep 20, 2023
04b08fe
Pallet consensus new interface
simonsso Sep 20, 2023
c1ed159
Cleanup integration
simonsso Sep 20, 2023
5ac1d9e
Auto reformat
simonsso Sep 20, 2023
ea4c013
construct_runtime
simonsso Sep 21, 2023
2043a78
Index of a transaction in the chain.
simonsso Sep 25, 2023
742483a
Auto reformat
simonsso Sep 25, 2023
9c30273
CI: Allow warnings
simonsso Sep 25, 2023
db277c0
Remove index and blocknumber from grant and allocation tests
simonsso Sep 25, 2023
44efa73
Update Cargo.lock
simonsso Sep 25, 2023
bf66775
fix(nodle-parachain): use the Nonce type as newly defined in the crate
aliXsed Sep 26, 2023
3b17c54
Implement missing members
simonsso Sep 26, 2023
76cfaff
Auto fmt
simonsso Sep 26, 2023
5811fdf
Genesis build config for reserve pallet
simonsso Sep 26, 2023
1790f6a
Reseved pallet test case
simonsso Sep 26, 2023
eb9c565
Update test dependecies
simonsso Sep 26, 2023
1e00e49
WIP Where is Runtime?
simonsso Sep 29, 2023
d758414
fix(nodle-parachain): Fix issue of not finding public pallet identifi…
aliXsed Oct 1, 2023
d2e2756
Subrstrate rpc server: break legacy CLI options and remove "backward …
simonsso Oct 2, 2023
8a599de
Stub some important functions
simonsso Oct 2, 2023
3354e18
Ignore one benchmark in xcm_config
simonsso Oct 2, 2023
5e198f4
Import BuildStorage
simonsso Oct 2, 2023
3d46cc2
Build storage test case
simonsso Oct 3, 2023
91f94a9
Restore uniques pallet
simonsso Oct 11, 2023
75c24b4
Auto reformat
simonsso Oct 11, 2023
fc96f5d
Uniques test
simonsso Oct 13, 2023
55fcf52
Remove warnings and errors
simonsso Oct 16, 2023
0237738
Reintegrate uniques pallet and cleanup CLI
simonsso Oct 19, 2023
2f6dba6
Cleanup
simonsso Oct 19, 2023
68f6683
RuntimeGenesisConfig
simonsso Oct 19, 2023
4bd744b
Buildstorage
simonsso Oct 19, 2023
b8c4d0a
Collections are no longer Copy
simonsso Oct 19, 2023
f938e03
Try to add some migration
simonsso Oct 20, 2023
5a16cfc
Update migrations
simonsso Oct 23, 2023
7dd1f95
Add migrations for data without chaning storage
simonsso Oct 24, 2023
dacefac
Update runtimes/eden/src/lib.rs
simonsso Oct 24, 2023
9cab189
Null migration for all updated pallets.
simonsso Oct 25, 2023
d569f2f
Auto format
simonsso Oct 26, 2023
babffd2
Merge remote-tracking branch 'origin/master' into iso/20230914-upgrade
simonsso Oct 26, 2023
5baa9a3
Clippy warnings
simonsso Oct 26, 2023
05c5c64
Update after review
simonsso Oct 31, 2023
15ac860
CI save snapshot
simonsso Oct 31, 2023
cc9ff58
Use action 0.3.3
simonsso Oct 31, 2023
b54ec8f
GH actions
simonsso Oct 31, 2023
49cc7f0
chore: clean up and remove redundant clones
aliXsed Nov 3, 2023
41d63fb
feat(runtime-eden): add pallet_identity
aliXsed Nov 3, 2023
066994a
fix(runtime-eden): add missing pallet_identity weight file
aliXsed Nov 3, 2023
5efddd2
Add doc link.
simonsso Nov 6, 2023
f3d54da
More research on migrations
simonsso Nov 6, 2023
e2a227e
WIP
simonsso Nov 7, 2023
b9e76a0
Merge remote-tracking branch 'origin/master' into iso/20230914-upgrade
simonsso Nov 7, 2023
4d8e8e7
WIP xcm migration
simonsso Nov 7, 2023
8f00c53
XCM migration done
simonsso Nov 9, 2023
25592c9
Auto reformat
simonsso Nov 9, 2023
0d8b5e3
Update CI
simonsso Nov 14, 2023
92b6411
ci.yml --no-idempotency-checks
simonsso Nov 14, 2023
a2e6acb
WIP
simonsso Nov 16, 2023
12a761e
Fails on try-runtime build:
simonsso Nov 16, 2023
00208cc
Implement suggsetion from SO
simonsso Nov 16, 2023
469c8d0
Multistep migration
simonsso Nov 17, 2023
24b8041
Code cleanup
simonsso Nov 20, 2023
1d29149
Try new try-runtime action
simonsso Nov 21, 2023
8f4cd1b
Update ci.yml
simonsso Nov 21, 2023
12326c8
Update benchmark script
simonsso Nov 21, 2023
37c878b
Merge branch 'iso/stack10464' of github.com:NodleCode/chain into iso/…
simonsso Nov 21, 2023
cd1044f
Merge remote-tracking branch 'origin/master' into iso/stack10464
simonsso Nov 21, 2023
a6f2184
Update script
simonsso Nov 21, 2023
b1416a7
Ungenerated doc comments removed
simonsso Nov 21, 2023
9378f1e
Increment spec version
simonsso Nov 21, 2023
5b3b1a1
Code cleanup
simonsso Nov 22, 2023
b6352c2
All pallets in script
simonsso Nov 22, 2023
62240ba
Update benchmarks
simonsso Nov 22, 2023
d59a4d1
Auto format
simonsso Nov 22, 2023
5714468
fix broken benchmark integration
simonsso Nov 27, 2023
a880661
Update pallet_contract weights
simonsso Nov 27, 2023
7b35225
Remove dead code
simonsso Nov 27, 2023
fbac583
Benchmark frame_system
simonsso Nov 28, 2023
a5b754d
Benchmarks for pallet_scheduler
simonsso Nov 29, 2023
d0e71ce
Cargo update
simonsso Nov 29, 2023
e18df97
Use W
simonsso Nov 30, 2023
e350576
Remove 2 todo, Explainations added in source
simonsso Dec 1, 2023
3115366
Auto format
simonsso Dec 1, 2023
4115180
Investegation why it's ok to change StorageVersion
simonsso Dec 1, 2023
4845d02
Estemate weights
simonsso Dec 1, 2023
8f91a80
Code formating
simonsso Dec 1, 2023
eadbe4a
Todo cleanup
simonsso Dec 4, 2023
daeb52f
Auto reformat
simonsso Dec 4, 2023
adeec1a
no account aliasing for xcm
simonsso Dec 4, 2023
75a80d2
Added some tripwire tests
simonsso Dec 4, 2023
f503a1b
CI: latest try-runtime-action
simonsso Dec 5, 2023
3ea7920
Nonce in primitives
simonsso Dec 5, 2023
f3ef4cb
Remove Index as Nonce
simonsso Dec 5, 2023
4b66c2d
Auto format
simonsso Dec 5, 2023
f4215c3
Add more justifications Checked in source code of substrate
simonsso Dec 5, 2023
fda2fa3
Use unversioned polkadot_primitives::MAX_POV_SIZE
simonsso Dec 5, 2023
d234c39
Check versions in storage migration
simonsso Dec 5, 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
21 changes: 14 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ env:
try-runtime-uri: wss://eden-rpc.dwellir.com:443/
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
RUSTFLAGS: ""

jobs:
lints:
runs-on: ubuntu-latest-8-cores
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup sccache
uses: mozilla-actions/[email protected]
- uses: actions-rust-lang/setup-rust-toolchain@v1
Expand All @@ -41,7 +42,7 @@ jobs:
runs-on: ubuntu-latest-8-cores

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: ${{ env.toolchain }}
Expand All @@ -58,7 +59,7 @@ jobs:
runs-on: ubuntu-latest-4-cores

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: ${{ env.toolchain }}
Expand All @@ -82,7 +83,7 @@ jobs:
runs-on: ubuntu-latest-8-cores

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install protobuf-compiler
run: |
sudo apt-get install protobuf-compiler
Expand All @@ -96,7 +97,7 @@ jobs:
- name: Build runtime
run: cargo build --release --features=try-runtime -p runtime-eden
- name: Upload runtime artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: try_runtime
path: target/release/wbuild/runtime-eden/runtime_eden.wasm
Expand Down Expand Up @@ -134,9 +135,15 @@ jobs:
install -d snapshots
date > snapshots/created_at
- name: Run try-runtime
uses: NodleCode/action-try-runtime@v0.3.0
uses: NodleCode/action-try-runtime@dev
with:
url: ${{ env.try-runtime-uri}}${{ secrets.DWELLIR_API_KEY}}
snap: snapshots/eden-snapshot-full
runtime: try_runtime/runtime_eden.wasm
checks: all
checks: "all"
options: "--no-idempotency-checks"
- name: Upload snap artifact
uses: actions/upload-artifact@v3
with:
name: edensnap
path: snapshots/eden-snapshot-full
4 changes: 2 additions & 2 deletions .github/workflows/devcontainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:

- name: Check out the repo
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Login to GHCR
uses: docker/login-action@v2
Expand All @@ -27,4 +27,4 @@ jobs:
with:
imageName: ghcr.io/nodlecode/devcontainer-chain
cacheFrom: ghcr.io/nodlecode/devcontainer-chain
push: always
push: always
2 changes: 1 addition & 1 deletion .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
autodoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: rustup show
- name: Install protobuf-compiler
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:

- name: Check out the repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Docker meta
id: meta
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/srtool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runtime: ["eden"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Srtool build
id: srtool_build
uses: chevdor/[email protected]
Expand Down
Loading
Loading