-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
op-node: regolith fork systemtx change #4961
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One non-blocking question. Happy to merge when you're ready.
- Update system deposit tx gas limit. See ethereum-optimism/optimism#4961 - Add `ValidatorRewardRatio` argument to `setL1BlockValues`.
- Update system deposit tx gas limit. See ethereum-optimism/optimism#4961 - Add `ValidatorRewardRatio` argument to `setL1BlockValues`.
- Renaming of FeeVaults: Previously, the names of the vaults were based on the source of funds, but now they are named based on the purpose of the funds. Before: BaseFeeVault, PriorityFeeVault, RollupFeeVault After: ValidatorRewardVault, ProtocolVault, ProposerRewardVault - Supporting Validator decentralization: * Previously, the fee that meant to be burnt on Ethereum were colellected to BaseFeeVault. * With validator decentrailization, the fee is distributed to ValidatorRewardVault and ProtocolVault. * The distribution is validated on `VpRewardHook` step (Validator Protocol Reward Hook). Calcuation on the step is done as follow: e.g. Total reward = 20001, validator reward ratio = 2000 Validator reward = Floor(20001 * 2000 / 10000) = 4000 -> to ValidatorRewardVault Protocol reward = 20001 - 4000 = 16001 -> to ProtocolVault - ProposerRewardVault is similar to RollupFeeVault test) Mocking variables and functions modified: - Update system deposit tx gas limit. See ethereum-optimism/optimism#4961 - Add `ValidatorRewardRatio` argument to `setL1BlockValues`.
- Renaming of FeeVaults: Previously, the names of the vaults were based on the source of funds, but now they are named based on the purpose of the funds. Before: BaseFeeVault, PriorityFeeVault, RollupFeeVault After: ValidatorRewardVault, ProtocolVault, ProposerRewardVault - Supporting Validator decentralization: * Previously, the fee that meant to be burnt on Ethereum were colellected to BaseFeeVault. * With validator decentrailization, the fee is distributed to ValidatorRewardVault and ProtocolVault. * The distribution is validated on `VpRewardHook` step (Validator Protocol Reward Hook). Calcuation on the step is done as follow: e.g. Total reward = 20001, validator reward ratio = 2000 Validator reward = Floor(20001 * 2000 / 10000) = 4000 -> to ValidatorRewardVault Protocol reward = 20001 - 4000 = 16001 -> to ProtocolVault - ProposerRewardVault is similar to RollupFeeVault test) Mocking variables and functions modified: - Update system deposit tx gas limit. See ethereum-optimism/optimism#4961 - Add `ValidatorRewardRatio` argument to `setL1BlockValues`.
Description
Implement the Regolith
is-system-tx == false
change, and set the l1-info-tx gas to 1M gas.Tests
This only tests the derivation-pipeline change, which is a relatively small part of Regolith. Once the op-geth changes land and get pulled in as op-node dependency we can implement full e2e-tests (and update existing tests to also run regolith more).
Metadata
Fix CLI-3462