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

mainnet_v1: bump to godwoken-prebuilds:1.7.0-poly.1.4.5 and web3 1.8.6 #75

Merged
merged 4 commits into from
Nov 7, 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
6 changes: 3 additions & 3 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/godwokenrises/godwoken-prebuilds:1.6.2-poly.1.4.5
image: ghcr.io/godwokenrises/godwoken-prebuilds:1.7.0-poly.1.4.5
expose: [8119, 8219]
healthcheck:
test: /bin/gw-healthcheck.sh
Expand Down Expand Up @@ -43,7 +43,7 @@ services:
- ./chain-data/redis-data:/data

web3:
image: ghcr.io/godwokenrises/godwoken-web3-prebuilds:v1.8.5
image: ghcr.io/godwokenrises/godwoken-web3-prebuilds:v1.8.6
healthcheck:
test: curl http://127.0.0.1:8024 || exit 1
volumes:
Expand All @@ -60,7 +60,7 @@ services:
condition: service_healthy

web3-indexer:
image: ghcr.io/godwokenrises/godwoken-web3-indexer-prebuilds:v1.8.5
image: ghcr.io/godwokenrises/godwoken-web3-indexer-prebuilds:v1.8.6
volumes:
- ./web3-indexer-config.toml:/var/lib/web3-indexer/indexer-config.toml
working_dir: /var/lib/web3-indexer
Expand Down
23 changes: 9 additions & 14 deletions mainnet_v1/gw-mainnet_v1-config-readonly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -157,26 +157,21 @@ hash_type = 'data'
args = '0x'

[mem_pool]
execute_l2tx_max_cycles = 150000000
execute_l2tx_max_cycles = 3000000000
restore_path = '/mnt/mem_block'

[mem_pool.mem_block]
max_deposits = 100
max_withdrawals = 100
max_txs = 1500
max_deposits = 50
max_withdrawals = 50
# MAX_TPS * block_time = 40 * 8 = 320, rounded up to 400
max_txs = 400
# Introduce max_cycles_limit of a Godwoken block
# https://github.com/nervosnetwork/godwoken/pull/767
max_cycles_limit = '1950000000'
[mem_pool.mem_block.syscall_cycles]
sys_store_cycles = 50000
sys_load_cycles = 5000
sys_create_cycles = 50000
sys_load_account_script_cycles = 5000
sys_store_data_cycles = 50000
sys_load_data_cycles = 5000
sys_get_block_hash_cycles = 50000
sys_recover_account_cycles = 50000
sys_log_cycles = 50000

# [mem_pool.mem_block.syscall_cycles]
# Default SyscallCyclesConfig:
# https://github.com/godwokenrises/godwoken/blob/v1.7.0/crates/config/src/config.rs#L579-L599

[store]
path = '/mnt/mainnet_v1-store.db'
Expand Down