Evm_node_lib_dev.Simulation
val hex_string_to_bytes : Evm_node_lib_dev_encoding.Ethereum_types.hex -> bytes
hex_string_to_bytes s
transforms a hex string s
into a byte string.
val rlp_encode : Evm_node_lib_dev_encoding.Ethereum_types.call -> bytes
Encoding used to forward the call to the kernel, to be used in simulation mode only.
val split_in_messages : bytes -> (simulation_message list, 'a) Stdlib.result
val encode_message : simulation_message -> string
val encode :
Evm_node_lib_dev_encoding.Ethereum_types.call ->
(string list, 'a) Stdlib.result
type execution_result = {
value : Evm_node_lib_dev_encoding.Ethereum_types.hash option;
gas_used : Evm_node_lib_dev_encoding.Ethereum_types.quantity option;
}
type call_result =
(execution_result, Evm_node_lib_dev_encoding.Ethereum_types.hash)
Stdlib.result
module Encodings : sig ... end
val simulation_result :
bytes ->
(((execution_result, Evm_node_lib_dev_encoding.Ethereum_types.hash)
Stdlib.result,
string)
Stdlib.result,
Mavryk_base.TzPervasives.tztrace)
Stdlib.result
val gas_estimation :
bytes ->
(((execution_result, Evm_node_lib_dev_encoding.Ethereum_types.hash)
Stdlib.result,
string)
Stdlib.result,
Mavryk_base.TzPervasives.tztrace)
Stdlib.result
val is_tx_valid :
bytes ->
((validation_result, string) Stdlib.result, Mavryk_base.TzPervasives.tztrace)
Stdlib.result