flashbots / flashbots/mev-boost

Add unit tests to test-cli

Open
#577 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
1.4k
Forks
292
PR merge metrics
No merged PRs in 30d

Description

## Description

In order to improve the quality of `test-cli` pkg, it would be good to add some unit tests for:
- cmd/test-cli/beacon.go
- cmd/test-cli/engine.go
- cmd/test-cli/requests.go
- cmd/test-cli/validator.go

Unfortunately, for most of those scripts it is required to refactor the code in order to inject dependencies, adding mocks and improving testability

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.