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
// InitChain is used by the consensus client and execution client to sync// genesisTime is the genesis time for the chain// initialHeight is the initial height of the chain// chainId is the chain id// stateRoot is the genesis state root// maxBytes is the maximum bytes that the execution client can allowInitChain(
genesisTimetime.Time,
initialHeightuint,
chainId []byte
) (
stateRootHash,
maxBytesuint,
errerror
)
// GetTxs is used by the consensus client (rollkit) to fetch all available transactions from the execution client's mempool.GetTxs() []Tx// ExecuteTxs informs the execution client to execute transactions// blockHeight is the height to be used to produce block/header// timestamp is the timestamp to be used in the block/header// prevStateRoot is the previous block hash to create the next block/header// updatedStateRoot is the updated state root hash// maxBytes is the maximum bytes that the execution client can allowExecuteTxs(
txs []Tx,
blockHeightint,
timestamp time.Time,
prevStateRootHash
) (
updatedStateRootHash,
maxBytesuint,
errerror
)
// SetFinal marks a block as finalSetFinal(
blockHeightuint
) error
The text was updated successfully, but these errors were encountered:
Proposed initial version of API:
The text was updated successfully, but these errors were encountered: