You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 11, 2022. It is now read-only.
The initial gas price in docker-compose.yml also needs to be set to a reasonable value (currently at 1 wei): [https://github.com/omgnetwork/optimism-v2/blob/0b8a3f1ba81dc0d08171c6d5232877fee4571f80/ops/docker-compose.yml#L162]
The second thing is that the GAS_PRICE_ORACLE_FLOOR_PRICE and GAS_PRICE_ORACLE_ROOF_PRICE are updated for the gas-price-oracle in #244 .
Also, the gas-price-oracle updates the overhead price. However, it doesn't work in the production. I commented it out in this PR: #242{"level":30,"time":1640127268154,"overheadGas":151855912199630,"msg":"Updated overhead gas"}
The problem is solved. The root problem is GAS_PRICE_ORACLE_DECIMALS=1, which increases the L1GasFee a lot.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When contracts are deployed right after test stack startup, the cost is minor:
but if those same contracts are deployed e.g. 100 times, then at some point, each deployment costs about 10 ETH:
Notably, the
gasUsed
and thecumulativeGasUsed
are constant. Hypothesis -gas-price-oracle
setting itself to a new, higher value after a timeout?The text was updated successfully, but these errors were encountered: