diff --git a/registry.json b/registry.json index 73b503c4fa0..8fad28fe10c 100644 --- a/registry.json +++ b/registry.json @@ -4148,7 +4148,7 @@ "coinId": 5600, "symbol": "BNB", "decimals": 18, - "chainId": "5600", + "chainId": "9000", "blockchain": "Greenfield", "derivation": [ { @@ -4162,8 +4162,8 @@ "url": "https://greenfieldscan.com", "txPath": "/tx/", "accountPath": "/account/", - "sampleTx": "9F895CF2DD64FB1F428CEFCF2A6585A813C3540FC9FE1EF42DB1DA2CB1DF55AB", - "sampleAccount": "0x9d1d97adfcd324bbd603d3872bd78e04098510b1" + "sampleTx": "0x150eac42070957115fd538b1f348fadd78d710fb641c248120efcf35d1e7e4f3", + "sampleAccount": "0xcf0f6b88ed72653b00fdebbffc90b98072cb3285" }, "info": { "url": "https://greenfield.bnbchain.org", diff --git a/samples/kmp/shared/build.gradle.kts b/samples/kmp/shared/build.gradle.kts index 8fb2eec545f..6200cda53af 100644 --- a/samples/kmp/shared/build.gradle.kts +++ b/samples/kmp/shared/build.gradle.kts @@ -35,7 +35,7 @@ kotlin { sourceSets { val commonMain by getting { dependencies { - implementation("com.trustwallet:wallet-core-kotlin:3.2.20") + implementation("com.trustwallet:wallet-core-kotlin:3.2.21") } } val commonTest by getting { diff --git a/tests/chains/Greenfield/TWCoinTypeTests.cpp b/tests/chains/Greenfield/TWCoinTypeTests.cpp index 7e1545727eb..09299b33942 100644 --- a/tests/chains/Greenfield/TWCoinTypeTests.cpp +++ b/tests/chains/Greenfield/TWCoinTypeTests.cpp @@ -19,9 +19,9 @@ TEST(TWGreenfieldCoinType, TWCoinType) { const auto id = WRAPS(TWCoinTypeConfigurationGetID(coin)); const auto name = WRAPS(TWCoinTypeConfigurationGetName(coin)); const auto chainId = WRAPS(TWCoinTypeChainId(coin)); - const auto txId = WRAPS(TWStringCreateWithUTF8Bytes("9F895CF2DD64FB1F428CEFCF2A6585A813C3540FC9FE1EF42DB1DA2CB1DF55AB")); + const auto txId = WRAPS(TWStringCreateWithUTF8Bytes("0x150eac42070957115fd538b1f348fadd78d710fb641c248120efcf35d1e7e4f3")); const auto txUrl = WRAPS(TWCoinTypeConfigurationGetTransactionURL(coin, txId.get())); - const auto accId = WRAPS(TWStringCreateWithUTF8Bytes("0x9d1d97adfcd324bbd603d3872bd78e04098510b1")); + const auto accId = WRAPS(TWStringCreateWithUTF8Bytes("0xcf0f6b88ed72653b00fdebbffc90b98072cb3285")); const auto accUrl = WRAPS(TWCoinTypeConfigurationGetAccountURL(coin, accId.get())); assertStringsEqual(id, "greenfield"); @@ -31,7 +31,7 @@ TEST(TWGreenfieldCoinType, TWCoinType) { ASSERT_EQ(TWCoinTypeBlockchain(coin), TWBlockchainGreenfield); ASSERT_EQ(TWCoinTypeP2shPrefix(coin), 0x0); ASSERT_EQ(TWCoinTypeStaticPrefix(coin), 0x0); - assertStringsEqual(chainId, "5600"); - assertStringsEqual(txUrl, "https://greenfieldscan.com/tx/9F895CF2DD64FB1F428CEFCF2A6585A813C3540FC9FE1EF42DB1DA2CB1DF55AB"); - assertStringsEqual(accUrl, "https://greenfieldscan.com/account/0x9d1d97adfcd324bbd603d3872bd78e04098510b1"); + assertStringsEqual(chainId, "9000"); + assertStringsEqual(txUrl, "https://greenfieldscan.com/tx/0x150eac42070957115fd538b1f348fadd78d710fb641c248120efcf35d1e7e4f3"); + assertStringsEqual(accUrl, "https://greenfieldscan.com/account/0xcf0f6b88ed72653b00fdebbffc90b98072cb3285"); }