Compare commits

...
Author SHA1 Message Date
Thunnini 1536977473 Fix a bug related to evm chain and ledger 2022-12-21 01:55:40 +09:00
Thunnini aec2bc7fd3 Add evmos, injective 2022-12-21 01:30:50 +09:00
Thunnini ad6e806e52 Add logging before simulating 2022-12-21 01:20:27 +09:00
2 changed files with 12 additions and 0 deletions
+2
View File
@@ -81,4 +81,6 @@ export const CHAIN_ALLOWLIST =
"tgrade-mainnet-1",
"umee-1",
"vidulum-1",
"evmos_9001-2",
"injective-1",
].join(",");
+10
View File
@@ -127,6 +127,12 @@ export default function VerificationPage() {
return true;
}
if (walletKey) {
if (walletKey.isLedgerNano && chain.isEthermintLike) {
return true;
}
}
for (const registeredChain of registeredChainList) {
if (
chain.prefix === registeredChain.bech32_prefix &&
@@ -214,6 +220,8 @@ export default function VerificationPage() {
);
setRegisteredChainList(addressesQueryResponse.data.addresses);
} else {
setRegisteredChainList([]);
}
} catch (error) {
if (error instanceof Error) {
@@ -416,6 +424,8 @@ export default function VerificationPage() {
rest: REST_URL,
};
console.log(aminoMsgs);
const simulated = await simulateMsgs(
chainInfo,
walletKey.bech32Address,