set buffer and denom in configureRelayProvider
This commit is contained in:
parent
0095681f02
commit
68f23a373e
|
@ -70,21 +70,21 @@
|
|||
"chainId": 5,
|
||||
"deliverGasOverhead": "350000",
|
||||
"updatePriceGas": "7322000000",
|
||||
"updatePriceNative": "1000000",
|
||||
"updatePriceNative": "100000",
|
||||
"maximumBudget": "1000000000000000000"
|
||||
},
|
||||
{
|
||||
"chainId": 4,
|
||||
"deliverGasOverhead": "350000",
|
||||
"updatePriceGas": "30000000000",
|
||||
"updatePriceNative": "1000000",
|
||||
"updatePriceNative": "100000",
|
||||
"maximumBudget": "1000000000000000000"
|
||||
},
|
||||
{
|
||||
"chainId": 16,
|
||||
"deliverGasOverhead": "350000",
|
||||
"updatePriceGas": "10000000000",
|
||||
"updatePriceNative": "1000000",
|
||||
"updatePriceNative": "100000",
|
||||
"maximumBudget": "1000000000000000000"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -71,6 +71,7 @@ async function configureChainsRelayProvider(chain: ChainInfo) {
|
|||
await relayProvider
|
||||
.updateMaximumBudget(chains[i].chainId, targetChainPriceUpdate.maximumBudget)
|
||||
.then(wait)
|
||||
await relayProvider.updateAssetConversionBuffer(chains[i].chainId, 5, 100).then(wait)
|
||||
}
|
||||
|
||||
console.log("done with registrations on " + chain.chainId)
|
||||
|
|
Loading…
Reference in New Issue