Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add L1 gas cost estimation feature to L1 gas oracle #11812

Merged
merged 8 commits into from
Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/chains/evm/gas/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func NewEstimator(lggr logger.Logger, ethClient evmclient.Client, cfg Config, ge
// create l1Oracle only if it is supported for the chain
var l1Oracle rollups.L1Oracle
if rollups.IsRollupWithL1Support(cfg.ChainType()) {
l1Oracle = rollups.NewL1GasPriceOracle(lggr, ethClient, cfg.ChainType())
l1Oracle = rollups.NewL1GasOracle(lggr, ethClient, cfg.ChainType())
}
var newEstimator func(logger.Logger) EvmEstimator
switch s {
Expand Down
196 changes: 0 additions & 196 deletions core/chains/evm/gas/rollups/l1_gas_price_oracle.go

This file was deleted.

125 changes: 0 additions & 125 deletions core/chains/evm/gas/rollups/l1_gas_price_oracle_test.go

This file was deleted.

Loading
Loading