Skip to content

Commit ced3370

Browse files
authored
Mainnet genesis (#33)
* Refactoring to accomodate for multiple runtimes * Refactoring to reduce duplication across runtimes * Fix benchmarks compilation * Fixup * Fix warnings * Machete * Format toml * Add Mainnet runtime to the CI * Fix syntax error on CI * Update deps * Update deps * Adjust configurations * Fix benchmarks scripts * Fix ticker * Add mainnet zombienet config * More refactoring to runtime-common * Revert tracing-subscriber to fix UI * Mainnet genesis config * Update chain specs * Remove duplicate env_var passthrough * Fix feature propagation * Fix zkVerify mainnet genesis hash * Bump node version to 1.0.0 Also use zkVerify node version 1.0.0 as a dependency * Update the mainnet chain-spec to the final version
1 parent ba4f686 commit ced3370

File tree

124 files changed

+10280
-1232
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

124 files changed

+10280
-1232
lines changed

.github/workflows/CI-test-bench.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,28 @@ jobs:
1212
- name: Checkout code
1313
uses: actions/checkout@v4
1414

15-
- name: zkv build with runtime-benchmarks
15+
- name: VFlow build with runtime-benchmarks
1616
uses: ./.github/actions/cmd-in-docker
1717
with:
1818
command: "cargo build -p vflow-node --release --features runtime-benchmarks"
1919
use_cache: 'yes'
2020
cache_key: 'build-runtime-benchmarks'
2121
lld_install: 'yes'
2222

23-
- name: Run benchmarks
23+
- name: Run benchmarks Volta
2424
uses: ./.github/actions/cmd-in-docker
2525
with:
26-
command: './target/release/vflow-node benchmark pallet --pallet "*" --extrinsic "*" -s 2 -r 1'
26+
command: >-
27+
./target/release/vflow-node benchmark pallet \
28+
--runtime ./target/release/wbuild/vflow-volta-runtime/vflow_volta_runtime.compact.compressed.wasm --genesis-builder=runtime \
29+
--pallet "*" --extrinsic "*" -s 2 -r 1
30+
use_cache: 'no'
31+
32+
- name: Run benchmarks Mainnet
33+
uses: ./.github/actions/cmd-in-docker
34+
with:
35+
command: >-
36+
./target/release/vflow-node benchmark pallet \
37+
--runtime ./target/release/wbuild/vflow-mainnet-runtime/vflow_mainnet_runtime.compact.compressed.wasm --genesis-builder=runtime \
38+
--pallet "*" --extrinsic "*" -s 2 -r 1
2739
use_cache: 'no'

.github/workflows/CI-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Cargo unit test runtime without features
2727
uses: ./.github/actions/cmd-in-docker
2828
with:
29-
command: "cargo test --lib -p vflow-runtime --no-fail-fast --release 2>&1 | tee -a unit_test_output.txt"
29+
command: "cargo test --lib -p vflow-volta-runtime -p vflow-mainnet-runtime --no-fail-fast --release 2>&1 | tee -a unit_test_output.txt"
3030
use_cache: 'yes'
3131
cache_key: 'unit-test'
3232
lld_install: 'yes'

0 commit comments

Comments
 (0)