Skip to main content

Module validator_rsm

Module validator_rsm 

Source

Structs§

ValidatorRsmBatchMetadata
Batch metadata attested by the single validator before RSM directive submission.

Enums§

ValidatorRsmError
Validation errors for validator-RSM typed-data construction.

Constants§

VALIDATOR_RSM_DOMAIN_NAME
EIP-712 domain name for validator-attested RSM metadata.
VALIDATOR_RSM_DOMAIN_VERSION
EIP-712 domain version for validator-attested RSM metadata.
VALIDATOR_RSM_TYPE_VERSION
Schema version for the validator-RSM typed-data payload.

Functions§

rsm_attestation_domain
Build the EIP-712 domain for validator-RSM batch metadata.
rsm_batch_metadata_block_hash
Hash the accepted batch metadata exactly as the contract stores accepted block continuity.
rsm_batch_metadata_from_block_fields
Build the exact metadata object that ValidatorRsm.sol hashes and stores.
rsm_batch_metadata_signing_hash
Compute the EIP-712 signing digest for validator-RSM batch metadata.
rsm_batch_metadata_struct_hash
Hash the typed batch metadata struct using the EIP-712 struct hash.
rsm_directive_hash
Hash the exact encoded RSM directive bytes that the validator attests.
verify_rsm_batch_metadata_block_hash
Verify a stored block hash against the Solidity-compatible metadata hash.
verify_rsm_batch_metadata_signing_hash
Verify a signing digest against the Solidity-compatible EIP-712 digest.