Skip to content

Fix debug_executionWitness endpoint#4401

Open
bragaigor wants to merge 3 commits intomasterfrom
braga/fix-exec-witness-block
Open

Fix debug_executionWitness endpoint#4401
bragaigor wants to merge 3 commits intomasterfrom
braga/fix-exec-witness-block

Conversation

@bragaigor
Copy link
Contributor

@bragaigor bragaigor commented Feb 18, 2026

Updates upstream geth with debug_executionWitness endpoint fix.

Tested by running nitro-testnode:

./test-node.bash --init --dev --simple --detach

And making the request:

curl -X POST http://localhost:8547 \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"debug_executionWitness","params":["0x25"],"id":1}'

Before we were getting the following error message:

{"jsonrpc":"2.0","id":1,"error":{"code":-32603,"message":"method handler crashed"}}

And now we get the actual response (output truncated):

{"jsonrpc":"2.0","id":1,"result":{"headers":[{"parentHash":"0x5bdb6149bacfc207e2a864e93980e216443d9cf3c5a6b8abd26fee161ac09aed","sha3Uncles":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347","miner":"0xa4b000000000000000000073657175656e636572","stateRoot":"0x8d66d0b6dc897a78e14389d05c0f551bca65b4c3f047116779ef5ba294b14cde","transactionsRoot":"0x4a0b29dcb249f0db61a7a5f1be8f265707cec134b00ecefd23424be9fa307a15","receiptsRoot":"0x3b5e9d084dc4a770cd470167568601342aebe33d876f98f0a981f27700234cec","logsBloom":"0x000000000000000000000000...00000000000000","difficulty":"0x1","number":"0x8a","gasLimit":"0x4000000000000","gasUsed":"0x5208","timestamp":"0x6995c4c3","extraData":"0x0000000000000000000000000000000000000000000000000000000000000000","mixHash":"0x000000000000000000000000000000f400000000000000280000000000000000","nonce":"0x000000000000000c","baseFeePerGas":"0x5f5e100","withdrawalsRoot":null,"blobGasUsed":null,"excessBlobGas":null,"parentBeaconBlockRoot":null,"requestsHash":null,"hash":"0x45e25f43ee636a7088d5b3668b3692c604a33730ffeda6d5eb3ea2c6d04a415f"}],"codes":["0x3373fffffffffffffffffffffffffffffffffffffffe1460605760203603605c575f3563a3b1b31d5f5260205f6004601c60645afa15605c575f51600181038211605c57816205ffd0910311605c576205ffd09006545f5260205ff35b5f5ffd5b5f356205ffd0600163a3b1b31d5f5260205f6004601c60645afa15605c575f5103065500","0xfe"],"state":["0xf8918080808080a0393f513ad446bff5b2afb4d426510d828c5d98492681c45253c6941cbcdb105580a047386ad0546913797e3abb38e42d2eb78f3d08cf8072b4140ce5beb68b2df40d808080a0ac22cb2bc3058f5dfa8b238b9dadb375ce5a0c7f715b08e85b8a3f55244b8d9d80a0691f09b5c1711ee2280917392600e4046de5701555fc6e2f269c36b99a8c51b0808080","0xf871a00fc345dee495622e66b550d2362ddeac0adb0f4c48e8593c7b3568b4c1b01a8c8080808080808080a03a820fa25208798844d7ac01f9da8f7aaa8fc72fc4ec4c1e577743ca4368c03480808080a0d658247a8f969ff98397ade7a558236c6d20ccd425a8cb851f549c3c420064618080","0xf872a0200271236004fb476980be041586af2c86a90c32ace933d02408cefccb257cfeb84ff84d7689056bc67ccdf4165000a056e81f171bcc55a6ff8...d78f6c150d87075cea8f007c0db556b261eb60113dff5da80808080a0543986a108a59f4664c46513cc311c0e0b6fcfdee3eaef94b0b6e5d503e78392a0a4bd9e546ea40bbec6bd918dabb3bb24de260112810df65cbc2d7fb544bb0f858080","0xe19f3555aa3157f23eaf416235af60e5987e80bb7af43a00859a410e312cb5a4210a","0xf85180808080808080808080808080a047a4ea26ae9d6c9c14107baecf5b4a0de83da0a8c7c4cd424fc68f4af553a024a0fd2ddc29b5ee7a462dcf493f4c172d253614d4e5bd74cfee35d9cbe6371261318080"],"keys":null}}

Pulls in OffchainLabs/go-ethereum#626

Fixes NIT-4205

Signed-off-by: Igor Braga <5835477+bragaigor@users.noreply.github.com>
Signed-off-by: Igor Braga <5835477+bragaigor@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Feb 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 32.75%. Comparing base (b9af047) to head (027c06e).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4401      +/-   ##
==========================================
- Coverage   33.62%   32.75%   -0.88%     
==========================================
  Files         493      493              
  Lines       58290    58290              
==========================================
- Hits        19600    19092     -508     
- Misses      35239    35859     +620     
+ Partials     3451     3339     -112     

@github-actions
Copy link
Contributor

github-actions bot commented Feb 18, 2026

❌ 11 Tests Failed:

Tests completed Failed Passed Skipped
4243 11 4232 0
View the top 3 failed tests by shortest run time
TestRedisProduceComplex/one_producer,_all_consumers_are_active
Stack Traces | 1.290s run time
... [CONTENT TRUNCATED: Keeping last 20 lines]
�[36mDEBUG�[0m[03-03|12:03:02.783] consumer: xack                           �[36mcid�[0m=f82cce18-688f-42c0-9fbe-44d8d03a18c8 �[36mmessageId�[0m=1772539381610-6
�[36mDEBUG�[0m[03-03|12:03:02.784] Redis stream consuming                   �[36mconsumer_id�[0m=9724e962-123f-4ab9-9349-d8834026e3fb �[36mmessage_id�[0m=1772539381612-0
�[36mDEBUG�[0m[03-03|12:03:02.784] consumer: setting result                 �[36mcid�[0m=9724e962-123f-4ab9-9349-d8834026e3fb �[36mmsgIdInStream�[0m=1772539381612-0  �[36mresultKeyInRedis�[0m=result-key:stream:dd438f8a-c6f0-42d2-851b-d67b98bfbda9.1772539381612-0
�[36mDEBUG�[0m[03-03|12:03:02.784] consumer: xdel                           �[36mcid�[0m=f82cce18-688f-42c0-9fbe-44d8d03a18c8 �[36mmessageId�[0m=1772539381610-6
�[36mDEBUG�[0m[03-03|12:03:02.783] Redis stream consuming                   �[36mconsumer_id�[0m=be4d8b42-3e86-429e-8d8f-13d75d513c0f �[36mmessage_id�[0m=1772539381611-0
�[33mWARN �[0m[03-03|12:03:02.784] XClaimJustID returned empty response when indicating heartbeat �[33mmsgID�[0m=1772539381610-7
�[36mDEBUG�[0m[03-03|12:03:02.783] consumer: xack                           �[36mcid�[0m=62fff291-0d98-4be4-b260-bb050d569563 �[36mmessageId�[0m=1772539381610-3
�[36mDEBUG�[0m[03-03|12:03:02.784] consumer: xdel                           �[36mcid�[0m=3c92c8f7-8e84-4b4b-8a79-a0431c77f67f �[36mmessageId�[0m=1772539381610-7
�[36mDEBUG�[0m[03-03|12:03:02.784] consumer: xack                           �[36mcid�[0m=b7e3ab22-b7d4-4291-b923-69ab0d120b89 �[36mmessageId�[0m=1772539381610-5
�[36mDEBUG�[0m[03-03|12:03:02.784] consumer: setting result                 �[36mcid�[0m=be4d8b42-3e86-429e-8d8f-13d75d513c0f �[36mmsgIdInStream�[0m=1772539381611-0  �[36mresultKeyInRedis�[0m=result-key:stream:dd438f8a-c6f0-42d2-851b-d67b98bfbda9.1772539381611-0
�[36mDEBUG�[0m[03-03|12:03:02.784] consumer: xdel                           �[36mcid�[0m=62fff291-0d98-4be4-b260-bb050d569563 �[36mmessageId�[0m=1772539381610-3
�[36mDEBUG�[0m[03-03|12:03:02.787] consumer: xdel                           �[36mcid�[0m=b7e3ab22-b7d4-4291-b923-69ab0d120b89 �[36mmessageId�[0m=1772539381610-5
�[36mDEBUG�[0m[03-03|12:03:02.784] consumer: xack                           �[36mcid�[0m=9724e962-123f-4ab9-9349-d8834026e3fb �[36mmessageId�[0m=1772539381612-0
�[36mDEBUG�[0m[03-03|12:03:02.793] consumer: xdel                           �[36mcid�[0m=9724e962-123f-4ab9-9349-d8834026e3fb �[36mmessageId�[0m=1772539381612-0
�[36mDEBUG�[0m[03-03|12:03:02.793] consumer: xack                           �[36mcid�[0m=be4d8b42-3e86-429e-8d8f-13d75d513c0f �[36mmessageId�[0m=1772539381611-0
�[36mDEBUG�[0m[03-03|12:03:02.793] consumer: xdel                           �[36mcid�[0m=be4d8b42-3e86-429e-8d8f-13d75d513c0f �[36mmessageId�[0m=1772539381611-0
�[36mDEBUG�[0m[03-03|12:03:02.840] checkResponses                           �[36mresponded�[0m=74 �[36merrored�[0m=0 �[36mchecked�[0m=75
�[36mDEBUG�[0m[03-03|12:03:02.846] redis producer: check responses starting
�[36mDEBUG�[0m[03-03|12:03:02.847] checkResponses                           �[36mresponded�[0m=1  �[36merrored�[0m=0 �[36mchecked�[0m=1
--- FAIL: TestRedisProduceComplex/one_producer,_all_consumers_are_active (1.29s)
TestBroadcastClientConfirmedMessage
Stack Traces | 5.130s run time
... [CONTENT TRUNCATED: Keeping last 20 lines]
WARN [03-03|12:02:56.997] client did not accept required compression, disconnecting connectingIP=127.0.0.1
INFO [03-03|12:02:56.998] connecting to arbitrum inbox message broadcaster url=ws://127.0.0.1:33677/
INFO [03-03|12:02:56.997] Feed connected                           feedServerVersion=2 chainId=9742 requestedSeqNum=0
INFO [03-03|12:02:56.998] Feed connected                           feedServerVersion=2 chainId=9742 requestedSeqNum=0
INFO [03-03|12:02:56.997] Feed connected                           feedServerVersion=2 chainId=9742 requestedSeqNum=0
WARN [03-03|12:02:56.998] readData returned EOF                    url=ws://127.0.0.1:35739/ opcode=0 err=EOF
WARN [03-03|12:02:56.998] readData returned EOF                    url=ws://127.0.0.1:35739/ opcode=0 err=EOF
ERROR[03-03|12:02:56.999] incorrect chain id when connecting to server feed expectedChainId=8743 actualChainId=8742
    broadcastclient_test.go:338: Received Message, Sequence Message: {0 {0xc00020dcb0 0} &lt;nil&gt; [177 121 71 75 51 169 32 85 159 196 38 226 95 176 192 154 221 231 166 140 165 77 236 253 187 27 66 246 28 160 21 114 59 249 190 77 210 128 147 149 166 19 9 77 90 62 144 203 32 50 162 162 248 76 13 95 172 214 143 217 21 205 180 125 0] [] 0}
INFO [03-03|12:02:57.084] connecting to arbitrum inbox message broadcaster url=ws://127.0.0.1:35739/
WARN [03-03|12:02:57.084] confirmed sequence number is past the end of stored messages "confirmed sequence number"=42 "last stored sequence number"=0
WARN [03-03|12:02:57.085] client did not accept required compression, disconnecting connectingIP=127.0.0.1
INFO [03-03|12:02:57.085] Feed connected                           feedServerVersion=2 chainId=9742 requestedSeqNum=0
INFO [03-03|12:02:57.088] Feed connected                           feedServerVersion=2 chainId=9742 requestedSeqNum=0
WARN [03-03|12:02:57.089] readData returned EOF                    url=ws://127.0.0.1:35739/ opcode=0 err=EOF
INFO [03-03|12:02:57.089] First reconnection attempt, skipping backoff url=ws://127.0.0.1:35739/
INFO [03-03|12:02:57.089] connecting to arbitrum inbox message broadcaster url=ws://127.0.0.1:35739/
WARN [03-03|12:02:57.089] client did not accept required compression, disconnecting connectingIP=127.0.0.1
    broadcastclient_test.go:359: Client did not receive confirm message
--- FAIL: TestBroadcastClientConfirmedMessage (5.13s)
TestArbOSVersion60
Stack Traces | 6.050s run time
... [CONTENT TRUNCATED: Keeping last 20 lines]
        
    precompile_inclusion_test.go:94: �[31;1m [] execution aborted (timeout = 5s) �[0;0m
WARN [03-03|12:13:09.167] Failed to Close AnyTrust component       err="context deadline exceeded"
WARN [03-03|12:13:09.167] Failed to Close AnyTrust component       err="context deadline exceeded"
INFO [03-03|12:13:09.168] Waiting background transaction indexer to exit
INFO [03-03|12:13:09.168] Imported new potential chain segment     number=50 hash=933ecf..7327f6 blocks=1  txs=1  mgas=0.145  elapsed=7.821ms     mgasps=18.596   triediffs=273.96KiB triedirty=0.00B
INFO [03-03|12:13:09.168] Persisting dirty state                   head=5  root=dd3770..07606c layers=5
INFO [03-03|12:13:09.168] Chain head was updated                   number=50 hash=933ecf..7327f6 root=b8eb74..58afd3 elapsed="175.981µs"
INFO [03-03|12:13:09.169] Submitted transaction                    hash=0xd4443dc3aa2c527500a4286032186f81c00721c16129325f88c6658fb9e973f3 from=0x26E554a8acF9003b83495c7f45F06edCB803d4e3 nonce=2  recipient=0x0000000000000000000000000000000000000070 value=0
INFO [03-03|12:13:09.169] New local node record                    seq=1,772,539,989,169 id=e294f47c4d6c71c6   ip=127.0.0.1 udp=0 tcp=0
INFO [03-03|12:13:09.169] Started P2P networking                   self=enode://77e3f848913904397adf91ff69b88fd82acb1f77f9fb5bb4518057844409ff95cb51ffa66713599b82d50bde65ccce455bb47c986e451aed648b5aed23efc56c@127.0.0.1:0
INFO [03-03|12:13:09.170] Persisted dirty state to disk            size=32.78KiB  elapsed=1.897ms
INFO [03-03|12:13:09.170] Blockchain stopped
INFO [03-03|12:13:09.171] Persisting dirty state                   head=1  root=c66abc..2f4580 layers=1
INFO [03-03|12:13:09.173] Submitted transaction                    hash=0x4d9b27baea3249fb6ffacf378fa1dcc24804fbf80430afaba095c8029bd5dbb1 from=0xb386a74Dcab67b66F8AC07B4f08365d37495Dd23 nonce=6  recipient=0x3eB30424AdB12f8E72F6E29e69102C2974fB1Cf5 value=0
INFO [03-03|12:13:09.174] Persisted dirty state to disk            size=4.86KiB   elapsed=2.347ms
INFO [03-03|12:13:09.174] DataPoster sent transaction              nonce=6  hash=4d9b27..d5dbb1 feeCap=13,303,120,300 tipCap=50,000,000    blobFeeCap=&lt;nil&gt; gas=154,401
INFO [03-03|12:13:09.174] Persisting dirty state                   head=1  root=03a43d..6c874a layers=1
INFO [03-03|12:13:09.329] Blockchain stopped
--- FAIL: TestArbOSVersion60 (6.05s)

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

@bragaigor bragaigor marked this pull request as ready for review February 18, 2026 14:32
amsanghi
amsanghi previously approved these changes Feb 24, 2026
Signed-off-by: Igor Braga <5835477+bragaigor@users.noreply.github.com>
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.

4 participants