NethermindEth / juno

Starknet client implementation.
https://juno.nethermind.io
Apache License 2.0
404 stars 170 forks source link

Missing Root-level execution_resources in Trace Response #2218

Closed wojciechos closed 1 month ago

wojciechos commented 1 month ago

The RPC method for traces does not return the root-level execution_resources in the response, see spec.

Steps to Reproduce:

  1. Make a request to Sepolia using the following:

    
    {
     "jsonrpc": "2.0",
     "method": "starknet_traceTransaction",
     "params": ["01936a09e5aaee208fc0f7cc826e126d421c3ac9aca2c789605e1e919e399185"],
     "id": 1
    }
  2. In the response, the execution_resources field is missing at the root level.

Expected Behavior: • The root-level execution_resources should be included in the trace response. • Checked against Pathfinder, which returns the field correctly.