Closed ezdac closed 6 days ago
I can reproduce the issue in my local devnet. Strangely enough, I got the correct results in a very similar setup in https://github.com/celo-org/celo-blockchain-planning/issues/626#issuecomment-2393409274. I'll try to find out what's going on.
The deprecated gasPriceOracleScalar
value gets into the BaseFeeScalar
field in the L1Info. That seems wrong, but at least it explains why I got zero values out before, since I had the gasPriceOracleScalar
set to zero too.
This is a configuration issue. gasPriceOracleScalar
must be zero if we want to use BaseFeeScalar
and BlobBaseFeeScalar
:
https://github.com/celo-org/optimism/blob/0d8613701aaacb65757a1f2e53183cd49c3465e3/op-chain-ops/genesis/config.go#L253-L255
Once gasPriceOracleScalar
is zero, both base fee scalars get communicated correctly.
Originally posted by @ezdac in https://github.com/celo-org/optimism/issues/254#issuecomment-2406145196