Skip to content

Commit

Permalink
Upgrade chain to v1.0.0 (#791)
Browse files Browse the repository at this point in the history
* Upgrade towards 1.0.0
* Refactor BlockNumber to BlockNumberFor
   paritytech/polkadot#7431 
   paritytech/substrate#14437
* Refactor BlockNumber to BlockNumberFor
* GenesisBuild DefaultNoBound
* Pallet consensus new interface
    paritytech/cumulus#2782
    paritytech/cumulus#2801
* Cleanup integration
* Clean up benchmarks
* Clean up type depencies
* Auto reformat
* construct_runtime
* CI: Allow warnings
* Remove index and block-number from grant and allocation tests
* Implement missing members
* Genesis build config for reserve pallet
* Reserved pallet test case
* Update test dependencies
* fix(nodle-parachain): Fix issue of not finding public pallet identifiers plus the contract API required changes
* Subrstrate rpc server: break legacy CLI options and remove "backward compatible HTTP server" #13384
    paritytech/substrate#13384
* Ignore one benchmark in xcm_config
* Import BuildStorage
* Build storage test case
* Restore uniques pallet
* Auto reformat
* Uniques test
* Remove warnings and errors
* Reintegrate uniques pallet and cleanup CLI
* RuntimeGenesisConfig
* Collections are no longer Copy
* Add some migrations
* Clippy warnings
* Update after review
* CI save snapshot
* Use action 0.3.3
* GH actions
* chore: clean up and remove redundant clones
* feat(runtime-eden): add pallet_identity
* fix(runtime-eden): add missing pallet_identity weight file
* Add doc link.
* ci.yml --no-idempotency-checks
* Fails on try-runtime build:
* Multiblock migration
* Update benchmark script, all pallets in script
* Update benchmarks
* fix broken benchmark integration
* Update pallet_contract weights
* Remove dead code
* Benchmark frame_system
* Benchmarks for pallet_scheduler
* Cargo update
* Estimate weights
* Code formatting
* no account aliasing for xcm
* Added some tripwire tests
* Nonce in primitives
* Remove Index as Nonce
* Add more justifications Checked in source code of substrate
* Use unversioned polkadot_primitives::MAX_POV_SIZE
* Check versions in storage migration

---------

Co-authored-by: Alex Sedighi <alex@nodle.com>
  • Loading branch information
simonsso and aliXsed committed Dec 5, 2023
1 parent 77e6009 commit 1321e93
Show file tree
Hide file tree
Showing 63 changed files with 7,213 additions and 6,602 deletions.
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/sccache-action@v0.0.3
- 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@v0.5.1
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: "--disable-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/srtool-actions@v0.8.0
Expand Down
Loading

0 comments on commit 1321e93

Please sign in to comment.