Skip to content

feat: Implement TempoTransactionValidator#125

Merged
0xKitsune merged 22 commits intomainfrom
kit/tx-validator
Aug 27, 2025
Merged

feat: Implement TempoTransactionValidator#125
0xKitsune merged 22 commits intomainfrom
kit/tx-validator

Conversation

@0xKitsune
Copy link
Contributor

Closes #78
Depends on paradigmxyz/reth#18086

This PR introduces a TempoTransactionValidator that extends the standard EthTransactionValidator with a balance check against the TIPFeeManager contract, ensuring senders have enough feeToken funds before transactions are inserted into the transaction pool.

Copy link
Contributor

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

provided some refs and suggestions

@0xKitsune 0xKitsune marked this pull request as draft August 27, 2025 15:59
Copy link
Contributor

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense,

I think to make this slightly for performant we need to make a few things pub in reth, can take of this in a followup

@0xKitsune 0xKitsune marked this pull request as ready for review August 27, 2025 22:10
@0xKitsune 0xKitsune merged commit 41927c5 into main Aug 27, 2025
11 checks passed
@0xKitsune 0xKitsune deleted the kit/tx-validator branch August 27, 2025 22:18
Zygimantass pushed a commit that referenced this pull request Sep 5, 2025
* wip: fee token balance

* wip: ensure sufficient balance

* wip: balance check

* wip: validate transactions

* wip: validate txs with origin

* chore: clippy

* fix: restructure validation, remove async

* wip: init provider once

* wip: restructure balance checks

* chore: clippy, regen cargo lock

* chore: move TIPStorageProvider to precompiles crate

* chore: clippy

* wip: use const for USD_DECIMAL_FACTOR

* docs: TIPFeeStorageProvider doc comments

* docs: tx validator comments

* test: test sufficient balance

* test: update balance test

* chore: clippy

* feat: use tempo tx validator in node
legion2002 pushed a commit that referenced this pull request Oct 9, 2025
* wip: fee token balance

* wip: ensure sufficient balance

* wip: balance check

* wip: validate transactions

* wip: validate txs with origin

* chore: clippy

* fix: restructure validation, remove async

* wip: init provider once

* wip: restructure balance checks

* chore: clippy, regen cargo lock

* chore: move TIPStorageProvider to precompiles crate

* chore: clippy

* wip: use const for USD_DECIMAL_FACTOR

* docs: TIPFeeStorageProvider doc comments

* docs: tx validator comments

* test: test sufficient balance

* test: update balance test

* chore: clippy

* feat: use tempo tx validator in node
unbalancedparentheses pushed a commit to unbalancedparentheses/tempo that referenced this pull request Feb 23, 2026
* wip: fee token balance

* wip: ensure sufficient balance

* wip: balance check

* wip: validate transactions

* wip: validate txs with origin

* chore: clippy

* fix: restructure validation, remove async

* wip: init provider once

* wip: restructure balance checks

* chore: clippy, regen cargo lock

* chore: move TIPStorageProvider to precompiles crate

* chore: clippy

* wip: use const for USD_DECIMAL_FACTOR

* docs: TIPFeeStorageProvider doc comments

* docs: tx validator comments

* test: test sufficient balance

* test: update balance test

* chore: clippy

* feat: use tempo tx validator in node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: TempoTransactionValidator

2 participants