[−][src]Function cita_vm::exec_static
pub fn exec_static<B: DB + 'static>(
block_provider: Arc<dyn BlockDataProvider>,
state_provider: Arc<RefCell<State<B>>>,
evm_context: Context,
config: Config,
tx: Transaction
) -> Result<InterpreterResult, Error>
Handle the call request in read only mode. Note:
- tx.to shouldn't be none
- tx.nonce is just omited
- tx.value must be 0. This is due to solidity's check.
This function is similar with exec
, but all check & checkpoints are removed.