Skip to content
This repository was archived by the owner on Jun 9, 2022. It is now read-only.

Improvements to truffle/bin/capture-test-blocks.sh script #3

@aldoborrero

Description

@aldoborrero

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions