We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I take the gas_burnt from the TransactionResult, the value is not correct:
gas_burnt
TransactionResult
let rawValue = await signer.callRaw(receiver, methodName, args, {gas: gasToAttach, attachedDeposit: attachedDeposit || "0"}); let gasBurnt = rawValue.gas_burnt; console.log(`Gas Burnt: ${gasBurnt.toHuman()}`)
If you loop through all the receipts in the rawValue and tally their gas_burnt, it will exceed what was returned from the transaction result object.
rawValue
Example:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I take the
gas_burnt
from theTransactionResult
, the value is not correct:If you loop through all the receipts in the
rawValue
and tally theirgas_burnt
, it will exceed what was returned from the transaction result object.Example:
The text was updated successfully, but these errors were encountered: