SCORU: Improve gas model for origination function

Context

The application of smart rollup origination operation has recently been simplified for the end-user. Previously, the end-user was required to compute an origination proof. Now, this proof is automatically computed by the protocol.

However, the gas model for origination was not up-to-date. This MR should fix that.

Fix #5693 (closed)

Manually testing the MR

You can replay the benchmark by:

./octez-snoop generate code for benchmarks sc_rollup/Sc_rollup_install_boot_sector_benchmark --out-dir _dir3 -bench-num 1000 --plot

image

Checklist

  • Document the interface of any function added or modified (see the coding guidelines)
  • Document any change to the user interface, including configuration parameters (see node configuration)
  • Provide automatic testing (see the testing guide).
  • For new features and bug fixes, add an item in the appropriate changelog (docs/protocols/alpha.rst for the protocol and the environment, CHANGES.rst at the root of the repository for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR

Merge request reports

Loading