yeagerai / genlayer-simulator

MIT License
16 stars 8 forks source link

feat: allow configuring validators from envvar #585

Closed AgustinRamiroDiaz closed 2 weeks ago

AgustinRamiroDiaz commented 2 weeks ago

Fixes #567

What

Allows configuring validators from the envvar VALIDATORS_CONFIG_JSON

Why

To make deployment easier

Testing done

Decisions made

Checks

Reviewing tips

Read unit tests first to understand the behavior

Extra

Maybe this feature is useful in the genlayer CLI? @denishacquin @cristiam86

User facing release notes

Now you can easily start up your validators from the envvar VALIDATORS_CONFIG_JSON

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 17.78%. Comparing base (19cc640) to head (8814540). Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #585 +/- ## ======================================= Coverage 17.78% 17.78% ======================================= Files 122 122 Lines 9558 9558 Branches 283 283 ======================================= Hits 1700 1700 Misses 7775 7775 Partials 83 83 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sonarcloud[bot] commented 2 weeks ago

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

github-actions[bot] commented 1 week ago

:tada: This PR is included in version 0.19.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: