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
{{ message }}
This repository was archived by the owner on Apr 15, 2024. It is now read-only.
As per the sync with @rahulghangas and @evan-forbes , we could start off with the following project structure:
cmd->
-> orchestrator: config + cmd
-> relayer
-> deployer
-> verifier
evm -> will contain all the EVM related code
orchestrator -> will contain the signing parts, and the go routines doing: listening for new attestations, calling the signer ...
p2p -> P2P related code
relayer -> will contain the relayer querying the QGB smart contract, creating EVM transactions, submitting them
store -> which will contain the implementation for the confirms store (and probably the attestations..)
types-> should contain the ValsetConfirm and DataCommitmentConfirm messages + their corresponding methods:
For the types, they could be as follows:
// DataCommitmentConfirm describes a data commitment for a set of blocks.typeDataCommitmentConfirmstruct {
// Universal nonce referencing the Data Commitment.Nonceuint64// Signature over the commitment, the range of blocks, the validator address// and the Ethereum address.Signaturestring// Orchestrator account address who will be signing the message.ValidatorAddressstring// Hex `0x` encoded Ethereum public key that will be used by this validator on// Ethereum.EthAddressstring// Merkle root over a merkle tree containing the data roots of a set of// blocks.Commitmentstring// First block defining the ordered set of blocks used to create the// commitment.BeginBlockuint64// Last block defining the ordered set of blocks used to create the// commitment.EndBlockuint64
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
As per the sync with @rahulghangas and @evan-forbes , we could start off with the following project structure:
For the types, they could be as follows:
Beta Was this translation helpful? Give feedback.
All reactions