forked from open-web3-stack/parachain-launch
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #85 from peaqnetwork/feat/1207284003387464_update_…
…to_token_economy_v1 Update to token economy v1
- Loading branch information
Showing
9 changed files
with
363 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
# Relaychain Configuration | ||
relaychain: | ||
image: parity/polkadot:v1.0.0 # the docker image to use | ||
chain: rococo-local # the chain to use | ||
runtimeGenesisConfig: # additonal genesis override | ||
configuration: | ||
config: | ||
validation_upgrade_cooldown: 10 | ||
validation_upgrade_delay: 10 | ||
hrmp: | ||
preopenHrmpChannels: | ||
- sender: 3000 | ||
recipient: 2241 | ||
maxCapacity: 8 | ||
maxMessageSize: 102400 | ||
- sender: 2241 | ||
recipient: 3000 | ||
maxCapacity: 8 | ||
maxMessageSize: 102400 | ||
env: # environment variables for all relaychain nodes | ||
RUST_LOG: parachain::candidate-backing=trace,xcm=trace | ||
flags: # additional CLI flags for all relaychain nodes | ||
- --rpc-methods=unsafe | ||
nodes: # nodes config | ||
- name: alice # the node name and session key, this imply `--alice` | ||
wsPort: 9944 # default ws port number is `9944 + global_node_index` | ||
rpcPort: 9933 # default rpc port number is `9933 + global_node_index` | ||
port: 30333 # default libp2p port number is `30333 + global_node_index` | ||
flags: # additional CLI flags for this node | ||
- --force-authoring | ||
- name: bob | ||
- name: charlie | ||
|
||
# Parachain Configuration | ||
parachains: | ||
# Config for first parachain | ||
- image: peaq/parachain:krest-v0.0.6 | ||
chain: # this could be a string like `dev` or a config object | ||
base: krest-local # the chain to use | ||
chainType: Development | ||
collators: # override collators | ||
# - dave # this imply //Alice | ||
- ferdie | ||
sudo: alice # override sudo key to //Alice | ||
runtimeGenesisConfig: # additonal genesis override | ||
balances: | ||
balances: | ||
- [5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY, 1000000000000000000000] | ||
- [5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty, 1000000000000000000000] | ||
- [5FLSigC9HGRKVhB9FiEo4Y3koPsNmBmLJbpXg2mp1hXcS59Y, 1000000000000000000000] | ||
- [5DAAnrj7VHTznn2AWBemMuyBwZWs6FNFjdyVXUeYum3PTXFy, 1000000000000000000000] | ||
- [5HGjWAeFDfFCWPsjFQdVV2Msvz2XtMktvgocEZcCj68kUMaw, 1000000000000000000000] | ||
- [5CiPPseXPECbkjWCa6MnjNokrgYjMqmKndv2rSnekmSK2DjL, 1000000000000000000000] | ||
id: 2241 # override parachain id | ||
parachain: true # this is parachain, not parathread | ||
flags: # CLI flags for this parachain nodes | ||
- --rpc-methods=unsafe | ||
# - --force-authoring | ||
- --execution=wasm | ||
- --state-pruning=archive | ||
relaychainFlags: # CLI flags for the relaychain port | ||
- --execution=wasm | ||
env: # environment variables for this parachain nodes | ||
RUST_LOG: sc_basic_authorship=trace | ||
volumePath: /chain-data # The path to mount volume and base path, default to /data | ||
nodes: # nodes config | ||
- wsPort: 10044 | ||
rpcPort: 10033 | ||
port: 40336 | ||
flags: # additional CLI flags for this node | ||
- --ferdie | ||
# - wsPort: 10045 | ||
# rpcPort: 10034 | ||
# port: 40337 | ||
# flags: | ||
# - --dave | ||
- image: acala/acala-node:2.21.0 | ||
chain: | ||
base: acala-local | ||
collators: | ||
- bob | ||
sudo: alice | ||
runtimeGenesisConfig: # additonal genesis override | ||
balances: | ||
balances: | ||
- [5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY, 1000000000000000000000] | ||
- [5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty, 1000000000000000000000] | ||
- [5FLSigC9HGRKVhB9FiEo4Y3koPsNmBmLJbpXg2mp1hXcS59Y, 1000000000000000000000] | ||
- [5DAAnrj7VHTznn2AWBemMuyBwZWs6FNFjdyVXUeYum3PTXFy, 1000000000000000000000] | ||
- [5HGjWAeFDfFCWPsjFQdVV2Msvz2XtMktvgocEZcCj68kUMaw, 1000000000000000000000] | ||
- [5CiPPseXPECbkjWCa6MnjNokrgYjMqmKndv2rSnekmSK2DjL, 1000000000000000000000] | ||
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,xcm=trace | ||
# Acala's path should be under the acala/data | ||
volumePath: /acala/data | ||
nodes: # nodes config | ||
- name: bob # the node name and session key, this imply `--alice` | ||
wsPort: 10144 # default ws port number is `9944 + global_node_index` | ||
rpcPort: 10133 # default rpc port number is `9933 + global_node_index` | ||
port: 30533 # default libp2p port number is `30333 + global_node_index` | ||
flags: | ||
- --bob | ||
relaychainFlags: # additional CLI flags for relaychain part |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
# Relaychain Configuration | ||
relaychain: | ||
image: parity/polkadot:v1.0.0 # the docker image to use | ||
chain: rococo-local # the chain to use | ||
runtimeGenesisConfig: # additonal genesis override | ||
configuration: | ||
config: | ||
validation_upgrade_cooldown: 10 | ||
validation_upgrade_delay: 10 | ||
hrmp: | ||
preopenHrmpChannels: | ||
- sender: 3000 | ||
recipient: 2241 | ||
maxCapacity: 8 | ||
maxMessageSize: 102400 | ||
- sender: 2241 | ||
recipient: 3000 | ||
maxCapacity: 8 | ||
maxMessageSize: 102400 | ||
env: # environment variables for all relaychain nodes | ||
RUST_LOG: parachain::candidate-backing=trace,xcm=trace | ||
flags: # additional CLI flags for all relaychain nodes | ||
- --rpc-methods=unsafe | ||
nodes: # nodes config | ||
- name: alice # the node name and session key, this imply `--alice` | ||
wsPort: 9944 # default ws port number is `9944 + global_node_index` | ||
rpcPort: 9933 # default rpc port number is `9933 + global_node_index` | ||
port: 30333 # default libp2p port number is `30333 + global_node_index` | ||
flags: # additional CLI flags for this node | ||
- --force-authoring | ||
- name: bob | ||
- name: charlie | ||
|
||
# Parachain Configuration | ||
parachains: | ||
# Config for first parachain | ||
- image: peaq/parachain:krest-v0.0.7 | ||
chain: # this could be a string like `dev` or a config object | ||
base: krest-local # the chain to use | ||
chainType: Development | ||
collators: # override collators | ||
# - dave # this imply //Alice | ||
- ferdie | ||
sudo: alice # override sudo key to //Alice | ||
runtimeGenesisConfig: # additonal genesis override | ||
balances: | ||
balances: | ||
- [5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY, 1000000000000000000000] | ||
- [5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty, 1000000000000000000000] | ||
- [5FLSigC9HGRKVhB9FiEo4Y3koPsNmBmLJbpXg2mp1hXcS59Y, 1000000000000000000000] | ||
- [5DAAnrj7VHTznn2AWBemMuyBwZWs6FNFjdyVXUeYum3PTXFy, 1000000000000000000000] | ||
- [5HGjWAeFDfFCWPsjFQdVV2Msvz2XtMktvgocEZcCj68kUMaw, 1000000000000000000000] | ||
- [5CiPPseXPECbkjWCa6MnjNokrgYjMqmKndv2rSnekmSK2DjL, 1000000000000000000000] | ||
id: 2241 # override parachain id | ||
parachain: true # this is parachain, not parathread | ||
flags: # CLI flags for this parachain nodes | ||
- --rpc-methods=unsafe | ||
# - --force-authoring | ||
- --execution=wasm | ||
- --state-pruning=archive | ||
relaychainFlags: # CLI flags for the relaychain port | ||
- --execution=wasm | ||
env: # environment variables for this parachain nodes | ||
RUST_LOG: sc_basic_authorship=trace | ||
volumePath: /chain-data # The path to mount volume and base path, default to /data | ||
nodes: # nodes config | ||
- wsPort: 10044 | ||
rpcPort: 10033 | ||
port: 40336 | ||
flags: # additional CLI flags for this node | ||
- --ferdie | ||
# - wsPort: 10045 | ||
# rpcPort: 10034 | ||
# port: 40337 | ||
# flags: | ||
# - --dave | ||
- image: acala/acala-node:2.21.0 | ||
chain: | ||
base: acala-local | ||
collators: | ||
- bob | ||
sudo: alice | ||
runtimeGenesisConfig: # additonal genesis override | ||
balances: | ||
balances: | ||
- [5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY, 1000000000000000000000] | ||
- [5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty, 1000000000000000000000] | ||
- [5FLSigC9HGRKVhB9FiEo4Y3koPsNmBmLJbpXg2mp1hXcS59Y, 1000000000000000000000] | ||
- [5DAAnrj7VHTznn2AWBemMuyBwZWs6FNFjdyVXUeYum3PTXFy, 1000000000000000000000] | ||
- [5HGjWAeFDfFCWPsjFQdVV2Msvz2XtMktvgocEZcCj68kUMaw, 1000000000000000000000] | ||
- [5CiPPseXPECbkjWCa6MnjNokrgYjMqmKndv2rSnekmSK2DjL, 1000000000000000000000] | ||
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,xcm=trace | ||
# Acala's path should be under the acala/data | ||
volumePath: /acala/data | ||
nodes: # nodes config | ||
- name: bob # the node name and session key, this imply `--alice` | ||
wsPort: 10144 # default ws port number is `9944 + global_node_index` | ||
rpcPort: 10133 # default rpc port number is `9933 + global_node_index` | ||
port: 30533 # default libp2p port number is `30333 + global_node_index` | ||
flags: | ||
- --bob | ||
relaychainFlags: # additional CLI flags for relaychain part |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
# Relaychain Configuration | ||
relaychain: | ||
image: parity/polkadot:v1.1.0 # the docker image to use | ||
chain: rococo-local # the chain to use | ||
runtimeGenesisConfig: # additonal genesis override | ||
configuration: | ||
config: | ||
validation_upgrade_cooldown: 10 | ||
validation_upgrade_delay: 10 | ||
hrmp: | ||
preopenHrmpChannels: | ||
- sender: 3000 | ||
recipient: 2000 | ||
maxCapacity: 8 | ||
maxMessageSize: 102400 | ||
- sender: 2000 | ||
recipient: 3000 | ||
maxCapacity: 8 | ||
maxMessageSize: 102400 | ||
env: # environment variables for all relaychain nodes | ||
RUST_LOG: parachain::candidate-backing=trace | ||
flags: # additional CLI flags for all relaychain nodes | ||
- --rpc-methods=unsafe | ||
nodes: # nodes config | ||
- name: alice # the node name and session key, this imply `--alice` | ||
wsPort: 9944 # default ws port number is `9944 + global_node_index` | ||
rpcPort: 9933 # default rpc port number is `9933 + global_node_index` | ||
port: 30333 # default libp2p port number is `30333 + global_node_index` | ||
flags: # additional CLI flags for this node | ||
- --force-authoring | ||
- name: bob | ||
- name: charlie | ||
|
||
# Parachain Configuration | ||
parachains: | ||
# Config for first parachain | ||
- image: peaq/parachain:peaq-dev-v0.0.16 | ||
chain: # this could be a string like `dev` or a config object | ||
base: dev-local # the chain to use | ||
chainType: Development | ||
collators: # override collators | ||
- ferdie | ||
# - dave | ||
sudo: alice # override sudo key to //Alice | ||
runtimeGenesisConfig: # additonal genesis override | ||
balances: | ||
balances: | ||
- [5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY, 1000000000000000000000] | ||
- [5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty, 1000000000000000000000] | ||
- [5FLSigC9HGRKVhB9FiEo4Y3koPsNmBmLJbpXg2mp1hXcS59Y, 1000000000000000000000] | ||
- [5DAAnrj7VHTznn2AWBemMuyBwZWs6FNFjdyVXUeYum3PTXFy, 1000000000000000000000] | ||
- [5HGjWAeFDfFCWPsjFQdVV2Msvz2XtMktvgocEZcCj68kUMaw, 1000000000000000000000] | ||
- [5CiPPseXPECbkjWCa6MnjNokrgYjMqmKndv2rSnekmSK2DjL, 1000000000000000000000] | ||
id: 2000 # override parachain id | ||
parachain: true # this is parachain, not parathread | ||
flags: # CLI flags for this parachain nodes | ||
- --rpc-methods=unsafe | ||
# - --force-authoring | ||
- --execution=wasm | ||
- --state-pruning=archive | ||
relaychainFlags: # CLI flags for the relaychain port | ||
- --execution=wasm | ||
env: # environment variables for this parachain nodes | ||
RUST_LOG: sc_basic_authorship=trace,xcm=trace | ||
volumePath: /chain-data # The path to mount volume and base path, default to /data | ||
nodes: # nodes config | ||
- wsPort: 10044 | ||
rpcPort: 10033 | ||
port: 40336 | ||
flags: # additional CLI flags for this node | ||
- --ferdie | ||
# - wsPort: 10045 | ||
# rpcPort: 10034 | ||
# port: 40337 | ||
# flags: | ||
# - --dave | ||
- image: acala/acala-node:2.21.0 | ||
chain: | ||
base: acala-local | ||
collators: | ||
- bob | ||
sudo: alice | ||
runtimeGenesisConfig: # additonal genesis override | ||
balances: | ||
balances: | ||
- [5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY, 1000000000000000000000] | ||
- [5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty, 1000000000000000000000] | ||
- [5FLSigC9HGRKVhB9FiEo4Y3koPsNmBmLJbpXg2mp1hXcS59Y, 1000000000000000000000] | ||
- [5DAAnrj7VHTznn2AWBemMuyBwZWs6FNFjdyVXUeYum3PTXFy, 1000000000000000000000] | ||
- [5HGjWAeFDfFCWPsjFQdVV2Msvz2XtMktvgocEZcCj68kUMaw, 1000000000000000000000] | ||
- [5CiPPseXPECbkjWCa6MnjNokrgYjMqmKndv2rSnekmSK2DjL, 1000000000000000000000] | ||
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,xcm=trace | ||
# Acala's path should be under the acala/data | ||
volumePath: /acala/data | ||
nodes: # nodes config | ||
- name: bob # the node name and session key, this imply `--alice` | ||
wsPort: 10144 # default ws port number is `9944 + global_node_index` | ||
rpcPort: 10133 # default rpc port number is `9933 + global_node_index` | ||
port: 30533 # default libp2p port number is `30333 + global_node_index` | ||
flags: | ||
- --bob | ||
relaychainFlags: # additional CLI flags for relaychain part |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
FORKED_CONFIG_FILE="scripts/config.parachain.peaq-dev.forked.v0.0.11.yml" \ | ||
FORKED_CONFIG_FILE="scripts/config.parachain.peaq-dev.forked.v0.0.16.yml" \ | ||
RPC_ENDPOINT="https://rpcpc1-qa.agung.peaq.network" \ | ||
DOCKER_COMPOSE_FOLDER="yoyo" \ | ||
FORK_FOLDER="/home/jaypan/Work/peaq/fork-test/fork-binary/peaq-dev-v0.0.11" \ | ||
FORK_FOLDER="/home/jaypan/Work/peaq/fork-test/fork-binary/peaq-dev-v0.0.16" \ | ||
KEEP_COLLATOR="false" \ | ||
KEEP_ASSET="true" \ | ||
KEEP_PARACHAIN="true" \ | ||
KEEP_PARACHAIN="false" \ | ||
sh -e -x forked.generated.sh |
Oops, something went wrong.