Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trace_tansaction and trace_replaytransaction show reverted from Besu Nodes #7885

Open
jwelch-qn opened this issue Nov 18, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@jwelch-qn
Copy link

Steps to Reproduce

curl '<BESU_NODE_URL>' --header 'Content-Type: application/json' --data-raw '{"method":"trace_transaction","params":["0x618493c58f08a590884207641fa83d0456168be6ef5e2e29dddc2c7d7f24e150"],"id":1,"jsonrpc":"2.0"}' |jq 

Expected behavior: [What you expect to happen]
Erigon, Reth, and Nethermind all report this transaction as successful.

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": [
    {
      "action": {
        "from": "0xf65dbfcbe148c221c5e4156088ba0efff35ae678",
        "callType": "call",
        "gas": "0x2cbaa",
        "input": "0x6a761202000000000000000000000000f7de07215d8a0d44a0a91a7e797d7ef498f39de00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000002488676cad00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c3b92d31862b439ce4e07fd952b3506c6138bca0350c7559657b8106de8803921f521db1800f5da8850a7f47a6aace5943f0ba92a4c520ddfa34d5611f634f02ec1ca5804f2e7380d4bd8e999fc376419704053de1db2117105a2baa5cbb0b21296057bca5a693a5613dc04cfebfbfcc16c291d103b4341786dae09eb3351f6d7d8220250136ed80f76e290e6c78a7e03ef6b2b2a85c86ff309ac2e10e9b4f7b991df403d3d6671458b4be448c0afa65d3b15b735df9f5ff8f15fb8f18a781012c8e7a1c0000000000000000000000000000000000000000000000000000000000",
        "to": "0x3aa851404191ccebd499a60a68e6059bc33bcb55",
        "value": "0x0"
      },
      "blockHash": "0xe59ebfd38430eb170d3c1e3b769dc6d159363c7a889625b007aa5e691aa7334a",
      "blockNumber": 21150407,
      "result": {
        "gasUsed": "0x2b5e2",
        "output": "0x0000000000000000000000000000000000000000000000000000000000000001"
      },
      "subtraces": 1,
      "traceAddress": [],
      "transactionHash": "0x618493c58f08a590884207641fa83d0456168be6ef5e2e29dddc2c7d7f24e150",
      "transactionPosition": 267,
      "type": "call"
    },
...

Actual behavior: [What actually happens]

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": [
    {
      "action": {
        "callType": "call",
        "from": "0xf65dbfcbe148c221c5e4156088ba0efff35ae678",
        "gas": "0x2cbaa",
        "input": "0x6a761202000000000000000000000000f7de07215d8a0d44a0a91a7e797d7ef498f39de00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000002488676cad00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c3b92d31862b439ce4e07fd952b3506c6138bca0350c7559657b8106de8803921f521db1800f5da8850a7f47a6aace5943f0ba92a4c520ddfa34d5611f634f02ec1ca5804f2e7380d4bd8e999fc376419704053de1db2117105a2baa5cbb0b21296057bca5a693a5613dc04cfebfbfcc16c291d103b4341786dae09eb3351f6d7d8220250136ed80f76e290e6c78a7e03ef6b2b2a85c86ff309ac2e10e9b4f7b991df403d3d6671458b4be448c0afa65d3b15b735df9f5ff8f15fb8f18a781012c8e7a1c0000000000000000000000000000000000000000000000000000000000",
        "to": "0x3aa851404191ccebd499a60a68e6059bc33bcb55",
        "value": "0x0"
      },
      "blockHash": "0xe59ebfd38430eb170d3c1e3b769dc6d159363c7a889625b007aa5e691aa7334a",
      "blockNumber": 21150407,
      "error": "Reverted",
      "revertReason": "0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000054753303133000000000000000000000000000000000000000000000000000000",
      "subtraces": 1,
      "traceAddress": [],
      "transactionHash": "0x618493c58f08a590884207641fa83d0456168be6ef5e2e29dddc2c7d7f24e150",
      "transactionPosition": 267,
      "type": "call"
    },

Frequency: [What percentage of the time does it occur?]
100% when calling Besu nodes, all others report successful transaction.

Logs

Please post relevant logs from Besu (and the consensus client, if running proof of stake) from before and after the issue.

Versions (Add all that apply)

  • Software version: besu/v24.10.0
  • Java version: openjdk-java-21
  • OS Name & Version: Ubuntu 22.04.5 LTS
  • Kernel Version: 6.5.0-1026-oracle
  • Virtual Machine software & version: NA
  • Docker Version: NA
  • Cloud VM, type, size: Oracle
  • Consensus Client & Version if using Proof of Stake: Lighthouse, but unrelated
@jwelch-qn jwelch-qn added the bug Something isn't working label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant