Skip to content

Commit 42d29c3

Browse files
authored
Merge pull request #328 from onflow/kan/add-sandbox-net-chain-id
Add sandboxnet ID
2 parents 0b01014 + 2b6d405 commit 42d29c3

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

address.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ func chainCustomizer(chain ChainID) uint64 {
108108
return 0
109109
case Testnet:
110110
return invalidCodeTestNetwork
111-
case Stagingnet:
112-
return invalidCodeStagingNetwork
111+
case Sandboxnet:
112+
return invalidCodeSandboxNetwork
113113
case Emulator, Localnet, Benchnet, BftTestnet:
114114
return invalidCodeTransientNetwork
115115
default:
@@ -269,8 +269,8 @@ const (
269269
// invalidCodeTransientNetwork is the invalid codeword used for transient test networks.
270270
invalidCodeTransientNetwork = uint64(0x1cb159857af02018)
271271

272-
// invalidCodeStagingNetwork is the invalid codeword used for Staging network.
273-
invalidCodeStagingNetwork = uint64(0x1035ce4eff92ae01)
272+
// invalidCodeSandboxNetwork is the invalid codeword used for Sandbox network.
273+
invalidCodeSandboxNetwork = uint64(0x1035ce4eff92ae01)
274274
)
275275

276276
// Rows of the generator matrix G of the [64,45]-code used for Flow addresses.

flow.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ const (
104104
// Testnet is the chain ID for the testnet chain.
105105
Testnet ChainID = "flow-testnet"
106106

107-
// Stagingnet is the chain ID for internal stagingnet chain.
108-
Stagingnet ChainID = "flow-stagingnet"
107+
// Sandboxnet is the chain ID for sandboxnet chain.
108+
Sandboxnet ChainID = "flow-sandboxnet"
109109

110110
// Transient test networks
111111

0 commit comments

Comments
 (0)