Skip to content

Conversation

masih
Copy link
Collaborator

@masih masih commented Oct 2, 2025

Compared to the original Tendermint, Sei-Tendermint expands the proposal
structure to include a number of additional fields. Update the basic
validation logic to take into account additional fields when validating
proposals.

Add validation to both direct message handling and ambient gossip
handling to avoid propagation of an invalid proposal.

Expand tests to cover the additional execution paths at unit and reactor
integration level.
Copy link

codecov bot commented Oct 2, 2025

Codecov Report

❌ Patch coverage is 0% with 19 lines in your changes missing coverage. Please review.
✅ Project coverage is 40.23%. Comparing base (f7a5def) to head (722dd41).

Files with missing lines Patch % Lines
sei-tendermint/types/block.go 0.00% 6 Missing ⚠️
sei-tendermint/types/block_meta.go 0.00% 6 Missing ⚠️
sei-tendermint/types/mempool.go 0.00% 6 Missing ⚠️
sei-tendermint/types/node_info.go 0.00% 1 Missing ⚠️

❌ Your patch check has failed because the patch coverage (0.00%) is below the target coverage (70.00%). You can increase the patch coverage or adjust the target coverage.

❗ There is a different number of reports uploaded between BASE (f7a5def) and HEAD (722dd41). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (f7a5def) HEAD (722dd41)
sei-tendermint 1 0
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##             main    #2427       +/-   ##
===========================================
- Coverage   53.88%   40.23%   -13.65%     
===========================================
  Files        1003     1531      +528     
  Lines       96876   156229    +59353     
===========================================
+ Hits        52201    62862    +10661     
- Misses      40914    88655    +47741     
- Partials     3761     4712      +951     
Flag Coverage Δ
sei-chain 27.55% <0.00%> (?)
sei-cosmos 51.63% <ø> (-0.01%) ⬇️
sei-tendermint ?
sei-wasmd 51.41% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
sei-tendermint/types/node_info.go 0.00% <0.00%> (ø)
sei-tendermint/types/block.go 21.09% <0.00%> (ø)
sei-tendermint/types/block_meta.go 0.00% <0.00%> (ø)
sei-tendermint/types/mempool.go 0.00% <0.00%> (ø)

... and 971 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@masih masih marked this pull request as draft October 8, 2025 09:22
@masih
Copy link
Collaborator Author

masih commented Oct 8, 2025

Marking as draft to reflect on additional feedback re duplicate validation execution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants