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: v1.14.0 #2

Merged
merged 3 commits into from
Jun 27, 2023
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 @@ -8,7 +8,7 @@ volumes:
services:
gw-readonly:
container_name: gw-mainnet_v1-readonly
image: ghcr.io/godwokenrises/godwoken:v1.13.0
image: ghcr.io/godwokenrises/godwoken:v1.14.0-smt-trie
expose: [8119, 8219]
healthcheck:
test: /bin/gw-healthcheck.sh
Expand Down Expand Up @@ -56,7 +56,7 @@ services:
- mainnet_v1-redis-data:/data

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

web3-indexer:
image: ghcr.io/godwokenrises/godwoken-web3-indexer-prebuilds:v1.13.0
image: ghcr.io/godwokenrises/godwoken-web3-indexer-prebuilds:v1.14.0
volumes:
- ./web3-indexer-config.toml:/var/lib/web3-indexer/indexer-config.toml
- ./chain-data/logs:/var/lib/web3-indexer/logs
Expand Down
6 changes: 3 additions & 3 deletions testnet_v1_1/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
# see: https://docs.nervos.org/docs/basics/guides/run-ckb-with-docker#run-a-ckb-testnet-node
gw-readonly:
container_name: gw-testnet_v1-readonly
image: ghcr.io/godwokenrises/godwoken:v1.13.0-rc2-smt-trie
image: ghcr.io/godwokenrises/godwoken:v1.14.0-smt-trie
expose: [8119, 8219]
healthcheck:
test: /bin/gw-healthcheck.sh
Expand Down Expand Up @@ -61,7 +61,7 @@ services:
- testnet_v1-redis-data:/data

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

web3-indexer:
image: ghcr.io/godwokenrises/godwoken-web3-indexer-prebuilds:v1.13.0-rc2
image: ghcr.io/godwokenrises/godwoken-web3-indexer-prebuilds:v1.14.0
volumes:
- ./web3-indexer-config.toml:/var/lib/web3-indexer/indexer-config.toml
- ./chain-data/logs:/var/lib/web3-indexer/logs
Expand Down
12 changes: 12 additions & 0 deletions testnet_v1_1/web3.env
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,15 @@ GODWOKEN_READONLY_JSON_RPC=http://gw-readonly:8119

# eth_estimateGas will add this number to result, optional, default to 0
EXTRA_ESTIMATE_GAS=30000

# ENABLE_PRICE_ORACLE=<optional, boolean, decide if use dynamic gas price based on CKB price oracle, default to false>
# GAS_PRICE_DIVIDER=<optional, a system value to adjust gasPrice with ckbPrice, default to 76000000000000000 (0.00002pCKB with 0.0038 ckb price)>
# **MIN_GAS_PRICE = GAS_PRICE_DIVIDER / ckbPrice**
# see also: https://github.com/nervosnetwork/godwoken-web3/pull/514
ENABLE_PRICE_ORACLE=true
GAS_PRICE_DIVIDER=150000000000000
# uint pCKB, equals 1 shannon/gas
MIN_GAS_PRICE_LOWER_LIMIT=0.00000001
# uint pCKB, equals 6 shannon/gas
MIN_GAS_PRICE_UPPER_LIMIT=0.00000006
# The range of MIN_GAS_PRICE = [0.00000001 pCKB, 0.00000006 pCKB]