[go: up one dir, main page]

Tezlink/Kernel: apply batches

Stacked on !18917 (merged)

Linear issue

Closes L2-239

Next

!18918 (merged)

What

This MR finishes the support of batches on the kernel.

How

  • Add BackTracked and Skipped receipts with helper functions to build them
  • Use consistent naming
  • Introduce apply_batch that at first only relays information to the old apply_operation function.
  • Loop on operations to apply them, indicating whether all operations were applied. If an error occurs, transform receipts into backtracked.

Manually testing the MR

All previous tests on transactions now are applied as a batch of size 1.

Several tests are added in the last commit showcasing new behaviour works properly.

make -f etherlink.mk test shows that they still pass.

Edited by Luciano Freitas

Merge request reports

Loading