Skip to content
Snippets Groups Projects
Unverified Commit eea4fbff authored by PG Herveou's avatar PG Herveou Committed by GitHub
Browse files

[pallet-revive] fix tracing gas used (#7430)


- Charge the nested gas meter for loading the code of the child
contract, so that we can properly associate the gas cost to the child
call frame.
- Move the enter_child_span and exit_child_span around the
do_transaction closure to properly capture all failures
- Add missing trace capture for call transfer

---------

Co-authored-by: default avatarAlexander Theißen <alex.theissen@me.com>
Co-authored-by: command-bot <>
Co-authored-by: default avatarcmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: default avatarBastian Köcher <git@kchr.de>
parent 2970ab15
No related merge requests found
Pipeline #514912 waiting for manual action with stages
in 48 minutes and 54 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment