You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, Hyperlane validators use web2 storage solutions (AWS S3, GCS) for publishing checkpoints. This bounty proposes implementing an on-chain checkpoint syncer, allowing validators to publish checkpoints directly on-chain through a smart contract, making the system more decentralized and web3-native.
Technical Specifications
Smart Contract Implementation
Create a contract implementing checkpoint storage functionality
Support URI format: onchain://chainName/contractAddress
Implement checkpoint publishing for authenticated accounts
Support all required CheckpointSyncer trait methods:
latest_index
write_latest_index
update_latest_index
fetch_checkpoint
write_checkpoint
write_metadata
write_announcement
announcement_location
Validator Integration
Utilize existing chain signer abstraction for checkpoint submission
Support signature verification (optional, depending on implementation choice)
Handle gas optimization for frequent checkpoint submissions
Key Considerations
Storage optimization for on-chain data
Gas cost efficiency for frequent updates
Proper handling of Arbitrum's multi-dimensional gas fees
Overview
Currently, Hyperlane validators use web2 storage solutions (AWS S3, GCS) for publishing checkpoints. This bounty proposes implementing an on-chain checkpoint syncer, allowing validators to publish checkpoints directly on-chain through a smart contract, making the system more decentralized and web3-native.
Technical Specifications
Smart Contract Implementation
onchain://chainName/contractAddress
latest_index
write_latest_index
update_latest_index
fetch_checkpoint
write_checkpoint
write_metadata
write_announcement
announcement_location
Validator Integration
Key Considerations
Implementation Notes
write_latest_index
a no-op as suggested in discussionsDependencies
hyperlane-base/src/traits/checkpoint_syncer.rs
Testing Requirements
The text was updated successfully, but these errors were encountered: