Replies: 2 comments
-
|
https://specs.optimism.io/protocol/derivation.html#batch-format please check if this content helpful |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
These values come from L1 For L1 fee overhead and scalar, they are manually set by the chain operator in the SystemConfig contract _basefee, _l1FeeOverhead and _l1FeeScalar are together used to determine a portion of gas fee on L2 according to https://docs.optimism.io/stack/transactions/fees If you want to use these value in your contract (most use case is to access L1 block hash) you can query it from the predeployed L1Block contract on L2 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Discussion Topic
https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/src/L2/L1Block.sol#L95-L114
these value is seted by first tx(system tx) in block.
I have find in the code, fee is used by op-geth in fee stuffs. But I cann't find where and how the other values is being used.
can you tell me?
Beta Was this translation helpful? Give feedback.
All reactions