Skip to content

Commit 62ef27c

Browse files
chore(polkadot): Update explorer URLs for Kusama and Polkadot (#4768)
1 parent 2e4d2a3 commit 62ef27c

3 files changed

Lines changed: 13 additions & 13 deletions

File tree

registry.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1985,11 +1985,11 @@
19851985
"addressHasher": "keccak256",
19861986
"ss58Prefix": 0,
19871987
"explorer": {
1988-
"url": "https://polkadot.subscan.io",
1988+
"url": "https://assethub-polkadot.subscan.io",
19891989
"txPath": "/extrinsic/",
19901990
"accountPath": "/account/",
1991-
"sampleTx": "0xb96f97d8ee508f420e606e1a6dcc74b88844713ddec2bd7cf4e3aa6b1d6beef4",
1992-
"sampleAccount": "13hJFqnkqQbmgnGQteGntjMjTdmTBRE8Z93JqxsrpgT7Yjd2"
1991+
"sampleTx": "0x5aaaeec678ab1bd5a19d2c9bfd596037a32e3d1e831383c62f315459e85fa85d",
1992+
"sampleAccount": "14QKFrBmnhP5xoH1t7nC2q7mssgj671AhzThsGewVj3Ea8Xt"
19931993
},
19941994
"info": {
19951995
"url": "https://polkadot.network/",
@@ -2097,11 +2097,11 @@
20972097
"addressHasher": "keccak256",
20982098
"ss58Prefix": 2,
20992099
"explorer": {
2100-
"url": "https://kusama.subscan.io",
2100+
"url": "https://assethub-kusama.subscan.io",
21012101
"txPath": "/extrinsic/",
21022102
"accountPath": "/account/",
2103-
"sampleTx": "0xcbe0c2e2851c1245bedaae4d52f06eaa6b4784b786bea2f0bff11af7715973dd",
2104-
"sampleAccount": "DbCNECPna3k6MXFWWNZa5jGsuWycqEE6zcUxZYkxhVofrFk"
2103+
"sampleTx": "0x834220074151531626b34acf4568cd5763a47b2eb2647bd0f0b7e46f980e0c50",
2104+
"sampleAccount": "FfnS7Vk2i19AdFMf6D8ZRVUhNsYWVtsLmqQEnAmTqQBqsSy"
21052105
},
21062106
"info": {
21072107
"url": "https://kusama.network",

tests/chains/Kusama/TWCoinTypeTests.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313

1414
TEST(TWKusamaCoinType, TWCoinType) {
1515
auto symbol = WRAPS(TWCoinTypeConfigurationGetSymbol(TWCoinTypeKusama));
16-
auto txId = WRAPS(TWStringCreateWithUTF8Bytes("0xcbe0c2e2851c1245bedaae4d52f06eaa6b4784b786bea2f0bff11af7715973dd"));
16+
auto txId = WRAPS(TWStringCreateWithUTF8Bytes("0x834220074151531626b34acf4568cd5763a47b2eb2647bd0f0b7e46f980e0c50"));
1717
auto txUrl = WRAPS(TWCoinTypeConfigurationGetTransactionURL(TWCoinTypeKusama, txId.get()));
18-
auto accId = WRAPS(TWStringCreateWithUTF8Bytes("DbCNECPna3k6MXFWWNZa5jGsuWycqEE6zcUxZYkxhVofrFk"));
18+
auto accId = WRAPS(TWStringCreateWithUTF8Bytes("FfnS7Vk2i19AdFMf6D8ZRVUhNsYWVtsLmqQEnAmTqQBqsSy"));
1919
auto accUrl = WRAPS(TWCoinTypeConfigurationGetAccountURL(TWCoinTypeKusama, accId.get()));
2020
auto id = WRAPS(TWCoinTypeConfigurationGetID(TWCoinTypeKusama));
2121
auto name = WRAPS(TWCoinTypeConfigurationGetName(TWCoinTypeKusama));
@@ -25,8 +25,8 @@ TEST(TWKusamaCoinType, TWCoinType) {
2525
ASSERT_EQ(0x0, TWCoinTypeP2shPrefix(TWCoinTypeKusama));
2626
ASSERT_EQ(0x0, TWCoinTypeStaticPrefix(TWCoinTypeKusama));
2727
assertStringsEqual(symbol, "KSM");
28-
assertStringsEqual(txUrl, "https://kusama.subscan.io/extrinsic/0xcbe0c2e2851c1245bedaae4d52f06eaa6b4784b786bea2f0bff11af7715973dd");
29-
assertStringsEqual(accUrl, "https://kusama.subscan.io/account/DbCNECPna3k6MXFWWNZa5jGsuWycqEE6zcUxZYkxhVofrFk");
28+
assertStringsEqual(txUrl, "https://assethub-kusama.subscan.io/extrinsic/0x834220074151531626b34acf4568cd5763a47b2eb2647bd0f0b7e46f980e0c50");
29+
assertStringsEqual(accUrl, "https://assethub-kusama.subscan.io/account/FfnS7Vk2i19AdFMf6D8ZRVUhNsYWVtsLmqQEnAmTqQBqsSy");
3030
assertStringsEqual(id, "kusama");
3131
assertStringsEqual(name, "Kusama");
3232
}

tests/chains/Polkadot/TWCoinTypeTests.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
TEST(TWPolkadotCoinType, TWCoinType) {
1414
auto symbol = WRAPS(TWCoinTypeConfigurationGetSymbol(TWCoinTypePolkadot));
15-
auto txId = WRAPS(TWStringCreateWithUTF8Bytes("0xb96f97d8ee508f420e606e1a6dcc74b88844713ddec2bd7cf4e3aa6b1d6beef4"));
15+
auto txId = WRAPS(TWStringCreateWithUTF8Bytes("0x5aaaeec678ab1bd5a19d2c9bfd596037a32e3d1e831383c62f315459e85fa85d"));
1616
auto txUrl = WRAPS(TWCoinTypeConfigurationGetTransactionURL(TWCoinTypePolkadot, txId.get()));
1717
auto accId = WRAPS(TWStringCreateWithUTF8Bytes("13hJFqnkqQbmgnGQteGntjMjTdmTBRE8Z93JqxsrpgT7Yjd2"));
1818
auto accUrl = WRAPS(TWCoinTypeConfigurationGetAccountURL(TWCoinTypePolkadot, accId.get()));
@@ -24,8 +24,8 @@ TEST(TWPolkadotCoinType, TWCoinType) {
2424
ASSERT_EQ(0x0, TWCoinTypeP2shPrefix(TWCoinTypePolkadot));
2525
ASSERT_EQ(0x0, TWCoinTypeStaticPrefix(TWCoinTypePolkadot));
2626
assertStringsEqual(symbol, "DOT");
27-
assertStringsEqual(txUrl, "https://polkadot.subscan.io/extrinsic/0xb96f97d8ee508f420e606e1a6dcc74b88844713ddec2bd7cf4e3aa6b1d6beef4");
28-
assertStringsEqual(accUrl, "https://polkadot.subscan.io/account/13hJFqnkqQbmgnGQteGntjMjTdmTBRE8Z93JqxsrpgT7Yjd2");
27+
assertStringsEqual(txUrl, "https://assethub-polkadot.subscan.io/extrinsic/0x5aaaeec678ab1bd5a19d2c9bfd596037a32e3d1e831383c62f315459e85fa85d");
28+
assertStringsEqual(accUrl, "https://assethub-polkadot.subscan.io/account/13hJFqnkqQbmgnGQteGntjMjTdmTBRE8Z93JqxsrpgT7Yjd2");
2929
assertStringsEqual(id, "polkadot");
3030
assertStringsEqual(name, "Polkadot");
3131
}

0 commit comments

Comments
 (0)