forked from LaconicNetwork/icns-frontend
Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1536977473 | ||
|
|
aec2bc7fd3 | ||
|
|
ad6e806e52 |
@@ -81,4 +81,6 @@ export const CHAIN_ALLOWLIST =
|
||||
"tgrade-mainnet-1",
|
||||
"umee-1",
|
||||
"vidulum-1",
|
||||
"evmos_9001-2",
|
||||
"injective-1",
|
||||
].join(",");
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user