gossamer
gossamer copied to clipboard
refactor: use slices.Contains to simplify code
Changes
There is a new function added in the go1.21 standard library, which can make the code more concise and easy to read.
Tests
go test -tags integration github.com/ChainSafe/gossamer
Issues
Codecov Report
Attention: Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.
Project coverage is 51.16%. Comparing base (
d1ca7aa) to head (f1fafac). Report is 358 commits behind head on development.
Additional details and impacted files
@@ Coverage Diff @@
## development #4787 +/- ##
===============================================
+ Coverage 50.51% 51.16% +0.65%
===============================================
Files 230 395 +165
Lines 29006 54018 +25012
===============================================
+ Hits 14653 27641 +12988
- Misses 12856 23985 +11129
- Partials 1497 2392 +895
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
Sorry for deal it so late.
Modified. Please review it when you have time. 😄