This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Contracts: return proof_size
with ContractResult
from dry-runs
#12410
Labels
Z1-easy
Can be fixed primarily by duplicating and adapting code by an intermediate coder
Currently, in order to choose a value for
gas_limit
a UI would first dry-run the extrinsic viastate_call
and use the resultingContractResult::gas_required
as a parameter to the actual extrinsic.Now that weights are two dimensional and also include
proof_size
, we should add that to theContractResult
in order for UIs to correctly populate that value, without having to manually supply a value.Rel paritytech/subxt#679
The text was updated successfully, but these errors were encountered: