converting gas values to number

This commit is contained in:
pk1411 2022-03-03 23:39:14 +05:30
parent 25288ac4b2
commit 6965116993

View File

@ -40,11 +40,11 @@ const mnemonic =
process.env.MNEMONIC ?? process.env.MNEMONIC ??
"test test test test test test test test test test test junk"; "test test test test test test test test test test test junk";
const networkGasPriceConfig: Record<string, string> = { const networkGasPriceConfig: Record<string, Number> = {
"mainnet": "160", "mainnet": 160000000000,
"polygon": "50", "polygon": 50000000000,
"avalanche": "50", "avalanche": 50000000000,
"arbitrum": "2" "arbitrum": 2000000000
} }
function createConfig(network: string) { function createConfig(network: string) {