diff --git a/mainnet_v1/docker-compose.yml b/mainnet_v1/docker-compose.yml index 9ad1fa7..5d42204 100644 --- a/mainnet_v1/docker-compose.yml +++ b/mainnet_v1/docker-compose.yml @@ -4,7 +4,7 @@ version: '3.9' services: gw-readonly: container_name: gw-mainnet_v1-readonly - image: ghcr.io/godwokenrises/godwoken-prebuilds:1.7.0-poly.1.4.5 + image: ghcr.io/godwokenrises/godwoken-prebuilds:1.7.1-poly1.5.0 expose: [8119, 8219] healthcheck: test: /bin/gw-healthcheck.sh diff --git a/mainnet_v1/gw-mainnet_v1-config-readonly.toml b/mainnet_v1/gw-mainnet_v1-config-readonly.toml index 53039e5..5184fe8 100644 --- a/mainnet_v1/gw-mainnet_v1-config-readonly.toml +++ b/mainnet_v1/gw-mainnet_v1-config-readonly.toml @@ -13,58 +13,52 @@ enable_methods = [] # [p2p_network_config] # dial = ["/dns4/godwoken/tcp/9999"] -[[backend_switches]] -switch_height = 0 -[[backend_switches.backends]] + +[fork] +increase_max_l2_tx_cycles_to_500m = 233000 + +[[fork.backend_forks]] +fork_height = 0 +[[fork.backend_forks.backends]] validator_path = '/scripts/godwoken-scripts/meta-contract-validator' generator_path = '/scripts/godwoken-scripts/meta-contract-generator' validator_script_type_hash = '0x2c0b586137cb942f92cc3f84f62d77924b560e4088667f6f47012ecfa828e184' backend_type = 'Meta' -[[backend_switches.backends]] +[[fork.backend_forks.backends]] validator_path = '/scripts/godwoken-scripts/sudt-validator' generator_path = '/scripts/godwoken-scripts/sudt-generator' validator_script_type_hash = '0x990027acd7058ec1b45df9d7448c0c5407fc17dde4b9b769f594d613c8053084' backend_type = 'Sudt' -[[backend_switches.backends]] +[[fork.backend_forks.backends]] validator_path = '/scripts/godwoken-scripts/eth-addr-reg-validator' generator_path = '/scripts/godwoken-scripts/eth-addr-reg-generator' validator_script_type_hash = '0xc55c5ede907d13ac1e744cff8ce4386b9dc5aad905d8f3badfd9419efe49eeb2' backend_type = 'EthAddrReg' -[[backend_switches.backends]] +[[fork.backend_forks.backends]] # https://github.com/nervosnetwork/godwoken-polyjuice/releases/tag/1.4.1 validator_path = '/scripts/godwoken-polyjuice-v1.4.1/validator' generator_path = '/scripts/godwoken-polyjuice-v1.4.1/generator' validator_script_type_hash = '0x83d5d8841518e8db686909d27c821398491f475ed5f1cd392c36e83f4252c4ac' backend_type = 'Polyjuice' -# TODO: remove the useless backend version -# [[backend_switches]] -# switch_height = 186750 -# [[backend_switches.backends]] -# # https://github.com/nervosnetwork/godwoken-polyjuice/releases/tag/1.4.2 -# validator_path = '/scripts/godwoken-polyjuice-v1.4.2/validator' -# generator_path = '/scripts/godwoken-polyjuice-v1.4.2/generator' -# validator_script_type_hash = '0x83d5d8841518e8db686909d27c821398491f475ed5f1cd392c36e83f4252c4ac' -# backend_type = 'Polyjuice' - -[[backend_switches]] -switch_height = 186758 -[[backend_switches.backends]] -# https://github.com/nervosnetwork/godwoken-polyjuice/releases/tag/1.4.4 -validator_path = '/scripts/godwoken-polyjuice-v1.4.4/validator' -generator_path = '/scripts/godwoken-polyjuice-v1.4.4/generator' -validator_script_type_hash = '0x83d5d8841518e8db686909d27c821398491f475ed5f1cd392c36e83f4252c4ac' -backend_type = 'Polyjuice' - -[[backend_switches]] -switch_height = 204000 -[[backend_switches.backends]] +[[fork.backend_forks]] +fork_height = 186758 +[[fork.backend_forks.backends]] # https://github.com/godwokenrises/godwoken-polyjuice/releases/tag/1.4.5 validator_path = '/scripts/godwoken-polyjuice-v1.4.5/validator' generator_path = '/scripts/godwoken-polyjuice-v1.4.5/generator' validator_script_type_hash = '0x83d5d8841518e8db686909d27c821398491f475ed5f1cd392c36e83f4252c4ac' backend_type = 'Polyjuice' +[[fork.backend_forks]] +fork_height = 233000 +[[fork.backend_forks.backends]] +# https://github.com/godwokenrises/godwoken-polyjuice/releases/tag/1.5.0 +validator_path = '/scripts/godwoken-polyjuice-v1.5.0/validator' +generator_path = '/scripts/godwoken-polyjuice-v1.5.0/generator' +validator_script_type_hash = '0x83d5d8841518e8db686909d27c821398491f475ed5f1cd392c36e83f4252c4ac' +backend_type = 'Polyjuice' + [genesis] timestamp = 1655830128000