:warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
This adds (exactimate) gas estimations to the evm_transactionSimulations rpc method. It accepts a gasEstimation property on the args param. This property may be "full" | "call-depth" | "none" (in actuality, it may be anything, but non-compliant values will be treated as none. full and call-depth are both treated the same, and are only distinguished in order to indicate our intention. This calls out to the gas-estimator class and add a gasEstimate property to the response.
This adds (exactimate) gas estimations to the
evm_transactionSimulations
rpc method. It accepts agasEstimation
property on theargs
param. This property may be"full" | "call-depth" | "none"
(in actuality, it may be anything, but non-compliant values will be treated asnone
.full
andcall-depth
are both treated the same, and are only distinguished in order to indicate our intention. This calls out to the gas-estimator class and add agasEstimate
property to the response.