Skip to content

Log submitted express lane transactions like eth_sendRawTransaction#4588

Open
joshuacolvin0 wants to merge 2 commits intomasterfrom
log-express-lane-tx
Open

Log submitted express lane transactions like eth_sendRawTransaction#4588
joshuacolvin0 wants to merge 2 commits intomasterfrom
log-express-lane-tx

Conversation

@joshuacolvin0
Copy link
Copy Markdown
Member

The timeboost_sendExpressLaneTransaction RPC endpoint had no logging
on success, unlike eth_sendRawTransaction which logs via SubmitTransaction.

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

The timeboost_sendExpressLaneTransaction RPC endpoint had no logging
on success, unlike eth_sendRawTransaction which logs via SubmitTransaction.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 1, 2026

Codecov Report

❌ Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 34.17%. Comparing base (21e0cea) to head (9f4ce84).
⚠️ Report is 49 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4588      +/-   ##
==========================================
- Coverage   34.30%   34.17%   -0.13%     
==========================================
  Files         498      494       -4     
  Lines       59096    58930     -166     
==========================================
- Hits        20270    20141     -129     
- Misses      35238    35247       +9     
+ Partials     3588     3542      -46     

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

❌ 14 Tests Failed:

Tests completed Failed Passed Skipped
4714 14 4700 0
View the top 3 failed tests by shortest run time
TestAliasingFlaky
Stack Traces | -0.000s run time
=== RUN   TestAliasingFlaky
=== PAUSE TestAliasingFlaky
=== CONT  TestAliasingFlaky
    common_test.go:777: BuildL1 deployConfig: DeployBold=true, DeployReferenceDAContracts=false
INFO [04-02|21:10:58.580] Started log indexer
TestBatchPosterL1SurplusMatchesBatchGasFlaky
Stack Traces | 0.560s run time
... [CONTENT TRUNCATED: Keeping last 20 lines]
panic: runtime error: invalid memory address or nil pointer dereference [recovered, repanicked]
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x207ec72]

goroutine 72 [running]:
testing.tRunner.func1.2({0x37e7160, 0x62029b0})
	/opt/hostedtoolcache/go/1.25.8/x64/src/testing/testing.go:1872 +0x237
testing.tRunner.func1()
	/opt/hostedtoolcache/go/1.25.8/x64/src/testing/testing.go:1875 +0x35b
panic({0x37e7160?, 0x62029b0?})
	/opt/hostedtoolcache/go/1.25.8/x64/src/runtime/panic.go:783 +0x132
github.com/offchainlabs/nitro/arbnode.(*InboxTracker).GetBatchCount(0x6ed1900?)
	/home/runner/work/nitro/nitro/arbnode/inbox_tracker.go:210 +0x12
github.com/offchainlabs/nitro/arbnode.(*InboxTracker).FindInboxBatchContainingMessage(0x0, 0x8)
	/home/runner/work/nitro/nitro/arbnode/inbox_tracker.go:225 +0x2f
github.com/offchainlabs/nitro/system_tests.TestBatchPosterL1SurplusMatchesBatchGasFlaky(0xc000425a40)
	/home/runner/work/nitro/nitro/system_tests/batch_poster_test.go:839 +0x725
testing.tRunner(0xc000425a40, 0x41b9dc8)
	/opt/hostedtoolcache/go/1.25.8/x64/src/testing/testing.go:1934 +0xea
created by testing.(*T).Run in goroutine 1
	/opt/hostedtoolcache/go/1.25.8/x64/src/testing/testing.go:1997 +0x465
TestRedisProduceComplex/one_producer,_all_consumers_are_active
Stack Traces | 1.200s run time
... [CONTENT TRUNCATED: Keeping last 20 lines]
�[36mDEBUG�[0m[04-02|21:07:09.531] consumer: setting result                 �[36mcid�[0m=081d8047-62fc-4b13-803a-ce6190c4f0f6 �[36mmsgIdInStream�[0m=1775164028468-5  �[36mresultKeyInRedis�[0m=result-key:stream:d8ba8f11-8111-4a5a-ac55-94a9293a3564.1775164028468-5
�[36mDEBUG�[0m[04-02|21:07:09.531] consumer: setting result                 �[36mcid�[0m=dd775f81-694a-41bd-ac39-47572c06a6e6 �[36mmsgIdInStream�[0m=1775164028468-4  �[36mresultKeyInRedis�[0m=result-key:stream:d8ba8f11-8111-4a5a-ac55-94a9293a3564.1775164028468-4
�[36mDEBUG�[0m[04-02|21:07:09.531] consumer: xdel                           �[36mcid�[0m=888ead00-42e2-44bb-af6a-a18fa65f441b �[36mmessageId�[0m=1775164028468-2
�[36mDEBUG�[0m[04-02|21:07:09.532] Redis stream consuming                   �[36mconsumer_id�[0m=f73b2b93-8731-4d59-bbc4-d7ed02c11c08 �[36mmessage_id�[0m=1775164028468-7
�[36mDEBUG�[0m[04-02|21:07:09.532] consumer: xack                           �[36mcid�[0m=3174724d-7b26-4aa0-9bce-653b28baf373 �[36mmessageId�[0m=1775164028468-3
�[36mDEBUG�[0m[04-02|21:07:09.532] consumer: xack                           �[36mcid�[0m=081d8047-62fc-4b13-803a-ce6190c4f0f6 �[36mmessageId�[0m=1775164028468-5
�[36mDEBUG�[0m[04-02|21:07:09.532] consumer: xack                           �[36mcid�[0m=dd775f81-694a-41bd-ac39-47572c06a6e6 �[36mmessageId�[0m=1775164028468-4
�[36mDEBUG�[0m[04-02|21:07:09.532] consumer: xdel                           �[36mcid�[0m=081d8047-62fc-4b13-803a-ce6190c4f0f6 �[36mmessageId�[0m=1775164028468-5
�[36mDEBUG�[0m[04-02|21:07:09.532] consumer: xdel                           �[36mcid�[0m=3174724d-7b26-4aa0-9bce-653b28baf373 �[36mmessageId�[0m=1775164028468-3
�[36mDEBUG�[0m[04-02|21:07:09.532] consumer: xdel                           �[36mcid�[0m=dd775f81-694a-41bd-ac39-47572c06a6e6 �[36mmessageId�[0m=1775164028468-4
�[36mDEBUG�[0m[04-02|21:07:09.532] consumer: setting result                 �[36mcid�[0m=f73b2b93-8731-4d59-bbc4-d7ed02c11c08 �[36mmsgIdInStream�[0m=1775164028468-7  �[36mresultKeyInRedis�[0m=result-key:stream:d8ba8f11-8111-4a5a-ac55-94a9293a3564.1775164028468-7
�[36mDEBUG�[0m[04-02|21:07:09.532] consumer: xack                           �[36mcid�[0m=d1eeae92-8acc-47a5-98f2-113e39a56310 �[36mmessageId�[0m=1775164028468-6
�[36mDEBUG�[0m[04-02|21:07:09.533] consumer: xack                           �[36mcid�[0m=f73b2b93-8731-4d59-bbc4-d7ed02c11c08 �[36mmessageId�[0m=1775164028468-7
�[36mDEBUG�[0m[04-02|21:07:09.533] consumer: xdel                           �[36mcid�[0m=d1eeae92-8acc-47a5-98f2-113e39a56310 �[36mmessageId�[0m=1775164028468-6
�[36mDEBUG�[0m[04-02|21:07:09.533] consumer: xdel                           �[36mcid�[0m=f73b2b93-8731-4d59-bbc4-d7ed02c11c08 �[36mmessageId�[0m=1775164028468-7
�[36mDEBUG�[0m[04-02|21:07:09.574] checkResponses                           �[36mresponded�[0m=92 �[36merrored�[0m=0 �[36mchecked�[0m=99
�[36mDEBUG�[0m[04-02|21:07:09.585] redis producer: check responses starting
�[36mDEBUG�[0m[04-02|21:07:09.588] checkResponses                           �[36mresponded�[0m=7  �[36merrored�[0m=0 �[36mchecked�[0m=7
�[36mDEBUG�[0m[04-02|21:07:09.649] Error destroying a stream group          �[36merror�[0m="dial tcp 127.0.0.1:45039: connect: connection refused"
--- FAIL: TestRedisProduceComplex/one_producer,_all_consumers_are_active (1.20s)

📣 Thoughts on this report? Let Codecov know! | Powered by Codecov

Copy link
Copy Markdown
Contributor

@MishkaRogachev MishkaRogachev left a comment

Choose a reason for hiding this comment

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

Looks good, just a changelog is missing

if err := a.txPublisher.PublishExpressLaneTransaction(ctx, goMsg); err != nil {
return err
}
sender, _ := types.Sender(types.LatestSignerForChainID(goMsg.ChainId), goMsg.Transaction)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

it maybe worth checking an err from types.Sender

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

good call

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

4 participants