Skip to main content

create_init_frame

Function create_init_frame 

Source
pub fn create_init_frame<CTX: ContextTr>(
    ctx: &mut CTX,
    gas_limit: u64,
    reservoir: u64,
) -> Result<FrameInput, <<CTX::Journal as JournalTr>::Database as Database>::Error>
Expand description

Creates the first FrameInput from the transaction, spec and gas limit.