ChainSafe / gossamer

🕸️ Go Implementation of the Polkadot Host
https://chainsafe.github.io/gossamer
GNU Lesser General Public License v3.0
432 stars 117 forks source link

Fix: check auth changes before processing block #4336

Open dimartiro opened 4 days ago

dimartiro commented 4 days ago

Changes

Process block headers and data before importing the block. This will fix an issue when we have to apply forced changes for the current block right before processing it.

Tests

WIP, in the meantime I'm running it in our westend nodes

make test

Issues

closes #4281

codecov[bot] commented 4 days ago

Codecov Report

Attention: Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.

Project coverage is 53.14%. Comparing base (d1ca7aa) to head (18c2431). Report is 204 commits behind head on development.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## development #4336 +/- ## =============================================== + Coverage 50.51% 53.14% +2.62% =============================================== Files 230 299 +69 Lines 29006 38244 +9238 =============================================== + Hits 14653 20323 +5670 - Misses 12856 15988 +3132 - Partials 1497 1933 +436 ```

🚨 Try these New Features: