telosnetwork / telos-consensus-client

Consensus client for TelosEVM
Apache License 2.0
2 stars 0 forks source link

Modify TelosEVMBlock to include final structures for reth #45

Closed poplexity closed 2 months ago

poplexity commented 2 months ago

New TelosEVMBlock structure should contain the fields/structs needed to pass directly to execution API (reth), new struct looks like this:

pub struct TelosEVMBlock {
    pub block_num: u32,
    pub block_hash: B256,
    pub lib_num: u32,
    pub lib_hash: B256,
    pub execution_payload: ExecutionPayloadV1,
    pub extra_fields: TelosEngineAPIExtraFields
}