iotaledger / wasp

Node for IOTA Smart Contracts
Apache License 2.0
289 stars 147 forks source link

`debug_traceTransaction` returns empty gasUsed #3433

Closed vbaranov closed 4 weeks ago

vbaranov commented 2 months ago

debug_traceTransaction returns empty gasUsed where it should be non-empty.

To Reproduce Request trace for transaction 0xec59dd233c14ea465b0d6bd4a30ef9ab59919a850eb0d8d49b6388341d073a28. gasUsed returns "":

curl -s \
  -H "Content-Type:application/json;charset=utf-8" \
  -d "{
      \"jsonrpc\": \"2.0\",
      \"id\": 1,
      \"method\": \"debug_traceTransaction\",
      \"params\": [
          \"0xec59dd233c14ea465b0d6bd4a30ef9ab59919a850eb0d8d49b6388341d073a28\",
          { \"tracer\": \"callTracer\"}
      ]
  }" \
https://#{shimmer_testnet_endpoint} | jq ".result.gasUsed"
""

Expected behavior gasUsed should return non-empty value.

Network and versioning

jorgemmsilva commented 4 weeks ago

fixed on the testnet 👍