This repository has been archived by the owner on Jun 9, 2022. It is now read-only.
Improvements to truffle/bin/capture-test-blocks.sh script #3
Labels
Priority: Low
Size: Atomic
An atomic piece of work with a single associated PR
Status: Available
Type: Enhancement
Improvements or additions
Type: Good first issue
Good for newcomers
truffle/bin/capture-test-blocks.sh
is the script in charge of generating a test blockchain to execute tests. The script in its current state is very naive and simplistic in how it handle error failures.If for example we want to generate blocks and somehow the testing suite fails, a dangling docker besu image is kept running without being terminated.
A good approach could be using trap signals like this good article explains. So the script is allowed to handle the error and finish its state cleanly.
The text was updated successfully, but these errors were encountered: