Draft: Lib_rollup/benchmark:add test cases where several test cases expose the bug in the commit block
This MR contains test-cases:
-
benchmark_tx_only_rollup.ml
: The main goal of these tests case is to express the maximum numbers of operations and deposit that one can have in a rollup. In this test, have a few accounts and then repeatedly transfer multiple time between, for instance, an account A to B by using the counter. BUG: The potential bug in commitment block, where it could not find the previous commitment. Summary:- Deposit: 87 times
- Transfers before it reaches the oversized operations of Tezos block: ++ Batch 1: 960 ++ Batch 2 onward: 1644
-
benchmark_multiple_accounts.ml
In this test case, create multiple accounts, and then do the transfer between them. Summary:- Accounts: 87
- Deposit: 87
- Transfer:
- Batch 1: 958 BUG: Cannot add the second batch.
-
benchmark_burn.ml
: This test case mixing between the transfer and burn operations. Also create multiple accounts, contracts and smart contracts. Summary:- Accounts: 87
- Contracts: 87 - deposits: 87
- Smart contracts (origination): 86 BUG: cannot add the 87 smart contract.
- Transfers: ++ Batch 1: 160 (mixing transfers and burns) ++ Batch 2: 80 burns BUG: Cannot add batch 3.
-
benchmark_table_entry.ml
: This file for printing out the information of each test-cases