@aztec-foundation/l1-artifacts 6.0.0-rc.2 → 6.0.0-rc.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dest/AttesterExitExtLibAbi.d.ts +12 -48
- package/dest/AttesterExitExtLibAbi.d.ts.map +1 -1
- package/dest/AttesterExitExtLibAbi.js +16 -64
- package/dest/AttesterExitExtLibAbi.js.map +1 -1
- package/dest/AttesterExitExtLibBytecode.d.ts +1 -1
- package/dest/AttesterExitExtLibBytecode.js +1 -1
- package/dest/CoinIssuerAbi.d.ts +12 -48
- package/dest/CoinIssuerAbi.d.ts.map +1 -1
- package/dest/CoinIssuerAbi.js +16 -64
- package/dest/CoinIssuerAbi.js.map +1 -1
- package/dest/DateGatedRelayerAbi.d.ts +12 -48
- package/dest/DateGatedRelayerAbi.d.ts.map +1 -1
- package/dest/DateGatedRelayerAbi.js +16 -64
- package/dest/DateGatedRelayerAbi.js.map +1 -1
- package/dest/EmpireBaseAbi.d.ts +12 -48
- package/dest/EmpireBaseAbi.d.ts.map +1 -1
- package/dest/EmpireBaseAbi.js +16 -64
- package/dest/EmpireBaseAbi.js.map +1 -1
- package/dest/EpochProofExtLibAbi.d.ts +12 -48
- package/dest/EpochProofExtLibAbi.d.ts.map +1 -1
- package/dest/EpochProofExtLibAbi.js +16 -64
- package/dest/EpochProofExtLibAbi.js.map +1 -1
- package/dest/EpochProofExtLibBytecode.d.ts +1 -1
- package/dest/EpochProofExtLibBytecode.d.ts.map +1 -1
- package/dest/EpochProofExtLibBytecode.js +1 -1
- package/dest/EpochProofExtLibBytecode.js.map +1 -1
- package/dest/ErrorsAbi.d.ts +12 -48
- package/dest/ErrorsAbi.d.ts.map +1 -1
- package/dest/ErrorsAbi.js +16 -64
- package/dest/ErrorsAbi.js.map +1 -1
- package/dest/EscapeHatchAbi.d.ts +12 -48
- package/dest/EscapeHatchAbi.d.ts.map +1 -1
- package/dest/EscapeHatchAbi.js +16 -64
- package/dest/EscapeHatchAbi.js.map +1 -1
- package/dest/EscapeHatchBytecode.d.ts +1 -1
- package/dest/EscapeHatchBytecode.js +1 -1
- package/dest/EscapeHatchStorage.d.ts +2 -2
- package/dest/EscapeHatchStorage.js +2 -2
- package/dest/FeeAssetHandlerAbi.d.ts +12 -48
- package/dest/FeeAssetHandlerAbi.d.ts.map +1 -1
- package/dest/FeeAssetHandlerAbi.js +16 -64
- package/dest/FeeAssetHandlerAbi.js.map +1 -1
- package/dest/FeeJuicePortalAbi.d.ts +12 -48
- package/dest/FeeJuicePortalAbi.d.ts.map +1 -1
- package/dest/FeeJuicePortalAbi.js +16 -64
- package/dest/FeeJuicePortalAbi.js.map +1 -1
- package/dest/FeeJuicePortalBytecode.d.ts +1 -1
- package/dest/FeeJuicePortalBytecode.js +1 -1
- package/dest/GSEAbi.d.ts +12 -48
- package/dest/GSEAbi.d.ts.map +1 -1
- package/dest/GSEAbi.js +16 -64
- package/dest/GSEAbi.js.map +1 -1
- package/dest/GovernanceAbi.d.ts +12 -48
- package/dest/GovernanceAbi.d.ts.map +1 -1
- package/dest/GovernanceAbi.js +16 -64
- package/dest/GovernanceAbi.js.map +1 -1
- package/dest/GovernanceProposerAbi.d.ts +12 -48
- package/dest/GovernanceProposerAbi.d.ts.map +1 -1
- package/dest/GovernanceProposerAbi.js +16 -64
- package/dest/GovernanceProposerAbi.js.map +1 -1
- package/dest/HonkVerifierAbi.d.ts +12 -48
- package/dest/HonkVerifierAbi.d.ts.map +1 -1
- package/dest/HonkVerifierAbi.js +16 -64
- package/dest/HonkVerifierAbi.js.map +1 -1
- package/dest/IERC20Abi.d.ts +12 -48
- package/dest/IERC20Abi.d.ts.map +1 -1
- package/dest/IERC20Abi.js +16 -64
- package/dest/IERC20Abi.js.map +1 -1
- package/dest/ISequencerRewardCalculatorAbi.d.ts +2607 -0
- package/dest/ISequencerRewardCalculatorAbi.d.ts.map +1 -0
- package/dest/ISequencerRewardCalculatorAbi.js +3473 -0
- package/dest/ISequencerRewardCalculatorAbi.js.map +1 -0
- package/dest/ISequencerRewardCalculatorBytecode.d.ts +9 -0
- package/dest/ISequencerRewardCalculatorBytecode.d.ts.map +1 -0
- package/dest/ISequencerRewardCalculatorBytecode.js +9 -0
- package/dest/ISequencerRewardCalculatorBytecode.js.map +1 -0
- package/dest/IVerifierAbi.d.ts +12 -48
- package/dest/IVerifierAbi.d.ts.map +1 -1
- package/dest/IVerifierAbi.js +16 -64
- package/dest/IVerifierAbi.js.map +1 -1
- package/dest/InboxAbi.d.ts +12 -48
- package/dest/InboxAbi.d.ts.map +1 -1
- package/dest/InboxAbi.js +16 -64
- package/dest/InboxAbi.js.map +1 -1
- package/dest/InboxBytecode.d.ts +1 -1
- package/dest/InboxBytecode.js +1 -1
- package/dest/MockVerifierAbi.d.ts +12 -48
- package/dest/MockVerifierAbi.d.ts.map +1 -1
- package/dest/MockVerifierAbi.js +16 -64
- package/dest/MockVerifierAbi.js.map +1 -1
- package/dest/MockZKPassportVerifierAbi.d.ts +12 -48
- package/dest/MockZKPassportVerifierAbi.d.ts.map +1 -1
- package/dest/MockZKPassportVerifierAbi.js +16 -64
- package/dest/MockZKPassportVerifierAbi.js.map +1 -1
- package/dest/MultiAdderAbi.d.ts +12 -48
- package/dest/MultiAdderAbi.d.ts.map +1 -1
- package/dest/MultiAdderAbi.js +16 -64
- package/dest/MultiAdderAbi.js.map +1 -1
- package/dest/MultiAdderBytecode.d.ts +1 -1
- package/dest/MultiAdderBytecode.js +1 -1
- package/dest/NewGovernanceProposerPayloadAbi.d.ts +12 -48
- package/dest/NewGovernanceProposerPayloadAbi.d.ts.map +1 -1
- package/dest/NewGovernanceProposerPayloadAbi.js +16 -64
- package/dest/NewGovernanceProposerPayloadAbi.js.map +1 -1
- package/dest/OutboxAbi.d.ts +12 -48
- package/dest/OutboxAbi.d.ts.map +1 -1
- package/dest/OutboxAbi.js +16 -64
- package/dest/OutboxAbi.js.map +1 -1
- package/dest/OutboxBytecode.d.ts +1 -1
- package/dest/OutboxBytecode.js +1 -1
- package/dest/RegisterNewRollupVersionPayloadAbi.d.ts +12 -48
- package/dest/RegisterNewRollupVersionPayloadAbi.d.ts.map +1 -1
- package/dest/RegisterNewRollupVersionPayloadAbi.js +16 -64
- package/dest/RegisterNewRollupVersionPayloadAbi.js.map +1 -1
- package/dest/RegisterNewRollupVersionPayloadBytecode.d.ts +1 -1
- package/dest/RegisterNewRollupVersionPayloadBytecode.js +1 -1
- package/dest/RegistryAbi.d.ts +12 -48
- package/dest/RegistryAbi.d.ts.map +1 -1
- package/dest/RegistryAbi.js +16 -64
- package/dest/RegistryAbi.js.map +1 -1
- package/dest/RewardDistributorAbi.d.ts +12 -48
- package/dest/RewardDistributorAbi.d.ts.map +1 -1
- package/dest/RewardDistributorAbi.js +16 -64
- package/dest/RewardDistributorAbi.js.map +1 -1
- package/dest/RewardExtLibAbi.d.ts +59 -48
- package/dest/RewardExtLibAbi.d.ts.map +1 -1
- package/dest/RewardExtLibAbi.js +77 -64
- package/dest/RewardExtLibAbi.js.map +1 -1
- package/dest/RewardExtLibBytecode.d.ts +1 -1
- package/dest/RewardExtLibBytecode.d.ts.map +1 -1
- package/dest/RewardExtLibBytecode.js +1 -1
- package/dest/RewardExtLibBytecode.js.map +1 -1
- package/dest/RollupAbi.d.ts +72 -79
- package/dest/RollupAbi.d.ts.map +1 -1
- package/dest/RollupAbi.js +93 -104
- package/dest/RollupAbi.js.map +1 -1
- package/dest/RollupBytecode.d.ts +91 -82
- package/dest/RollupBytecode.d.ts.map +1 -1
- package/dest/RollupBytecode.js +94 -82
- package/dest/RollupBytecode.js.map +1 -1
- package/dest/RollupOperationsExtLibAbi.d.ts +12 -48
- package/dest/RollupOperationsExtLibAbi.d.ts.map +1 -1
- package/dest/RollupOperationsExtLibAbi.js +16 -64
- package/dest/RollupOperationsExtLibAbi.js.map +1 -1
- package/dest/RollupOperationsExtLibBytecode.d.ts +1 -1
- package/dest/RollupOperationsExtLibBytecode.d.ts.map +1 -1
- package/dest/RollupOperationsExtLibBytecode.js +1 -1
- package/dest/RollupOperationsExtLibBytecode.js.map +1 -1
- package/dest/RollupStorage.d.ts +2 -2
- package/dest/RollupStorage.js +2 -2
- package/dest/SlasherAbi.d.ts +12 -48
- package/dest/SlasherAbi.d.ts.map +1 -1
- package/dest/SlasherAbi.js +16 -64
- package/dest/SlasherAbi.js.map +1 -1
- package/dest/SlasherDeploymentExtLibAbi.d.ts +12 -48
- package/dest/SlasherDeploymentExtLibAbi.d.ts.map +1 -1
- package/dest/SlasherDeploymentExtLibAbi.js +16 -64
- package/dest/SlasherDeploymentExtLibAbi.js.map +1 -1
- package/dest/SlasherDeploymentExtLibBytecode.d.ts +1 -1
- package/dest/SlasherDeploymentExtLibBytecode.d.ts.map +1 -1
- package/dest/SlasherDeploymentExtLibBytecode.js +1 -1
- package/dest/SlasherDeploymentExtLibBytecode.js.map +1 -1
- package/dest/SlashingProposerAbi.d.ts +12 -48
- package/dest/SlashingProposerAbi.d.ts.map +1 -1
- package/dest/SlashingProposerAbi.js +16 -64
- package/dest/SlashingProposerAbi.js.map +1 -1
- package/dest/SlashingProposerBytecode.d.ts +1 -1
- package/dest/SlashingProposerBytecode.js +1 -1
- package/dest/StakingAssetHandlerAbi.d.ts +12 -48
- package/dest/StakingAssetHandlerAbi.d.ts.map +1 -1
- package/dest/StakingAssetHandlerAbi.js +16 -64
- package/dest/StakingAssetHandlerAbi.js.map +1 -1
- package/dest/TestERC20Abi.d.ts +12 -48
- package/dest/TestERC20Abi.d.ts.map +1 -1
- package/dest/TestERC20Abi.js +16 -64
- package/dest/TestERC20Abi.js.map +1 -1
- package/dest/TokenPortalAbi.d.ts +12 -48
- package/dest/TokenPortalAbi.d.ts.map +1 -1
- package/dest/TokenPortalAbi.js +16 -64
- package/dest/TokenPortalAbi.js.map +1 -1
- package/dest/TokenPortalBytecode.d.ts +1 -1
- package/dest/TokenPortalBytecode.js +1 -1
- package/dest/UniswapPortalAbi.d.ts +12 -48
- package/dest/UniswapPortalAbi.d.ts.map +1 -1
- package/dest/UniswapPortalAbi.js +16 -64
- package/dest/UniswapPortalAbi.js.map +1 -1
- package/dest/UniswapPortalBytecode.d.ts +1 -1
- package/dest/UniswapPortalBytecode.js +1 -1
- package/dest/ValidatorOperationsExtLibAbi.d.ts +12 -48
- package/dest/ValidatorOperationsExtLibAbi.d.ts.map +1 -1
- package/dest/ValidatorOperationsExtLibAbi.js +16 -64
- package/dest/ValidatorOperationsExtLibAbi.js.map +1 -1
- package/dest/ValidatorOperationsExtLibBytecode.d.ts +1 -1
- package/dest/ValidatorOperationsExtLibBytecode.d.ts.map +1 -1
- package/dest/ValidatorOperationsExtLibBytecode.js +1 -1
- package/dest/ValidatorOperationsExtLibBytecode.js.map +1 -1
- package/dest/ValidatorSelectionLibAbi.d.ts +12 -48
- package/dest/ValidatorSelectionLibAbi.d.ts.map +1 -1
- package/dest/ValidatorSelectionLibAbi.js +16 -64
- package/dest/ValidatorSelectionLibAbi.js.map +1 -1
- package/dest/ValidatorSelectionLibBytecode.d.ts +1 -1
- package/dest/ValidatorSelectionLibBytecode.js +1 -1
- package/dest/checksum.d.ts +1 -1
- package/dest/checksum.js +1 -1
- package/dest/index.d.ts +2 -0
- package/dest/index.d.ts.map +1 -1
- package/dest/index.js +2 -0
- package/dest/index.js.map +1 -1
- package/l1-contracts/cache/solidity-files-cache.json +1 -1
- package/l1-contracts/foundry.toml +1 -1
- package/l1-contracts/out/AddressSnapshotLib.sol/AddressSnapshotLib.json +1 -1
- package/l1-contracts/out/AttestationLib.sol/AttestationLib.json +1 -1
- package/l1-contracts/out/AttesterExitExtLib.sol/AttesterExitExtLib.json +1 -1
- package/l1-contracts/out/BN254Lib.sol/BN254Lib.json +1 -1
- package/l1-contracts/out/Ballot.sol/BallotLib.json +1 -1
- package/l1-contracts/out/BlobLib.sol/BlobLib.json +1 -1
- package/l1-contracts/out/Bn254LibWrapper.sol/Bn254LibWrapper.json +1 -1
- package/l1-contracts/out/CheckpointLog.sol/CompressedTempCheckpointLogLib.json +1 -1
- package/l1-contracts/out/CheckpointedUintLib.sol/CheckpointedUintLib.json +1 -1
- package/l1-contracts/out/CoinIssuer.sol/CoinIssuer.json +1 -1
- package/l1-contracts/out/CompressedTimeMath.sol/CompressedTimeMath.json +1 -1
- package/l1-contracts/out/Configuration.sol/CompressedConfigurationLib.json +1 -1
- package/l1-contracts/out/ConfigurationLib.sol/ConfigurationLib.json +1 -1
- package/l1-contracts/out/ConstantsGen.sol/Constants.json +1 -1
- package/l1-contracts/out/CoordinationSignatureLib.sol/CoordinationSignatureLib.json +1 -1
- package/l1-contracts/out/DataStructures.sol/DataStructures.json +1 -1
- package/l1-contracts/out/DateGatedRelayer.sol/DateGatedRelayer.json +1 -1
- package/l1-contracts/out/DeployAztecL1Contracts.s.sol/DeployAztecL1Contracts.json +1 -1
- package/l1-contracts/out/DeployRollupForUpgrade.s.sol/DeployRollupForUpgrade.json +1 -1
- package/l1-contracts/out/DeployRollupLib.sol/DeployRollupLib.json +1 -1
- package/l1-contracts/out/DeploymentConfiguration.sol/DeploymentConfiguration.json +1 -1
- package/l1-contracts/out/DeploymentConfiguration.sol/IDeploymentConfiguration.json +1 -1
- package/l1-contracts/out/DepositDelegationLib.sol/DepositDelegationLib.json +1 -1
- package/l1-contracts/out/EmpireBase.sol/EmpireBase.json +1 -1
- package/l1-contracts/out/EpochProofExtLib.sol/EpochProofExtLib.json +1 -1
- package/l1-contracts/out/EpochProofLib.sol/EpochProofLib.json +1 -1
- package/l1-contracts/out/Errors.sol/Errors.json +1 -1
- package/l1-contracts/out/EscapeHatch.sol/EscapeHatch.json +1 -1
- package/l1-contracts/out/FeeAssetHandler.sol/FeeAssetHandler.json +1 -1
- package/l1-contracts/out/FeeAssetHandler.sol/IFeeAssetHandler.json +1 -1
- package/l1-contracts/out/FeeConfig.sol/FeeConfigLib.json +1 -1
- package/l1-contracts/out/FeeConfig.sol/PriceLib.json +1 -1
- package/l1-contracts/out/FeeJuicePortal.sol/FeeJuicePortal.json +1 -1
- package/l1-contracts/out/FeeLib.sol/FeeLib.json +1 -1
- package/l1-contracts/out/FeeStructs.sol/FeeHeaderLib.json +1 -1
- package/l1-contracts/out/FeeStructs.sol/FeeStructsLib.json +1 -1
- package/l1-contracts/out/FieldLib.sol/FieldLib.json +1 -1
- package/l1-contracts/out/FlushRewarder.sol/FlushRewarder.json +1 -1
- package/l1-contracts/out/GSE.sol/GSE.json +1 -1
- package/l1-contracts/out/GSE.sol/GSECore.json +1 -1
- package/l1-contracts/out/GSE.sol/IGSE.json +1 -1
- package/l1-contracts/out/GSE.sol/IGSECore.json +1 -1
- package/l1-contracts/out/GSEPayload.sol/GSEPayload.json +1 -1
- package/l1-contracts/out/Governance.sol/Governance.json +1 -1
- package/l1-contracts/out/GovernanceProposer.sol/GovernanceProposer.json +1 -1
- package/l1-contracts/out/Hash.sol/Hash.json +1 -1
- package/l1-contracts/out/HonkVerifier.sol/HonkVerifier.json +1 -1
- package/l1-contracts/out/IBn254LibWrapper.sol/IBn254LibWrapper.json +1 -1
- package/l1-contracts/out/ICoinIssuer.sol/ICoinIssuer.json +1 -1
- package/l1-contracts/out/IDateGatedRelayer.sol/IDateGatedRelayer.json +1 -1
- package/l1-contracts/out/IEmpire.sol/IEmperor.json +1 -1
- package/l1-contracts/out/IEmpire.sol/IEmpire.json +1 -1
- package/l1-contracts/out/IFeeJuicePortal.sol/IFeeJuicePortal.json +1 -1
- package/l1-contracts/out/IFlushRewarder.sol/IFlushRewarder.json +1 -1
- package/l1-contracts/out/IGovernance.sol/IGovernance.json +1 -1
- package/l1-contracts/out/IGovernanceProposer.sol/IGovernanceProposer.json +1 -1
- package/l1-contracts/out/IInbox.sol/IInbox.json +1 -1
- package/l1-contracts/out/IInstance.sol/IInstance.json +1 -1
- package/l1-contracts/out/IMintableERC20.sol/IMintableERC20.json +1 -1
- package/l1-contracts/out/IOutbox.sol/IOutbox.json +1 -1
- package/l1-contracts/out/IPayload.sol/IPayload.json +1 -1
- package/l1-contracts/out/IProposerPayload.sol/IProposerPayload.json +1 -1
- package/l1-contracts/out/IRegistry.sol/IHaveVersion.json +1 -1
- package/l1-contracts/out/IRegistry.sol/IRegistry.json +1 -1
- package/l1-contracts/out/IRewardDistributor.sol/IRewardDistributor.json +1 -1
- package/l1-contracts/out/IRollup.sol/IRollup.json +1 -1
- package/l1-contracts/out/IRollup.sol/IRollupCore.json +1 -1
- package/l1-contracts/out/IRootRegistry.sol/IRootRegistry.json +1 -1
- package/l1-contracts/out/ISequencerRewardCalculator.sol/ISequencerRewardCalculator.json +1 -0
- package/l1-contracts/out/ISlasher.sol/ISlasher.json +1 -1
- package/l1-contracts/out/IStaking.sol/IStaking.json +1 -1
- package/l1-contracts/out/IStaking.sol/IStakingCore.json +1 -1
- package/l1-contracts/out/IValidatorSelection.sol/IValidatorSelection.json +1 -1
- package/l1-contracts/out/IValidatorSelection.sol/IValidatorSelectionCore.json +1 -1
- package/l1-contracts/out/IVerifier.sol/IVerifier.json +1 -1
- package/l1-contracts/out/Inbox.sol/Inbox.json +1 -1
- package/l1-contracts/out/InputsExtractor.sol/InputsExtractor.json +1 -1
- package/l1-contracts/out/InvalidateLib.sol/InvalidateLib.json +1 -1
- package/l1-contracts/out/MerkleLib.sol/MerkleLib.json +1 -1
- package/l1-contracts/out/MockERC20.sol/MockERC20.json +1 -1
- package/l1-contracts/out/MockERC721.sol/MockERC721.json +1 -1
- package/l1-contracts/out/MockFeeJuicePortal.sol/MockFeeJuicePortal.json +1 -1
- package/l1-contracts/out/MockVerifier.sol/MockVerifier.json +1 -1
- package/l1-contracts/out/MockZKPassportVerifier.sol/IZKPassportVerifier.json +1 -1
- package/l1-contracts/out/MockZKPassportVerifier.sol/MockZKPassportVerifier.json +1 -1
- package/l1-contracts/out/MultiAdder.sol/IMultiAdder.json +1 -1
- package/l1-contracts/out/MultiAdder.sol/MultiAdder.json +1 -1
- package/l1-contracts/out/Outbox.sol/Outbox.json +1 -1
- package/l1-contracts/out/OuterCount8.sol/HonkVerifier.json +1 -1
- package/l1-contracts/out/Proposal.sol/CompressedProposalLib.json +1 -1
- package/l1-contracts/out/ProposalLib.sol/ProposalLib.json +1 -1
- package/l1-contracts/out/ProposeLib.sol/ProposeLib.json +1 -1
- package/l1-contracts/out/ProposedHeaderLib.sol/ProposedHeaderLib.json +1 -1
- package/l1-contracts/out/RegisterNewRollupVersionPayload.sol/RegisterNewRollupVersionPayload.json +1 -1
- package/l1-contracts/out/Registry.sol/Registry.json +1 -1
- package/l1-contracts/out/RewardBooster.sol/IBooster.json +1 -1
- package/l1-contracts/out/RewardBooster.sol/IBoosterCore.json +1 -1
- package/l1-contracts/out/RewardBooster.sol/RewardBooster.json +1 -1
- package/l1-contracts/out/RewardDistributor.sol/RewardDistributor.json +1 -1
- package/l1-contracts/out/RewardExtLib.sol/RewardExtLib.json +1 -1
- package/l1-contracts/out/RewardLib.sol/BpsLib.json +1 -1
- package/l1-contracts/out/RewardLib.sol/RewardLib.json +1 -1
- package/l1-contracts/out/Rollup.sol/Rollup.json +1 -1
- package/l1-contracts/out/RollupConfiguration.sol/IRollupConfiguration.json +1 -1
- package/l1-contracts/out/RollupConfiguration.sol/RollupConfiguration.json +1 -1
- package/l1-contracts/out/RollupCore.sol/RollupCore.json +1 -1
- package/l1-contracts/out/RollupOperationsExtLib.sol/RollupOperationsExtLib.json +1 -1
- package/l1-contracts/out/STFLib.sol/STFLib.json +1 -1
- package/l1-contracts/out/SampleLib.sol/SampleLib.json +1 -1
- package/l1-contracts/out/SequencerRewardCalculatorLib.sol/SequencerRewardCalculatorLib.json +1 -0
- package/l1-contracts/out/SignatureLib.sol/SignatureLib.json +1 -1
- package/l1-contracts/out/SlashPayload.sol/SlashPayload.json +1 -1
- package/l1-contracts/out/SlashPayloadCloneable.sol/SlashPayloadCloneable.json +1 -1
- package/l1-contracts/out/SlashPayloadLib.sol/SlashPayloadLib.json +1 -1
- package/l1-contracts/out/SlashRoundLib.sol/CompressedSlashRoundMath.json +1 -1
- package/l1-contracts/out/Slasher.sol/Slasher.json +1 -1
- package/l1-contracts/out/SlasherDeploymentExtLib.sol/SlasherDeploymentExtLib.json +1 -1
- package/l1-contracts/out/SlashingProposer.sol/SlashingProposer.json +1 -1
- package/l1-contracts/out/StakingAssetHandler.sol/IStakingAssetHandler.json +1 -1
- package/l1-contracts/out/StakingAssetHandler.sol/StakingAssetHandler.json +1 -1
- package/l1-contracts/out/StakingLib.sol/StakingLib.json +1 -1
- package/l1-contracts/out/StakingQueue.sol/StakingQueueLib.json +1 -1
- package/l1-contracts/out/StakingQueueConfig.sol/StakingQueueConfigLib.json +1 -1
- package/l1-contracts/out/StdError.sol/stdError.json +1 -1
- package/l1-contracts/out/TestERC20.sol/TestERC20.json +1 -1
- package/l1-contracts/out/TestPayloads.sol/CallAssetPayload.json +1 -1
- package/l1-contracts/out/TestPayloads.sol/CallRevertingPayload.json +1 -1
- package/l1-contracts/out/TestPayloads.sol/EmptyPayload.json +1 -1
- package/l1-contracts/out/TestPayloads.sol/FakeRollup.json +1 -1
- package/l1-contracts/out/TestPayloads.sol/RevertingCall.json +1 -1
- package/l1-contracts/out/TestPayloads.sol/UpgradePayload.json +1 -1
- package/l1-contracts/out/TimeLib.sol/TimeLib.json +1 -1
- package/l1-contracts/out/Tips.sol/ChainTipsLib.json +1 -1
- package/l1-contracts/out/ValidatorOperationsExtLib.sol/ValidatorOperationsExtLib.json +1 -1
- package/l1-contracts/out/ValidatorSelectionLib.sol/ValidatorSelectionLib.json +1 -1
- package/l1-contracts/out/ZKPassportHelper.sol/ZKPassportHelper.json +1 -1
- package/l1-contracts/out/ZKPassportRootVerifier.sol/ZKPassportRootVerifier.json +1 -1
- package/l1-contracts/out/ZKPassportSubVerifier.sol/ZKPassportSubVerifier.json +1 -1
- package/l1-contracts/out/build-info/4cb7b5442b848dcc.json +1 -0
- package/l1-contracts/out/generated/HonkVerifier.sol/HonkVerifier.json +1 -1
- package/l1-contracts/out/libraries/Errors.sol/Errors.json +1 -1
- package/l1-contracts/out/rollup/BlobLib.sol/BlobLib.json +1 -1
- package/l1-contracts/out/src/ZKPassportHelper.sol/ZKPassportHelper.json +1 -1
- package/l1-contracts/out/src/ZKPassportRootVerifier.sol/ZKPassportRootVerifier.json +1 -1
- package/l1-contracts/out/src/ZKPassportSubVerifier.sol/ZKPassportSubVerifier.json +1 -1
- package/l1-contracts/script/deploy/RollupConfiguration.sol +5 -19
- package/l1-contracts/scripts/network-defaults.json +1 -2
- package/l1-contracts/src/core/Rollup.sol +18 -12
- package/l1-contracts/src/core/RollupCore.sol +14 -27
- package/l1-contracts/src/core/interfaces/IRollup.sol +7 -11
- package/l1-contracts/src/core/interfaces/ISequencerRewardCalculator.sol +39 -0
- package/l1-contracts/src/core/interfaces/IValidatorSelection.sol +0 -2
- package/l1-contracts/src/core/libraries/Errors.sol +3 -6
- package/l1-contracts/src/core/libraries/rollup/BlobLib.sol +16 -6
- package/l1-contracts/src/core/libraries/rollup/EpochProofExtLib.sol +2 -7
- package/l1-contracts/src/core/libraries/rollup/EpochProofLib.sol +4 -12
- package/l1-contracts/src/core/libraries/rollup/RewardExtLib.sol +30 -12
- package/l1-contracts/src/core/libraries/rollup/RewardLib.sol +187 -250
- package/l1-contracts/src/core/libraries/rollup/SequencerRewardCalculatorLib.sol +110 -0
- package/l1-contracts/src/core/libraries/rollup/ValidatorSelectionLib.sol +2 -4
- package/package.json +1 -1
- package/l1-contracts/out/RewardLib.sol/IATP.json +0 -1
- package/l1-contracts/out/RewardLib.sol/IATPStaker.json +0 -1
- package/l1-contracts/out/build-info/f88e638ee47a1ead.json +0 -1
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
2
|
+
// Copyright 2026 Aztec Labs.
|
|
3
|
+
pragma solidity >=0.8.27;
|
|
4
|
+
|
|
5
|
+
import {Epoch} from "@aztec/core/libraries/TimeLib.sol";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* @title ISequencerRewardCalculator
|
|
9
|
+
* @author Aztec Labs
|
|
10
|
+
* @notice Governance-set policy contract that decides the sequencer reward of each newly proven checkpoint.
|
|
11
|
+
*
|
|
12
|
+
* @dev The rollup calls {getSequencerRewards} once per epoch proof that newly covers checkpoints, through a
|
|
13
|
+
* `staticcall` with a fixed gas stipend of `CALCULATOR_GAS_BASE + CALCULATOR_GAS_PER_CHECKPOINT * n`, where
|
|
14
|
+
* `n` is the number of proposers passed. The rollup accepts the response only if the call succeeds, the
|
|
15
|
+
* return data is exactly the ABI encoding of a `uint256[]` of length `n` (`64 + 32 * n` bytes, offset 32), and
|
|
16
|
+
* every value is at most `MAX_SEQUENCER_REWARD_PER_CHECKPOINT`. Any other outcome, including running out of
|
|
17
|
+
* the stipend, pays the default reward to every checkpoint. See `SequencerRewardCalculatorLib`.
|
|
18
|
+
*
|
|
19
|
+
* The calling rollup is `msg.sender`; the calculator MAY read any rollup or GSE state it needs. State is read
|
|
20
|
+
* when the proof lands, not when the checkpoints were proposed.
|
|
21
|
+
*/
|
|
22
|
+
interface ISequencerRewardCalculator {
|
|
23
|
+
/**
|
|
24
|
+
* @notice Returns the sequencer reward of each newly proven checkpoint of an epoch proof
|
|
25
|
+
* @dev The rollup passes one entry per checkpoint, including repeated proposers; deduplication, caching and any
|
|
26
|
+
* lookups are the calculator's responsibility. MUST be a view.
|
|
27
|
+
* @param _epoch The epoch whose checkpoints are being rewarded
|
|
28
|
+
* @param _proposers One attester address per newly proven checkpoint, in checkpoint order
|
|
29
|
+
* @param _defaultReward The default sequencer reward per checkpoint (`checkpointReward * sequencerBps / 10_000`)
|
|
30
|
+
* @param _checkpointReward The total checkpoint reward (sequencer share plus prover share)
|
|
31
|
+
* @return rewards One sequencer reward per entry of `_proposers`, in the same order
|
|
32
|
+
*/
|
|
33
|
+
function getSequencerRewards(
|
|
34
|
+
Epoch _epoch,
|
|
35
|
+
address[] calldata _proposers,
|
|
36
|
+
uint256 _defaultReward,
|
|
37
|
+
uint256 _checkpointReward
|
|
38
|
+
) external view returns (uint256[] memory rewards);
|
|
39
|
+
}
|
|
@@ -7,8 +7,6 @@ import {IEmperor} from "@aztec/governance/interfaces/IEmpire.sol";
|
|
|
7
7
|
import {Timestamp, Slot, Epoch} from "@aztec/shared/libraries/TimeMath.sol";
|
|
8
8
|
import {Checkpoints} from "@oz/utils/structs/Checkpoints.sol";
|
|
9
9
|
|
|
10
|
-
uint256 constant MAXIMUM_COMMITTEE_SIZE = 256;
|
|
11
|
-
|
|
12
10
|
struct ValidatorSelectionStorage {
|
|
13
11
|
// A mapping to snapshots of the validator set
|
|
14
12
|
mapping(Epoch => bytes32 committeeCommitment) committeeCommitments;
|
|
@@ -238,15 +238,12 @@ library Errors {
|
|
|
238
238
|
error RewardBooster__InvalidConfig();
|
|
239
239
|
|
|
240
240
|
error RewardLib__InvalidSequencerBps();
|
|
241
|
-
error RewardLib__InvalidRegistryRewardOverride(address registry, uint256 sequencerReward);
|
|
242
|
-
error RewardLib__DuplicateRegistryRewardOverride(address registry);
|
|
243
|
-
error RewardLib__RegistryRewardOverrideAboveDefault(
|
|
244
|
-
address registry, uint256 sequencerReward, uint256 defaultSequencerReward
|
|
245
|
-
);
|
|
246
|
-
error RewardLib__CheckpointRewardsAboveMaximum(uint256 checkpointRewards, uint256 maximumCheckpointRewards);
|
|
247
241
|
error RewardLib__ZeroShares(address prover);
|
|
248
242
|
error RewardLib__InvalidProtocolFeeRecipient();
|
|
249
243
|
|
|
244
|
+
// SequencerRewardCalculatorLib
|
|
245
|
+
error SequencerRewardCalculatorLib__InsufficientGas(uint256 required, uint256 available);
|
|
246
|
+
|
|
250
247
|
// SlashingProposer
|
|
251
248
|
error SlashingProposer__InvalidSignature();
|
|
252
249
|
error SlashingProposer__InvalidVoteLength(uint256 expected, uint256 actual);
|
|
@@ -114,8 +114,9 @@ library BlobLib {
|
|
|
114
114
|
// which are different values:
|
|
115
115
|
// - blobsHash := sha256([blobhash_0, ..., blobhash_m]) = a hash of all blob hashes in a checkpoint with m+1 blobs
|
|
116
116
|
// inserted into the header, exists so a user can cross check blobs.
|
|
117
|
-
// - blobCommitmentsHash := sha256( ...sha256(sha256(C_0), C_1) ... C_n) = iteratively calculated
|
|
118
|
-
// commitments in an epoch with n+1 blobs
|
|
117
|
+
// - blobCommitmentsHash := sha256( ...sha256(sha256(s_0, C_0), s_1, C_1) ... s_n, C_n) = iteratively calculated
|
|
118
|
+
// hash of all blob commitments in an epoch with n+1 blobs, where s_i is the byte 0x01 for each checkpoint's first
|
|
119
|
+
// blob and 0x00 otherwise (see calculateBlobCommitmentsHash()),
|
|
119
120
|
// exists so we can validate injected commitments to the rollup circuits correspond to the correct real blobs.
|
|
120
121
|
// We may be able to combine these values e.g. blobCommitmentsHash := sha256( ...sha256(sha256(blobshash_0),
|
|
121
122
|
// blobshash_1) ... blobshash_l) for an epoch with l+1 checkpoints.
|
|
@@ -157,11 +158,16 @@ library BlobLib {
|
|
|
157
158
|
* @param _isFirstCheckpointOfEpoch - Whether this checkpoint is the first of an epoch (see below).
|
|
158
159
|
*
|
|
159
160
|
* The blobCommitmentsHash is an accumulated value calculated in the rollup circuits as:
|
|
160
|
-
* blobCommitmentsHash_i := sha256(blobCommitmentsHash_(i - 1), C_i)
|
|
161
|
+
* blobCommitmentsHash_i := sha256(blobCommitmentsHash_(i - 1), s_i, C_i)
|
|
161
162
|
* for each blob commitment C_i in an epoch. For the first blob in the epoch (i = 0):
|
|
162
|
-
* blobCommitmentsHash_i := sha256(C_0)
|
|
163
|
+
* blobCommitmentsHash_i := sha256(0x01, C_0)
|
|
163
164
|
* which is why we require _isFirstCheckpointOfEpoch here.
|
|
164
165
|
*
|
|
166
|
+
* s_i is one byte (abi.encodePacked encodes a bool as one byte): 0x01 for the first blob of each checkpoint, i.e. the
|
|
167
|
+
* first commitment passed to each call here, and 0x00 otherwise. The circuits derive it from each checkpoint's own
|
|
168
|
+
* data, so the final hash binds which checkpoint each blob was proposed with, not only the order of the epoch's
|
|
169
|
+
* blobs.
|
|
170
|
+
*
|
|
165
171
|
* Each blob commitment is injected into the rollup circuits and we rely on the L1 contracts to validate
|
|
166
172
|
* these commitments correspond to real blobs. The input _blobCommitments below come from validateBlobs()
|
|
167
173
|
* so we know they are valid commitments here.
|
|
@@ -185,10 +191,14 @@ library BlobLib {
|
|
|
185
191
|
// Blob commitments are collected and proven per root rollup proof => per epoch.
|
|
186
192
|
if (_isFirstCheckpointOfEpoch) {
|
|
187
193
|
// Initialize the blobCommitmentsHash
|
|
188
|
-
|
|
194
|
+
// true, packed as the byte 0x01: the checkpoint-start flag. The epoch's first blob always starts a checkpoint.
|
|
195
|
+
currentBlobCommitmentsHash = Hash.sha256ToField(abi.encodePacked(true, _blobCommitments[i++]));
|
|
189
196
|
}
|
|
190
197
|
for (i; i < _blobCommitments.length; i++) {
|
|
191
|
-
|
|
198
|
+
// i == 0 flags this proposal's first blob (packed as the byte 0x01, otherwise 0x00), so the hash binds where each
|
|
199
|
+
// checkpoint's blobs start. The circuits set the same flag on the first blob of each checkpoint they prove.
|
|
200
|
+
currentBlobCommitmentsHash =
|
|
201
|
+
Hash.sha256ToField(abi.encodePacked(currentBlobCommitmentsHash, i == 0, _blobCommitments[i]));
|
|
192
202
|
}
|
|
193
203
|
}
|
|
194
204
|
|
|
@@ -4,7 +4,6 @@ pragma solidity >=0.8.27;
|
|
|
4
4
|
|
|
5
5
|
import {SubmitEpochRootProofArgs, PublicInputArgs, RollupConfig} from "@aztec/core/interfaces/IRollup.sol";
|
|
6
6
|
import {ProposedHeader} from "@aztec/core/libraries/rollup/ProposedHeaderLib.sol";
|
|
7
|
-
import {RegistryRewardOverride, MAX_REGISTRY_REWARD_OVERRIDES} from "@aztec/core/libraries/rollup/RewardLib.sol";
|
|
8
7
|
import {EpochProofLib} from "./EpochProofLib.sol";
|
|
9
8
|
|
|
10
9
|
/**
|
|
@@ -21,12 +20,8 @@ import {EpochProofLib} from "./EpochProofLib.sol";
|
|
|
21
20
|
* - Epoch proof public input computation
|
|
22
21
|
*/
|
|
23
22
|
library EpochProofExtLib {
|
|
24
|
-
function submitEpochRootProof(
|
|
25
|
-
|
|
26
|
-
RollupConfig memory _config,
|
|
27
|
-
RegistryRewardOverride[MAX_REGISTRY_REWARD_OVERRIDES] memory _registryRewardOverrides
|
|
28
|
-
) external {
|
|
29
|
-
EpochProofLib.submitEpochRootProof(_args, _config, _registryRewardOverrides);
|
|
23
|
+
function submitEpochRootProof(SubmitEpochRootProofArgs calldata _args, RollupConfig memory _config) external {
|
|
24
|
+
EpochProofLib.submitEpochRootProof(_args, _config);
|
|
30
25
|
}
|
|
31
26
|
|
|
32
27
|
function getEpochProofPublicInputs(
|
|
@@ -19,11 +19,7 @@ import {Constants} from "@aztec/core/libraries/ConstantsGen.sol";
|
|
|
19
19
|
import {Errors} from "@aztec/core/libraries/Errors.sol";
|
|
20
20
|
import {AttestationLib, CommitteeAttestations} from "@aztec/core/libraries/rollup/AttestationLib.sol";
|
|
21
21
|
import {ProposedHeader, ProposedHeaderLib} from "@aztec/core/libraries/rollup/ProposedHeaderLib.sol";
|
|
22
|
-
import {
|
|
23
|
-
RewardLib,
|
|
24
|
-
RegistryRewardOverride,
|
|
25
|
-
MAX_REGISTRY_REWARD_OVERRIDES
|
|
26
|
-
} from "@aztec/core/libraries/rollup/RewardLib.sol";
|
|
22
|
+
import {RewardLib} from "@aztec/core/libraries/rollup/RewardLib.sol";
|
|
27
23
|
import {STFLib} from "@aztec/core/libraries/rollup/STFLib.sol";
|
|
28
24
|
import {ValidatorSelectionLib} from "@aztec/core/libraries/rollup/ValidatorSelectionLib.sol";
|
|
29
25
|
import {Timestamp, Slot, Epoch, TimeLib} from "@aztec/core/libraries/TimeLib.sol";
|
|
@@ -115,11 +111,7 @@ library EpochProofLib {
|
|
|
115
111
|
* - proof: The validity proof bytes for the root rollup circuit
|
|
116
112
|
* @param _config The rollup's deployment-time configuration
|
|
117
113
|
*/
|
|
118
|
-
function submitEpochRootProof(
|
|
119
|
-
SubmitEpochRootProofArgs calldata _args,
|
|
120
|
-
RollupConfig memory _config,
|
|
121
|
-
RegistryRewardOverride[MAX_REGISTRY_REWARD_OVERRIDES] memory _registryRewardOverrides
|
|
122
|
-
) internal {
|
|
114
|
+
function submitEpochRootProof(SubmitEpochRootProofArgs calldata _args, RollupConfig memory _config) internal {
|
|
123
115
|
if (STFLib.canPruneAtTime(Timestamp.wrap(block.timestamp))) {
|
|
124
116
|
STFLib.prune();
|
|
125
117
|
}
|
|
@@ -189,7 +181,7 @@ library EpochProofLib {
|
|
|
189
181
|
}
|
|
190
182
|
|
|
191
183
|
// Activity score depends on whether the proof is a full epoch proof
|
|
192
|
-
RewardLib.handleRewardsAndFees(_args, endEpoch, _config, fullEpochProof, committee
|
|
184
|
+
RewardLib.handleRewardsAndFees(_args, endEpoch, _config, fullEpochProof, committee);
|
|
193
185
|
|
|
194
186
|
emit IRollupCore.L2ProofVerified(_args.end, _args.args.proverId);
|
|
195
187
|
}
|
|
@@ -242,7 +234,7 @@ library EpochProofLib {
|
|
|
242
234
|
*
|
|
243
235
|
* @param _endCheckpointNumber The last checkpoint number in the epoch to verify attestations for
|
|
244
236
|
* @param _attestations The committee attestations containing signatures and validator information
|
|
245
|
-
* @return The reconstructed committee
|
|
237
|
+
* @return The reconstructed committee, empty for escape-hatch epochs and zero-size committees
|
|
246
238
|
*/
|
|
247
239
|
function verifyLastCheckpointAttestationsAndOutHash(
|
|
248
240
|
uint256 _endCheckpointNumber,
|
|
@@ -18,13 +18,7 @@ import {
|
|
|
18
18
|
EthValue
|
|
19
19
|
} from "@aztec/core/libraries/rollup/FeeLib.sol";
|
|
20
20
|
import {ProposeLib} from "@aztec/core/libraries/rollup/ProposeLib.sol";
|
|
21
|
-
import {
|
|
22
|
-
RewardLib,
|
|
23
|
-
RewardConfig,
|
|
24
|
-
MutableRewardConfig,
|
|
25
|
-
RegistryRewardOverride,
|
|
26
|
-
MAX_REGISTRY_REWARD_OVERRIDES
|
|
27
|
-
} from "@aztec/core/libraries/rollup/RewardLib.sol";
|
|
21
|
+
import {RewardLib, RewardConfig, MutableRewardConfig} from "@aztec/core/libraries/rollup/RewardLib.sol";
|
|
28
22
|
import {STFLib} from "@aztec/core/libraries/rollup/STFLib.sol";
|
|
29
23
|
import {Epoch, Timestamp} from "@aztec/core/libraries/TimeLib.sol";
|
|
30
24
|
import {
|
|
@@ -40,12 +34,14 @@ library RewardExtLib {
|
|
|
40
34
|
using FeeConfigLib for CompressedFeeConfig;
|
|
41
35
|
using PriceLib for EthValue;
|
|
42
36
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
37
|
+
/**
|
|
38
|
+
* @notice Writes the reward configuration and the initial sequencer reward calculator at construction
|
|
39
|
+
* @param _config The full reward configuration, including the immutable distributor and booster
|
|
40
|
+
* @param _sequencerRewardCalculator The initial sequencer reward calculator, or zero for none
|
|
41
|
+
*/
|
|
42
|
+
function initializeConfig(RewardConfig memory _config, address _sequencerRewardCalculator) external {
|
|
48
43
|
RewardLib.initializeConfig(_config);
|
|
44
|
+
RewardLib.setSequencerRewardCalculator(_sequencerRewardCalculator);
|
|
49
45
|
}
|
|
50
46
|
|
|
51
47
|
/**
|
|
@@ -89,6 +85,16 @@ library RewardExtLib {
|
|
|
89
85
|
emit IRollupCore.ProtocolFeeRecipientUpdated(oldRecipient, _recipient);
|
|
90
86
|
}
|
|
91
87
|
|
|
88
|
+
/**
|
|
89
|
+
* @notice Replaces the sequencer reward calculator and emits {IRollupCore.SequencerRewardCalculatorUpdated}
|
|
90
|
+
* @dev Accepts any address, including zero (no calculator). The event is emitted even if the value is unchanged.
|
|
91
|
+
* @param _calculator The new calculator, or zero for none
|
|
92
|
+
*/
|
|
93
|
+
function updateSequencerRewardCalculator(address _calculator) external {
|
|
94
|
+
address oldCalculator = RewardLib.setSequencerRewardCalculator(_calculator);
|
|
95
|
+
emit IRollupCore.SequencerRewardCalculatorUpdated(oldCalculator, _calculator);
|
|
96
|
+
}
|
|
97
|
+
|
|
92
98
|
function claimSequencerRewards(address _sequencer, IERC20 _feeAsset) external returns (uint256) {
|
|
93
99
|
return RewardLib.claimSequencerRewards(_sequencer, _feeAsset);
|
|
94
100
|
}
|
|
@@ -124,6 +130,10 @@ library RewardExtLib {
|
|
|
124
130
|
return RewardLib.getHasSubmitted(_epoch, _length, _prover);
|
|
125
131
|
}
|
|
126
132
|
|
|
133
|
+
function getHasSubmittedFullEpoch(Epoch _epoch, uint256 _length, address _prover) external view returns (bool) {
|
|
134
|
+
return RewardLib.getHasSubmittedFullEpoch(_epoch, _length, _prover);
|
|
135
|
+
}
|
|
136
|
+
|
|
127
137
|
function getHasClaimed(address _prover, Epoch _epoch) external view returns (bool) {
|
|
128
138
|
return RewardLib.getHasClaimed(_prover, _epoch);
|
|
129
139
|
}
|
|
@@ -140,6 +150,14 @@ library RewardExtLib {
|
|
|
140
150
|
return RewardLib.getStorage().config.rewardDistributor;
|
|
141
151
|
}
|
|
142
152
|
|
|
153
|
+
/**
|
|
154
|
+
* @notice Returns the current sequencer reward calculator
|
|
155
|
+
* @return The calculator, or zero if every checkpoint receives the default sequencer reward
|
|
156
|
+
*/
|
|
157
|
+
function getSequencerRewardCalculator() external view returns (address) {
|
|
158
|
+
return RewardLib.getSequencerRewardCalculator();
|
|
159
|
+
}
|
|
160
|
+
|
|
143
161
|
// FeeLib/STFLib/ProposeLib view wrappers - overflow from RollupOperationsExtLib
|
|
144
162
|
|
|
145
163
|
function getManaMinFeeComponentsAt(Timestamp _timestamp, bool _inFeeAsset)
|