Skip to content

Commit

Permalink
mainnet_v1: bump Godwoken to v1.4 (#52)
Browse files Browse the repository at this point in the history
* mainnet_v1: rm useless mock.key

- fix(config): optional block producer wallet for readonly node
  godwokenrises/godwoken#768

* mainnet_v1: bump Godwoken to v1.4
1. remove useless `[block_producer.wallet_config]` in Godwoken readonly node
2. bump Godwoken to v1.4+
3. bump Godwoken Web3 to 1.5+
- https://github.com/nervosnetwork/godwoken/releases
- https://github.com/nervosnetwork/godwoken-scripts/releases
- https://github.com/nervosnetwork/godwoken-web3/releases
  • Loading branch information
Flouse authored Aug 2, 2022
1 parent 5489df5 commit 3eca1b9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
7 changes: 3 additions & 4 deletions mainnet_v1/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: '3.9'
services:
gw-readonly:
container_name: gw-mainnet_v1-readonly
image: ghcr.io/nervosnetwork/godwoken-prebuilds:1.3.0-rc3
image: ghcr.io/nervosnetwork/godwoken-prebuilds:1.4.3
expose: [8119, 8219]
healthcheck:
test: /healthcheck.sh
Expand All @@ -16,7 +16,6 @@ services:
- ./chain-data/readonly/:/mnt/
- ./gw-mainnet_v1-config-readonly.toml:/deploy/config.toml
- ./db.toml:/deploy/db.toml:ro
- ./mock.key:/deploy/zero.key:ro
- ./healthcheck.sh:/healthcheck.sh:ro
environment:
# other log envs: ,gw_generator=debug,gw_chain=debug
Expand Down Expand Up @@ -44,7 +43,7 @@ services:
- ./chain-data/redis-data:/data

web3:
image: nervos/godwoken-web3-prebuilds:v1.3.0-rc1
image: nervos/godwoken-web3-prebuilds:v1.5.1-rc3
healthcheck:
test: curl http://127.0.0.1:8024 || exit 1
volumes:
Expand All @@ -61,7 +60,7 @@ services:
condition: service_healthy

web3-indexer:
image: nervos/godwoken-web3-indexer-prebuilds:v1.3.0-rc1
image: nervos/godwoken-web3-indexer-prebuilds:v1.5.1-rc3
volumes:
- ./web3-indexer-config.toml:/var/lib/web3-indexer/indexer-config.toml
working_dir: /var/lib/web3-indexer
Expand Down
8 changes: 0 additions & 8 deletions mainnet_v1/gw-mainnet_v1-config-readonly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -130,14 +130,6 @@ code_hash = '0x0000000000000000000000000000000000000000000000000000000000000000'
hash_type = 'data'
args = '0x'

[block_producer.wallet_config]
privkey_path = '/deploy/zero.key'

[block_producer.wallet_config.lock]
code_hash = '0x9bd7e06f3ecf4be0f2fcd2188b23f1b9fcc88e5d4b65a8637b17723bbda3cce8'
hash_type = 'type'
args = '0x75c62406c6b180d8ffe96400d7f08e6e89d186dc'

[mem_pool]
execute_l2tx_max_cycles = 100000000
restore_path = '/mnt/mem_block'
Expand Down
1 change: 0 additions & 1 deletion mainnet_v1/mock.key

This file was deleted.

0 comments on commit 3eca1b9

Please sign in to comment.