Skip to content

Commit

Permalink
chore(genesis): change default chain-id to 80086
Browse files Browse the repository at this point in the history
  • Loading branch information
itsdevbear committed May 22, 2024
1 parent d9f8399 commit 03868fb
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion build/scripts/testing.mk
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ start-erigon: ## start an ephemeral `erigon` node
--authrpc.addr 0.0.0.0 \
--authrpc.jwtsecret $(JWT_PATH) \
--authrpc.vhosts "*" \
--networkid 80087 \
--networkid 80086 \
--db.size.limit 3000MB \
--datadir .tmp/erigon

Expand Down
2 changes: 1 addition & 1 deletion kurtosis/kurtosis-params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@

network_params:
network_name: "kurtosis"
network_id: "80087"
network_id: "80086"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"config": {
"chainId": 80087,
"chainId": 80086,
"homesteadBlock": 0,
"daoForkBlock": 0,
"daoForkSupport": true,
Expand Down
4 changes: 2 additions & 2 deletions kurtosis/src/nodes/consensus/beacond/launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ def get_config(image, engine_dial_url, cl_service_name, entrypoint = [], cmd = [
"BEACOND_MONIKER": cl_service_name,
"BEACOND_NET": "VALUE_2",
"BEACOND_HOME": "/root/.beacond",
"BEACOND_CHAIN_ID": "beacon-kurtosis-80087",
"BEACOND_CHAIN_ID": "beacon-kurtosis-80086",
"BEACOND_DEBUG": "false",
"BEACOND_KEYRING_BACKEND": "test",
"BEACOND_MINIMUM_GAS_PRICE": "0abgt",
"BEACOND_ENGINE_DIAL_URL": engine_dial_url,
"BEACOND_ETH_CHAIN_ID": "80087",
"BEACOND_ETH_CHAIN_ID": "80086",
"BEACOND_PERSISTENT_PEERS": persistent_peers,
"BEACOND_ENABLE_PROMETHEUS": "true",
"BEACOND_CONSENSUS_KEY_ALGO": "bls12_381",
Expand Down
4 changes: 2 additions & 2 deletions kurtosis/src/nodes/consensus/beacond/node.star
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ def get_genesis_env_vars(cl_service_name):
"BEACOND_MONIKER": cl_service_name,
"BEACOND_NET": "VALUE_2",
"BEACOND_HOME": "/root/.beacond",
"BEACOND_CHAIN_ID": "beacon-kurtosis-80087",
"BEACOND_CHAIN_ID": "beacon-kurtosis-80086",
"BEACOND_DEBUG": "false",
"BEACOND_KEYRING_BACKEND": "test",
"BEACOND_MINIMUM_GAS_PRICE": "0abgt",
"BEACOND_ETH_CHAIN_ID": "80087",
"BEACOND_ETH_CHAIN_ID": "80086",
"BEACOND_ENABLE_PROMETHEUS": "true",
"BEACOND_CONSENSUS_KEY_ALGO": "bls12_381",
"ETH_GENESIS": "/root/eth_genesis/genesis.json",
Expand Down
2 changes: 1 addition & 1 deletion kurtosis/src/nodes/execution/erigon/config.star
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ CMD = [
"--metrics.port",
"{}".format(METRICS_PORT_NUM),
"--networkid",
"80087",
"80086",
"--db.size.limit={}MB".format(3000),
]
BOOTNODE_CMD = "--bootnodes"
Expand Down
2 changes: 1 addition & 1 deletion kurtosis/src/nodes/execution/geth/config.star
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ CMD = [
"--datadir",
EXECUTION_DATA_DIRPATH_ON_CLIENT_CONTAINER,
"--networkid",
"80087",
"80086",
]
BOOTNODE_CMD = "--bootnodes"

Expand Down
2 changes: 1 addition & 1 deletion kurtosis/src/nodes/execution/geth/geth-config.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Eth]
NetworkId = 80087
NetworkId = 80086
SyncMode = "full"
EthDiscoveryURLs = []
SnapDiscoveryURLs = []
Expand Down
2 changes: 1 addition & 1 deletion mod/node-builder/pkg/config/spec/localnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func LocalnetChainSpec() chain.Spec[
common.ExecutionAddress,
math.Slot,
]{
Eth1ChainID: uint64(80087),
Eth1ChainID: uint64(80086),
// // Gwei value constants.
MinDepositAmount: uint64(1e9),
MaxEffectiveBalance: uint64(32e9),
Expand Down
2 changes: 1 addition & 1 deletion testing/files/eth-genesis.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"config": {
"chainId": 80087,
"chainId": 80086,
"homesteadBlock": 0,
"daoForkBlock": 0,
"daoForkSupport": true,
Expand Down

0 comments on commit 03868fb

Please sign in to comment.