Skip to content

test: add CI for eth_fillTransaction#244

Open
gakonst wants to merge 3 commits intotempofrom
test-eth-fill-transaction-expiring-nonce
Open

test: add CI for eth_fillTransaction#244
gakonst wants to merge 3 commits intotempofrom
test-eth-fill-transaction-expiring-nonce

Conversation

@gakonst
Copy link
Contributor

@gakonst gakonst commented Feb 5, 2026

Summary

Adds CI tests that calls eth_fillTransaction directly.

@grandizzy grandizzy changed the title test: add eth_fillTransaction expiring nonce regression test test: add CI for eth_fillTransaction Feb 5, 2026
Adds a test case that calls eth_fillTransaction directly with an
expiring nonce (nonceKey=MAX). This catches the bug where the node
overwrites nonce=0 by reading from storage, causing the error:
'expiring nonce transaction must have nonce == 0'

This is a regression test for tempo#2491.

Ref: https://tempoxyz.slack.com/archives/C09KCGR4LQ4/p1770314532776229
Amp-Thread-ID: https://ampcode.com/threads/T-019c2f0d-9905-72f8-95d9-0bb5ca634d18
Co-authored-by: Amp <amp@ampcode.com>
@decofe decofe force-pushed the test-eth-fill-transaction-expiring-nonce branch from f6b5b3b to c9012cd Compare March 13, 2026 11:04
decofe and others added 2 commits March 13, 2026 11:16
- Add || true to prevent set -euo pipefail from killing script on cast rpc error
- Use block timestamp instead of date +%s to avoid CI/devnet clock skew
- Remove invalid keyType field (test account uses secp256k1, not p256)
- Fix value field from 0x to 0x0
- Add catch-all error check for unexpected failures

Co-authored-by: zerosnacks <95942363+zerosnacks@users.noreply.github.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019ce6dd-576e-77ec-bcda-838db7e28d89
Co-authored-by: zerosnacks <95942363+zerosnacks@users.noreply.github.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019ce6dd-576e-77ec-bcda-838db7e28d89
@zerosnacks zerosnacks marked this pull request as ready for review March 13, 2026 15:23
@zerosnacks
Copy link
Contributor

cc @grandizzy I believe this was prompted by you; I've updated the PR so it passed CI again

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.

3 participants