Open
Description
When I take the gas_burnt
from the TransactionResult
, the value is not correct:
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.
Example:

Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
NEW❗