Skip to content

Commit

Permalink
change chainID to match Chainlist
Browse files Browse the repository at this point in the history
  • Loading branch information
zkokelj committed Sep 21, 2023
1 parent 259bfe4 commit 3b5095d
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion go/config/enclave_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func DefaultEnclaveConfig() *EnclaveConfig {
Address: "127.0.0.1:11000",
NodeType: common.Sequencer,
L1ChainID: 1337,
ObscuroChainID: 777,
ObscuroChainID: 443,
WillAttest: false, // todo (config) - attestation should be on by default before production release
ValidateL1Blocks: false,
GenesisJSON: nil,
Expand Down
2 changes: 1 addition & 1 deletion go/config/host_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ func DefaultHostParsedConfig() *HostInputConfig {
LogPath: "",
PrivateKeyString: "0000000000000000000000000000000000000000000000000000000000000001",
L1ChainID: 1337,
ObscuroChainID: 777,
ObscuroChainID: 443,
ProfilerEnabled: false,
L1StartHash: common.L1BlockHash{}, // this hash will not be found, host will log a warning and then stream from L1 genesis
SequencerID: gethcommon.BytesToAddress([]byte("")),
Expand Down
2 changes: 1 addition & 1 deletion integration/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ const (

const (
EthereumChainID = 1337
ObscuroChainID = 777
ObscuroChainID = 443
)
2 changes: 1 addition & 1 deletion integration/manualtests/tx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ var (

l2Wallet = wallet.NewInMemoryWalletFromConfig(
"4bfe14725e685901c062ccd4e220c61cf9c189897b6c78bd18d7f51291b2b8f8",
777,
443,
gethlog.New())
l2Host = "localhost"
l2Port = 37900
Expand Down
2 changes: 1 addition & 1 deletion tools/faucet/cmd/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ func parseCLIArgs() *faucet.Config {
PK: *faucetPK,
JWTSecret: *jwtSecret,
ServerPort: *serverPort,
ChainID: big.NewInt(777), // TODO make this configurable
ChainID: big.NewInt(443), // TODO make this configurable
}
}
2 changes: 1 addition & 1 deletion tools/hardhatdeployer/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const (

var (
defaultL1ChainID = big.NewInt(1337)
defaultL2ChainID = big.NewInt(777)
defaultL2ChainID = big.NewInt(443)
)

// DefaultConfig stores the contract client default config
Expand Down
2 changes: 1 addition & 1 deletion tools/hardhatdeployer/cli_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const (
privateKeyUsage = "The private key for the node account"

chainIDName = "chainID"
chainIDUsage = "The ID of the chain (defaults to 777 for L2 deployment and 1337 for L1)"
chainIDUsage = "The ID of the chain (defaults to 443 for L2 deployment and 1337 for L1)"

constructorParamsName = "constructorParams"
constructorParamsUsage = "A comma separated list of strings that will be passed to the deployer. Defaults to empty."
Expand Down

0 comments on commit 3b5095d

Please sign in to comment.