Migrate sei-tendermint into sei-chain as mono repo#2421
Merged
Conversation
Enrich tracing info
…-seen-tx Add flags to indicate txs that have been checked
Add Tx notification threshold
Update tx threshold impl
* checkpoint * set config * more fixes * Add logging * more fixes * fixes * more fixes * more logging * fixes * Add logs * fix outerloop * outerloop fixes 2 * fix proto * more logging * Add proposal event * fix data block hash * Add more logs * add proposal block for prevote * checkpoint * checkpoint * implement trycreateproposal * lower logging, impl tx req * Add metrics * register labels * fix typo metric * cleanup * continue gossiping block parts * uncomment * Add logging * fix nil proposal * more logs, gossip txn false * set flag to true * Fix added logic * reduce logs * less logging * less loggign, gossip-tx=flase * gossip-tx-key true * code cleanup, turn off recheck * fix config typo * remove logs * cleanup * more cleanup * Add try proposal span * tryCreate once * fix trycreate * cleanup, fix metrics * more fixes/cleanup * address comments * protogen
* checkpoint * More fixes * Reactor fixes * more fixes * fixes * reactor * set tx key to false * Add reactor stopwaitsync * Final fixes, add workflows * rm lint * Comment out byzantine test
* Cherry-pick rollback * debug * change log
* logs * nil proposalblock
* CheckTx for txs from peer proposal * address comments
* Error if there's dupe connections * Go Routine * evict * Disconnect and error instead * panic instead * revert panic
* Update default configs * Update params.go
* fix * fix test * fix * sd * sd
* [0 Gas] add counter for CheckTx failures * test
…ing CheckTx (#34) * [0 Gas] evict peer connection if they send too many transactions failing CheckTx * fix test
…s #7781" (#40) Fix state sync failure caused by duplicates RPC endpoints providers Co-authored-by: Yiming Zang <yzang@twitter.com>
Extends the ABCI interface with a side-effect free `GetTxPriorityHint` method and connects transaction priority hints to the mempool. The change gives the network a straightforward way to apply backpressure when the mempool is congested, without blocking liveness-critical transactions. By making the dropping logic priority-aware, nodes can favor important traffic under load. Three new configuration options are introduced: * **`DropUtilisationThreshold`** – the utilisation level (0.0–1.0) at which dropping starts. For example, `0.8` means the mempool must be at least 80% full before the policy takes effect. * **`DropPriorityThreshold`** – the fraction of lowest-priority transactions to drop once the utilisation threshold is exceeded. The default `0.1` drops the bottom 10%. * **`DropPriorityReservoirSize`** – the number of samples used to estimate the distribution of transaction priorities. Defaults to 10,240 entries (\~80KB). Larger values improve accuracy at the cost of memory. The reservoir approach is designed to avoid tracking every transaction’s priority directly, which would be inefficient. Instead, the mempool keeps a statistically representative sample (the reservoir) of observed priorities. This sample makes it possible to estimate percentile cutoffs with good accuracy, without storing all values. Operators can tune the reservoir size depending on whether memory savings or precision is more important for their setup. The combination of the utilisation threshold, priority cutoff, and reservoir sampling introduces a low-risk form of backpressure. Only the least important transactions are dropped when space is tight, ensuring new, high-priority transactions can still enter. This improves resilience under load while keeping the policy simple and predictable.
TCP transport is good enough to use in tests. Using the TCP transport in all tests significantly improves the transport logic coverage.
Codecov Report❌ Patch coverage is ❌ Your patch status has failed because the patch coverage (5.03%) is below the target coverage (70.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #2421 +/- ##
==========================================
- Coverage 36.68% 27.11% -9.57%
==========================================
Files 1166 1464 +298
Lines 104522 144402 +39880
==========================================
+ Hits 38340 39151 +811
- Misses 62924 101895 +38971
- Partials 3258 3356 +98
🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
842ee5e to
23f4765
Compare
We have Buf configuration across almost all submoduels. They need to be aggregated and reworked using Buf Workspace config. This is big enough that I want to separate it into its own body of work.
masih
added a commit
to sei-protocol/sei-tendermint
that referenced
this pull request
Oct 2, 2025
Update readme with notice of archive/move to sei-chain. Relates to: * sei-protocol/sei-chain#2421
sei-will
approved these changes
Oct 2, 2025
pompon0
approved these changes
Oct 2, 2025
udpatil
approved these changes
Oct 2, 2025
masih
added a commit
to sei-protocol/sei-tendermint
that referenced
this pull request
Oct 2, 2025
Update readme with notice of archive/move to sei-chain. Relates to: * sei-protocol/sei-chain#2421
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merge git commit history from
sei-tendermintintosei-chainand update the replace directive in root ofsei-chainto use relative path.Note
The merged commits from
sei-tendermintpoint tov0.6.5, the release currently in use by head ofmainatsei-chain. This leaves behind one additional commit tosei-tendermintwhich will be separately ported over:The reminder of changes done here are mechanical to fix CI runs and update the
replacedirective ingo.modto use relative path.