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 ??
"test test test test test test test test test test test junk";
const networkGasPriceConfig: Record<string, string> = {
"mainnet": "160",
"polygon": "50",
"avalanche": "50",
"arbitrum": "2"
const networkGasPriceConfig: Record<string, Number> = {
"mainnet": 160000000000,
"polygon": 50000000000,
"avalanche": 50000000000,
"arbitrum": 2000000000
}
function createConfig(network: string) {