increase gas estimation on polygon even more

This commit is contained in:
Bryan Stitt 2023-01-23 12:32:59 -08:00
parent 86e3f2991f
commit 56fcd68be7

View File

@ -144,12 +144,13 @@ fn main() -> anyhow::Result<()> {
}
if top_config.app.chain_id == 137 {
// TODO: these numbers are arbitrary. i think the maticnetwork/erigon fork has a bug
if top_config.app.gas_increase_min.is_none() {
top_config.app.gas_increase_min = Some(U256::from(25_000));
top_config.app.gas_increase_min = Some(U256::from(40_000));
}
if top_config.app.gas_increase_percent.is_none() {
top_config.app.gas_increase_percent = Some(U256::from(25));
top_config.app.gas_increase_percent = Some(U256::from(40));
}
}