Skip to content
Snippets Groups Projects

Testing framework: Test.transfer_* returns gas consumption

Merged Rémi requested to merge testing-framework/gas_consum into dev
All threads resolved!

goal

Test.transfer_* functions in the testing framework now returns the gas consumed (as a nat).

problems

Contract execution is not the only contributor to the total consumption and I don't think there is a clean way to link each sub-cost to its source. So far this is what I noticed:

  • "silent" caching (e.g. typecheking the contrat happens at first execution and not at origination)

  • constant cost coming from the operation manager (e.g. a transfer operation has a rather big cost)

  • has a changelog entry

Edited by Rémi

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • E. Rivas approved this merge request

    approved this merge request

  • Rémi added 1 commit

    added 1 commit

    Compare with previous version

  • Rémi resolved all threads

    resolved all threads

  • Rémi enabled automatic add to merge train when the pipeline for dc9d915d succeeds

    enabled automatic add to merge train when the pipeline for dc9d915d succeeds

  • Rémi started a merge train

    started a merge train

  • Rémi mentioned in commit e8e3f740

    mentioned in commit e8e3f740

  • merged

  • Didier Plaindoux requested review from @er433

    requested review from @er433

  • Please register or sign in to reply
    Loading