Skip to main content

compute_execution_hash

Function compute_execution_hash 

Source
pub fn compute_execution_hash(
    target: &Address,
    calldata: &Bytes,
    fee: &U256,
) -> H256
Expand description

Compute execution hash binding an action to a gas payment. Result is reduced mod BN254 Fr so it’s a valid ZK circuit field element.