Skip to content

Commit

Permalink
Switch testnet to Amoy (#6041)
Browse files Browse the repository at this point in the history
  • Loading branch information
ScruffyPants authored Apr 29, 2024
1 parent ee113ab commit 6d31931
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
1 change: 1 addition & 0 deletions identity/registry/chains.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ func Chains() map[int64]string {
5: "Ethereum Testnet Görli",
137: "Polygon Mainnet",
80001: "Polygon Testnet Mumbai",
80002: "Polygon Testnet Amoy",
}
}
16 changes: 8 additions & 8 deletions metadata/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,16 +147,16 @@ var TestnetDefinition = NetworkDefinition{
},
},
Chain2: ChainDefinition{
RegistryAddress: "0x1ba2DF26371E83D87Afee2F27a42f5A7FE9e5219",
ChannelImplAddress: "0x6FE3E5e5008e49821BF7282870eC831BA9694dDB",
HermesID: "0xcAeF9A6E9C2d9C0Ee3333529922c280580365b51",
ChainID: 80001,
MystAddress: "0xB923b52b60E247E34f9afE6B3fa5aCcBAea829E8",
RegistryAddress: "0x935305eBD48264E72067c242231b9c1638f8722c",
ChannelImplAddress: "0xA7D2b4834e059720b18EAfa56Fc076622a6d6275",
HermesID: "0xf1e8f60009005cc760c8e96fb3cabd992f9004e6",
ChainID: 80002,
MystAddress: "0x5B75A099da7533CC800e77eeAEc3409c12420A15",
EtherClientRPC: []string{
"https://polygon-mumbai1.mysterium.network",
"https://polygon-amoy1.mysterium.network",
},
KnownHermeses: []string{
"0xcAeF9A6E9C2d9C0Ee3333529922c280580365b51",
"0xf1e8f60009005cc760c8e96fb3cabd992f9004e6",
},
},
MMNAddress: "https://my.mystnodes.com",
Expand All @@ -168,7 +168,7 @@ var TestnetDefinition = NetworkDefinition{
"broker.mysterium.network": {"51.158.204.30", "51.158.204.75", "51.158.204.9", "51.158.204.23"},
"affiliator.mysterium.network": {"51.158.204.30", "51.158.204.75", "51.158.204.9", "51.158.204.23"},
},
DefaultChainID: 80001,
DefaultChainID: 80002,
DefaultCurrency: "MYST",
LocationAddress: "https://location.mysterium.network/api/v1/location",
Payments: Payments{
Expand Down
2 changes: 2 additions & 0 deletions session/pingpong/hermes_promise_settler.go
Original file line number Diff line number Diff line change
Expand Up @@ -1411,6 +1411,8 @@ func formTXUrl(txHash string, chainID int64) (string, error) {
return fmt.Sprintf("https://goerli.etherscan.io/tx/%v", txHash), nil
case 80001:
return fmt.Sprintf("https://mumbai.polygonscan.com/tx/%v", txHash), nil
case 80002:
return fmt.Sprintf("https://amoy.polygonscan.com/tx/%v", txHash), nil
case 137:
return fmt.Sprintf("https://polygonscan.com/tx/%v", txHash), nil
default:
Expand Down

0 comments on commit 6d31931

Please sign in to comment.