diff --git a/docs/registry.md b/docs/registry.md index 8a109c526d2..1473aa7b5ca 100644 --- a/docs/registry.md +++ b/docs/registry.md @@ -131,7 +131,7 @@ This list is generated from [./registry.json](../registry.json) | 10004689 | IoTeX EVM | IOTX | | | | 10007000 | NativeZetaChain | ZETA | | | | 10007700 | NativeCanto | CANTO | | | -| 10008217 | Kaia | KAIA | | | +| 10008217 | Kaia | KAIA | | | | 10009000 | Avalanche C-Chain | AVAX | | | | 10009001 | Evmos | EVMOS | | | | 10042170 | Arbitrum Nova | ETH | | | diff --git a/registry.json b/registry.json index 5e43fe7ae90..c5edff27ed7 100644 --- a/registry.json +++ b/registry.json @@ -1565,7 +1565,7 @@ "publicKeyType": "ed25519Blake2b", "url": "https://nano.org", "explorer": { - "url": "https://www.nanolooker.com", + "url": "https://nanexplorer.com/nano", "txPath": "/block/", "accountPath": "/account/", "sampleTx": "C264DB7BF40738F0CEFF19B606746CB925B713E4B8699A055699E0DC8ABBC70F", @@ -1786,8 +1786,8 @@ "curve": "ed25519", "publicKeyType": "ed25519", "explorer": { - "url": "https://app.dappflow.org/explorer", - "txPath": "/transaction/", + "url": "https://allo.info", + "txPath": "/tx/", "accountPath": "/account/", "sampleTx": "CR7POXFTYDLC7TV3IXHA7AZKWABUJC52BACLHJQNXAKZJGRPQY3A", "sampleAccount": "J4AEINCSSLDA7LNBNWM4ZXFCTLTOZT5LG3F5BLMFPJYGFWVCMU37EZI2AM" @@ -3186,7 +3186,7 @@ "publicKeyType": "secp256k1", "hrp": "thor", "addressHasher": "sha256ripemd", - "chainId": "thorchain-mainnet-v1", + "chainId": "thorchain-1", "explorer": { "url": "https://viewblock.io/thorchain", "txPath": "/tx/", @@ -3197,7 +3197,7 @@ "info": { "url": "https://thorchain.org", "source": "https://gitlab.com/thorchain/thornode", - "rpc": "https://seed.thorchain.info", + "rpc": "https://thornode.ninerealms.com", "documentation": "https://docs.thorchain.org" } }, @@ -3810,7 +3810,7 @@ "chainId": "10000", "addressHasher": "keccak256", "explorer": { - "url": "https://www.smartscan.cash", + "url": "https://www.smartscout.cash", "txPath": "/tx/", "accountPath": "/address/", "sampleTx": "0x6413466b455b17d03c7a8ce2d7f99fec34bcd338628bdd2d0580a21e3197a4d9", @@ -3872,7 +3872,7 @@ "chainId": "288", "addressHasher": "keccak256", "explorer": { - "url": "https://blockexplorer.boba.network", + "url": "https://eth.bobascan.com", "txPath": "/tx/", "accountPath": "/address/", "sampleTx": "0x31533707c3feb3b10f7deeea387ff8893f229253e65ca6b14d2400bf95b5d103", diff --git a/tests/chains/Algorand/SignerTests.cpp b/tests/chains/Algorand/SignerTests.cpp index 1eef1ada080..cc3736ccd2a 100644 --- a/tests/chains/Algorand/SignerTests.cpp +++ b/tests/chains/Algorand/SignerTests.cpp @@ -84,7 +84,7 @@ TEST(AlgorandSigner, Sign) { } TEST(AlgorandSigner, SignAssetNFTTransfer) { - // Successfully broadcasted: https://app.dappflow.org/explorer/transaction/FFLUH4QKZHG744RIQ2AZNWZUSIIH262KZ4MEWSY4RXMWN5NMOOJA + // Successfully broadcasted: https://allo.info/tx/FFLUH4QKZHG744RIQ2AZNWZUSIIH262KZ4MEWSY4RXMWN5NMOOJA auto key = PrivateKey(parse_hex("dc6051ffc7b3ec601bde432f6dea34d40fe3855e4181afa0f0524c42194a6da7")); auto publicKey = key.getPublicKey(TWPublicKeyTypeED25519); auto from = Address(publicKey); diff --git a/tests/chains/Algorand/TWAnySignerTests.cpp b/tests/chains/Algorand/TWAnySignerTests.cpp index 7d82693add4..b60685fc277 100644 --- a/tests/chains/Algorand/TWAnySignerTests.cpp +++ b/tests/chains/Algorand/TWAnySignerTests.cpp @@ -15,7 +15,7 @@ using namespace TW; namespace TW::Algorand::tests { TEST(TWAnySignerAlgorand, SignAssetNFTTransfer) { - // Successfully broadcasted: https://app.dappflow.org/explorer/transaction/FFLUH4QKZHG744RIQ2AZNWZUSIIH262KZ4MEWSY4RXMWN5NMOOJA + // Successfully broadcasted: https://allo.info/tx/FFLUH4QKZHG744RIQ2AZNWZUSIIH262KZ4MEWSY4RXMWN5NMOOJA auto privateKey = parse_hex("dc6051ffc7b3ec601bde432f6dea34d40fe3855e4181afa0f0524c42194a6da7"); Data note = Base64::decode("VFdUIFRPIFRIRSBNT09O"); auto genesisHash = Base64::decode("wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8="); diff --git a/tests/chains/Algorand/TWCoinTypeTests.cpp b/tests/chains/Algorand/TWCoinTypeTests.cpp index 0f7caba2bb3..3e74467a395 100644 --- a/tests/chains/Algorand/TWCoinTypeTests.cpp +++ b/tests/chains/Algorand/TWCoinTypeTests.cpp @@ -25,8 +25,8 @@ TEST(TWAlgorandCoinType, TWCoinType) { ASSERT_EQ(0x0, TWCoinTypeP2shPrefix(TWCoinTypeAlgorand)); ASSERT_EQ(0x0, TWCoinTypeStaticPrefix(TWCoinTypeAlgorand)); assertStringsEqual(symbol, "ALGO"); - assertStringsEqual(txUrl, "https://app.dappflow.org/explorer/transaction/CR7POXFTYDLC7TV3IXHA7AZKWABUJC52BACLHJQNXAKZJGRPQY3A"); - assertStringsEqual(accUrl, "https://app.dappflow.org/explorer/account/J4AEINCSSLDA7LNBNWM4ZXFCTLTOZT5LG3F5BLMFPJYGFWVCMU37EZI2AM"); + assertStringsEqual(txUrl, "https://allo.info/tx/CR7POXFTYDLC7TV3IXHA7AZKWABUJC52BACLHJQNXAKZJGRPQY3A"); + assertStringsEqual(accUrl, "https://allo.info/account/J4AEINCSSLDA7LNBNWM4ZXFCTLTOZT5LG3F5BLMFPJYGFWVCMU37EZI2AM"); assertStringsEqual(id, "algorand"); assertStringsEqual(name, "Algorand"); } diff --git a/tests/chains/Boba/TWCoinTypeTests.cpp b/tests/chains/Boba/TWCoinTypeTests.cpp index a5e5201bf27..43b4a62856e 100644 --- a/tests/chains/Boba/TWCoinTypeTests.cpp +++ b/tests/chains/Boba/TWCoinTypeTests.cpp @@ -25,8 +25,8 @@ TEST(TWBobaCoinType, TWCoinType) { ASSERT_EQ(0x0, TWCoinTypeP2shPrefix(TWCoinTypeBoba)); ASSERT_EQ(0x0, TWCoinTypeStaticPrefix(TWCoinTypeBoba)); assertStringsEqual(symbol, "BOBAETH"); - assertStringsEqual(txUrl, "https://blockexplorer.boba.network/tx/0x31533707c3feb3b10f7deeea387ff8893f229253e65ca6b14d2400bf95b5d103"); - assertStringsEqual(accUrl, "https://blockexplorer.boba.network/address/0x4F96F50eDB37a19216d87693E5dB241e31bD3735"); + assertStringsEqual(txUrl, "https://eth.bobascan.com/tx/0x31533707c3feb3b10f7deeea387ff8893f229253e65ca6b14d2400bf95b5d103"); + assertStringsEqual(accUrl, "https://eth.bobascan.com/address/0x4F96F50eDB37a19216d87693E5dB241e31bD3735"); assertStringsEqual(id, "boba"); assertStringsEqual(name, "Boba"); } diff --git a/tests/chains/Cosmos/THORChain/TWSwapTests.cpp b/tests/chains/Cosmos/THORChain/TWSwapTests.cpp index df999de49ad..9492770c08f 100644 --- a/tests/chains/Cosmos/THORChain/TWSwapTests.cpp +++ b/tests/chains/Cosmos/THORChain/TWSwapTests.cpp @@ -307,7 +307,7 @@ TEST(TWTHORChainSwap, SwapRuneDoge) { // invoke swap const auto outputTWData_ = WRAPD(TWTHORChainSwapBuildSwap(inputTWData_.get())); const auto outputData = data(TWDataBytes(outputTWData_.get()), TWDataSize(outputTWData_.get())); - EXPECT_EQ(outputData.size(), 153ul); + EXPECT_EQ(outputData.size(), 144ul); // parse result in proto Proto::SwapOutput outputProto; EXPECT_TRUE(outputProto.ParseFromArray(outputData.data(), static_cast(outputData.size()))); @@ -322,6 +322,8 @@ TEST(TWTHORChainSwap, SwapRuneDoge) { auto& fee = *txInput.mutable_fee(); fee.set_gas(50000000); + // Override the chainId as it has been after a hardfork recently. + txInput.set_chain_id("thorchain-mainnet-v1"); txInput.set_account_number(75247); txInput.set_sequence(8); @@ -367,7 +369,7 @@ TEST(TWTHORChainSwap, SwapRuneBnbStreamParams) { // invoke swap const auto outputTWData_ = WRAPD(TWTHORChainSwapBuildSwap(inputTWData_.get())); const auto outputData = data(TWDataBytes(outputTWData_.get()), TWDataSize(outputTWData_.get())); - EXPECT_EQ(outputData.size(), 156ul); + EXPECT_EQ(outputData.size(), 147ul); // parse result in proto Proto::SwapOutput outputProto; EXPECT_TRUE(outputProto.ParseFromArray(outputData.data(), static_cast(outputData.size()))); @@ -382,6 +384,7 @@ TEST(TWTHORChainSwap, SwapRuneBnbStreamParams) { auto& fee = *txInput.mutable_fee(); fee.set_gas(50000000); + txInput.set_chain_id("thorchain-mainnet-v1"); txInput.set_account_number(76456); txInput.set_sequence(0); diff --git a/tests/chains/Nano/TWCoinTypeTests.cpp b/tests/chains/Nano/TWCoinTypeTests.cpp index a0b033eeade..236020317fd 100644 --- a/tests/chains/Nano/TWCoinTypeTests.cpp +++ b/tests/chains/Nano/TWCoinTypeTests.cpp @@ -25,8 +25,8 @@ TEST(TWNanoCoinType, TWCoinType) { ASSERT_EQ(0x0, TWCoinTypeP2shPrefix(TWCoinTypeNano)); ASSERT_EQ(0x0, TWCoinTypeStaticPrefix(TWCoinTypeNano)); assertStringsEqual(symbol, "XNO"); - assertStringsEqual(txUrl, "https://www.nanolooker.com/block/C264DB7BF40738F0CEFF19B606746CB925B713E4B8699A055699E0DC8ABBC70F"); - assertStringsEqual(accUrl, "https://www.nanolooker.com/account/nano_1wpj616kwhe1y38y1mspd8aub8i334cwybqco511iyuxm55zx8d67ptf1tsf"); + assertStringsEqual(txUrl, "https://nanexplorer.com/nano/block/C264DB7BF40738F0CEFF19B606746CB925B713E4B8699A055699E0DC8ABBC70F"); + assertStringsEqual(accUrl, "https://nanexplorer.com/nano/account/nano_1wpj616kwhe1y38y1mspd8aub8i334cwybqco511iyuxm55zx8d67ptf1tsf"); assertStringsEqual(id, "nano"); assertStringsEqual(name, "Nano"); } diff --git a/tests/chains/SmartBitcoinCash/TWCoinTypeTests.cpp b/tests/chains/SmartBitcoinCash/TWCoinTypeTests.cpp index 30c048093bc..f40629fd167 100644 --- a/tests/chains/SmartBitcoinCash/TWCoinTypeTests.cpp +++ b/tests/chains/SmartBitcoinCash/TWCoinTypeTests.cpp @@ -25,8 +25,8 @@ TEST(TWSmartBitcoinCashCoinType, TWCoinType) { ASSERT_EQ(0x0, TWCoinTypeP2shPrefix(TWCoinTypeSmartBitcoinCash)); ASSERT_EQ(0x0, TWCoinTypeStaticPrefix(TWCoinTypeSmartBitcoinCash)); assertStringsEqual(symbol, "BCH"); - assertStringsEqual(txUrl, "https://www.smartscan.cash/tx/0x6413466b455b17d03c7a8ce2d7f99fec34bcd338628bdd2d0580a21e3197a4d9"); - assertStringsEqual(accUrl, "https://www.smartscan.cash/address/0xFeEc227410E1DF9f3b4e6e2E284DC83051ae468F"); + assertStringsEqual(txUrl, "https://www.smartscout.cash/tx/0x6413466b455b17d03c7a8ce2d7f99fec34bcd338628bdd2d0580a21e3197a4d9"); + assertStringsEqual(accUrl, "https://www.smartscout.cash/address/0xFeEc227410E1DF9f3b4e6e2E284DC83051ae468F"); assertStringsEqual(id, "smartbch"); assertStringsEqual(name, "Smart Bitcoin Cash"); }