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

Add bifrost #2199

Merged
merged 2 commits into from
Jun 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,10 @@ yarn
# generate docker-compose.yml and genesis
# NOTE: If the docker image is not the latest, need to download it manually.
# e.g.: docker pull acala/karura-node:latest
yarn run start generate
# karura testnet:
yarn start generate
# karura-bifrost testnet:
yarn start generate --config=karura-bifrost.yml

# start relaychain and parachain
cd output
Expand Down
4 changes: 2 additions & 2 deletions launch/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
relaychain:
image: parity/polkadot:v0.9.18
image: parity/polkadot:v0.9.22
chain: rococo-local
runtimeGenesisConfig:
configuration:
Expand All @@ -18,7 +18,7 @@ relaychain:
- name: charlie

parachains:
- image: acala/karura-node:2.5.0
- image: acala/karura-node:2.7.0
chain:
base: karura-dev
collators:
Expand Down
72 changes: 72 additions & 0 deletions launch/karura-bifrost.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
relaychain:
image: parity/polkadot:v0.9.22
chain: rococo-local
runtimeGenesisConfig:
configuration:
config:
validation_upgrade_cooldown: 10
validation_upgrade_delay: 10
env:
RUST_LOG: parachain::candidate-backing=trace,parachain::candidate-selection=trace,parachain::pvf=trace,parachain::collator-protocol=trace,parachain::provisioner=trace
flags:
- --rpc-methods=unsafe
- --wasm-execution=compiled
- --execution=wasm
nodes:
- name: alice
- name: bob
- name: charlie

parachains:
- image: acala/karura-node:2.7.0
chain:
base: karura-dev
collators:
- alice
- bob
- charlie
sudo: alice
id: 2000
parachain: true
flags:
- --rpc-methods=unsafe
- --force-authoring
- --wasm-execution=compiled
- --execution=wasm
relaychainFlags:
- --wasm-execution=compiled
- --execution=wasm
env:
RUST_LOG: sc_basic_authorship=trace,cumulus-consensus=trace,cumulus-collator=trace,collator_protocol=trace,collation_generation=trace,aura=debug
volumePath: /acala/data
nodes:
- flags:
- --alice
- flags:
- --bob
- flags:
- --charlie
- image: bifrostnetwork/bifrost:bifrost-v0.9.44
chain:
base: bifrost-local
sudo: alice
id: 3000
parachain: true
flags:
- --rpc-methods=unsafe
- --force-authoring
- --wasm-execution=compiled
- --execution=wasm
relaychainFlags:
- --wasm-execution=compiled
- --execution=wasm
env:
RUST_LOG: sc_basic_authorship=trace,cumulus-consensus=trace,cumulus-collator=trace,collator_protocol=trace,collation_generation=trace,aura=debug
volumePath: /data
nodes:
- flags:
- --alice
- flags:
- --bob
- flags:
- --charlie
2 changes: 1 addition & 1 deletion launch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"start": "node_modules/@open-web3/parachain-launch/bin/parachain-launch"
},
"dependencies": {
"@open-web3/parachain-launch": "^1.0.6"
"@open-web3/parachain-launch": "^1.2.1"
}
}
Loading