EVM/Node: chunker can produce blueprints
Context
Debugging the sequencer can be cumbersome, as we need blueprints as inputs for the debugger. This MR improves the chunker to also produce blueprints, and modifies bench_erc20tok.js to be able to produce blueprints instead of raw transactions.
Manually testing the MR
Run the following command to produce the inputs from erc20 benchmark as blueprint:
node etherlink/kernel_evm/benchmarks/scripts/benchmarks/bench_erc20tok.js --blueprint > inputs_erc20_blueprints.json
then run the inputs in the debugger:
./octez-smart-rollup-wasm-debugger --kernel evm_kernel.wasm --inputs inputs_erc20_blueprints.json --installer-config etherlink/kernel_evm/config/benchmarking_sequencer.yaml
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.rstfor the protocol and the environment,CHANGES.rstat the root of the repository for everything else). -
Select suitable reviewers using the Reviewersfield below. -
Select as Assigneethe next person who should take action on that MR