Skip to content

Commit

Permalink
v8: generate bundles for the Wallaby testnet. (#851)
Browse files Browse the repository at this point in the history
* v8: add bundles for the Wallaby testnet.

* v8: teach GitHub that wallaby exists.
  • Loading branch information
raulk authored Nov 17, 2022
1 parent d5b4529 commit 1e0727d
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
CACHE_SKIP_SAVE: ${{ matrix.push == '' || matrix.push == 'false' }}
strategy:
matrix:
network: [ 'mainnet', 'caterpillarnet', 'butterflynet', 'calibrationnet', 'devnet', 'testing', 'testing-fake-proofs' ]
network: [ 'mainnet', 'caterpillarnet', 'butterflynet', 'wallaby', 'calibrationnet', 'devnet', 'testing', 'testing-fake-proofs' ]
steps:
- name: Checking out
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
CACHE_SKIP_SAVE: ${{ matrix.push == '' || matrix.push == 'false' }}
strategy:
matrix:
network: [ 'mainnet', 'caterpillarnet', 'butterflynet', 'calibrationnet', 'devnet', 'testing', 'testing-fake-proofs' ]
network: [ 'mainnet', 'caterpillarnet', 'butterflynet', 'wallaby', 'calibrationnet', 'devnet', 'testing', 'testing-fake-proofs' ]
steps:
- name: Checking out
uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ default = [] ## translates to mainnet
mainnet = []
caterpillarnet = []
butterflynet = []
wallaby = []
calibrationnet = []
devnet = []
testing = []
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,17 @@ bundle: deps-build
cargo run -- -o output/builtin-actors.car

# Create all canonical network bundles
all-bundles: bundle-mainnet bundle-caterpillarnet bundle-butterflynet bundle-calibrationnet bundle-devnet bundle-testing bundle-testing
all-bundles: bundle-mainnet bundle-caterpillarnet bundle-butterflynet bundle-wallaby bundle-calibrationnet bundle-devnet bundle-testing bundle-testing

bundle-mainnet: deps-build
BUILD_FIL_NETWORK=mainnet cargo run -- -o output/builtin-actors-mainnet.car

bundle-caterpillarnet: deps-build
BUILD_FIL_NETWORK=caterpillarnet cargo run -- -o output/builtin-actors-caterpillarnet.car

bundle-wallaby: deps-build
BUILD_FIL_NETWORK=wallaby cargo run -- -o output/builtin-actors-wallaby.car

bundle-butterflynet: deps-build
BUILD_FIL_NETWORK=butterflynet cargo run -- -o output/builtin-actors-butterflynet.car

Expand Down
2 changes: 2 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ fn network_name() -> String {
Some("caterpillarnet")
} else if cfg!(feature = "butterflynet") {
Some("butterflynet")
} else if cfg!(feature = "wallaby") {
Some("wallaby")
} else if cfg!(feature = "calibrationnet") {
Some("calibrationnet")
} else if cfg!(feature = "devnet") {
Expand Down
1 change: 1 addition & 0 deletions runtime/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ static NETWORKS: &[(&str, &[&str])] = &[
],
),
("butterflynet", &["sector-512m", "sector-32g", "sector-64g", "min-power-2g"]),
("wallaby", &["sector-512m", "sector-32g", "sector-64g", "min-power-16g", "short-precommit"]),
("calibrationnet", &["sector-32g", "sector-64g", "min-power-32g"]),
("devnet", &["sector-2k", "sector-8m", "small-deals", "short-precommit", "min-power-2k"]),
(
Expand Down

0 comments on commit 1e0727d

Please sign in to comment.