Closed wacban closed 6 days ago
Attention: Patch coverage is 93.49593%
with 8 lines
in your changes missing coverage. Please review.
Project coverage is 71.44%. Comparing base (
fecce01
) to head (04e68df
). Report is 5 commits behind head on master.
Files with missing lines | Patch % | Lines |
---|---|---|
chain/chain/src/runtime/tests.rs | 80.48% | 8 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
A bunch of tests have hardcoded
ShardId::new(0)
. That doesn't work with arbitrary shard ids because there typically isn't a shard with shard id 0. This PR fixes a bunch of tests to get the shard id from the current shard layout rather than hardcoding it.