Evm_node_lib_dev.Prevalidatortype Tezos_base.TzPervasives.error += type mode = | MinimalMinimal validation, includes:
| FullFull validation, is minimal validation plus:
type 'a prevalidation_result = {next_nonce : Evm_node_lib_dev_encoding.Ethereum_types.quantity;The next nonce expected for the given caller, which is lesser than or equal to the nonce of the prevalidated transaction.
*)transaction_object : 'a;Decoded informations about the prevalidated transaction.
*)}val start :
?max_number_of_chunks:int ->
chain_family:'a Evm_node_lib_dev_encoding.L2_types.chain_family ->
mode ->
(module Services_backend_sig.S with type Reader.state = 'state) ->
unit Tezos_base.TzPervasives.tzresult Lwt.tstart ~chain_family mode backend will attempt to start the worker.
val prevalidate_raw_transaction :
string ->
(Transaction_object.t prevalidation_result, string) Stdlib.result
Tezos_base.TzPervasives.tzresult
Lwt.tprevalidate_raw_transaction raw_txn sends a prevalidation request to the worker, and waits for the result.
If the worker failed to start, a new initialization attempt will be performed.
val refresh_state : unit -> unit Tezos_base.TzPervasives.tzresult Lwt.trefresh_state () sends a refresh request to the worker, to be processed in the background.
If the worker failed to start, a new initialization attempt will be performed.
val prevalidate_raw_transaction_tezlink :
string ->
(Evm_node_lib_dev_tezlink.Tezos_types.Operation.t prevalidation_result,
string)
Stdlib.result
Tezos_base.TzPervasives.tzresult
Lwt.tprevalidate_raw_transaction_tezlink raw_txn sends a prevalidation request to the worker, and waits for the result.
If the worker failed to start, a new initialization attempt will be performed.
val validate_balance_gas_nonce_with_validation_state :
Validation_types.validation_state ->
Transaction_object.t ->
(Validation_types.validation_state, string) Stdlib.result
Tezos_base.TzPervasives.tzresult
Lwt.tvalidate_balance_gas_nonce_with_validation_state validation_state transaction validates a transaction against the current validation_state: