Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 1.08 KB

UptimeMessageSpec.md

File metadata and controls

19 lines (13 loc) · 1.08 KB

ValidationUptimeMessage Warp Message Format Reference

Description: Provides a validator's uptime for calculating staking rewards (PoSValidatorManager only)

Signed by: L1

Consumed by: Validator Manager Contract

Specification:

Field Type Size
codecID uint16 2 bytes
typeID uint32 4 bytes
validationID [32]byte 32 bytes
uptime uint64 8 byte
46 bytes

This is defined within Subnet-EVM here. The ValidationUptimeMessage must be included as an AddressedPayload with the sourceAddress set to an empty byte array, to prove that it did not originate as an arbitrary on-chain message. The sourceChainID must match the uptimeBlockchainID used to initialize the PoSValidatorManager. uptimeBlockchainID must be validated by the L1 validator set managed by the PoSValidatorManager.