Minor cli tweaks

This commit is contained in:
Bruce Riley 2022-05-18 15:17:04 +00:00 committed by Evan Gray
parent f327c98646
commit f9697f7c58
4 changed files with 10 additions and 9 deletions

View File

@ -47,7 +47,7 @@ export async function execute_governance_evm(
maxFeePerGas: feeData.maxFeePerGas?.mul(50) || undefined,
maxPriorityFeePerGas: feeData.maxPriorityFeePerGas?.mul(50) || undefined,
};
} else if (chain === "klaytn") {
} else if (chain === "klaytn" || chain === "fantom") {
overrides = { gasPrice: (await signer.getGasPrice()).toString() }
}

View File

@ -9,7 +9,7 @@
"version": "1.0.0",
"dependencies": {
"@celo-tools/celo-ethers-wrapper": "^0.1.0",
"@certusone/wormhole-sdk": "^0.3.1",
"@certusone/wormhole-sdk": "^0.3.3",
"@solana/web3.js": "^1.22.0",
"@terra-money/terra.js": "^1.8.9",
"axios": "^0.24.0",
@ -542,9 +542,9 @@
}
},
"node_modules/@certusone/wormhole-sdk": {
"version": "0.3.1",
"resolved": "https://registry.npmjs.org/@certusone/wormhole-sdk/-/wormhole-sdk-0.3.1.tgz",
"integrity": "sha512-uQPuGUrDC72vwtNMxdxd2iSiu3RRx36Pvbpz3NNvaBeLz+d08oOcmJZwEAq05doRrPWB5fIWxZVCdbCF0yGucA==",
"version": "0.3.3",
"resolved": "https://registry.npmjs.org/@certusone/wormhole-sdk/-/wormhole-sdk-0.3.3.tgz",
"integrity": "sha512-huRguXX5RXOYpudeUoSycN7z9PGn9D+qzgG8N5xMayNykaKWWGgA+fzlWrsHadFcUL8Gnp2ynr757nCAxPaMuQ==",
"dependencies": {
"@improbable-eng/grpc-web": "^0.14.0",
"@solana/spl-token": "^0.1.8",
@ -10950,9 +10950,9 @@
"requires": {}
},
"@certusone/wormhole-sdk": {
"version": "0.3.1",
"resolved": "https://registry.npmjs.org/@certusone/wormhole-sdk/-/wormhole-sdk-0.3.1.tgz",
"integrity": "sha512-uQPuGUrDC72vwtNMxdxd2iSiu3RRx36Pvbpz3NNvaBeLz+d08oOcmJZwEAq05doRrPWB5fIWxZVCdbCF0yGucA==",
"version": "0.3.3",
"resolved": "https://registry.npmjs.org/@certusone/wormhole-sdk/-/wormhole-sdk-0.3.3.tgz",
"integrity": "sha512-huRguXX5RXOYpudeUoSycN7z9PGn9D+qzgG8N5xMayNykaKWWGgA+fzlWrsHadFcUL8Gnp2ynr757nCAxPaMuQ==",
"requires": {
"@improbable-eng/grpc-web": "^0.14.0",
"@solana/spl-token": "^0.1.8",

View File

@ -3,7 +3,7 @@
"version": "1.0.0",
"dependencies": {
"@celo-tools/celo-ethers-wrapper": "^0.1.0",
"@certusone/wormhole-sdk": "^0.3.1",
"@certusone/wormhole-sdk": "^0.3.3",
"@solana/web3.js": "^1.22.0",
"@terra-money/terra.js": "^1.8.9",
"axios": "^0.24.0",

View File

@ -10,6 +10,7 @@ if [ -z "$sequence" ]; then
echo "$usage"
exit 1
fi
TMPDIR="$HOME/.wormhole"
mkdir -p "$TMPDIR/vaa"
cached="$TMPDIR/vaa/$sequence"