mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
converting gas values to number
This commit is contained in:
parent
25288ac4b2
commit
6965116993
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user