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

Cannot return tracing result for certain txs #1018

Closed
boundless-forest opened this issue Aug 10, 2022 · 2 comments
Closed

Cannot return tracing result for certain txs #1018

boundless-forest opened this issue Aug 10, 2022 · 2 comments
Assignees
Labels
C-EVM [Component] Something about EVM

Comments

@boundless-forest
Copy link
Member

tx1: 0xdae17d53af4093426699791df551f4aac17e9a395d2240fe9973b5249a01d713
https://pangolin.subscan.io/tx/0xdae17d53af4093426699791df551f4aac17e9a395d2240fe9973b5249a01d713

curl http://g4.pangolin-p2p.darwinia.network:9933 -H "Content-Type:application/json;charset=utf-8" -d '{ "jsonrpc":"2.0", "id":1, "method":"debug_traceTransaction", "params": ["0xdae17d53af4093426699791df551f4aac17e9a395d2240fe9973b5249a01d713", {"disableStorage": true, "disableMemory": true, "disableStack": true}]}' | jq

{
  "jsonrpc": "2.0",
  "error": {
    "code": -32603,
    "message": "DispatchError: Other(\"\")"
  },
  "id": 1
}


---------------

tx2: 0x324abe37ea0bcd669ab3b8ddeb3bbb95245bf61d3bbf293a36de5ddcc4985a0d
https://pangolin.subscan.io/tx/0x324abe37ea0bcd669ab3b8ddeb3bbb95245bf61d3bbf293a36de5ddcc4985a0d

curl http://g4.pangolin-p2p.darwinia.network:9933 -H "Content-Type:application/json;charset=utf-8" -d '{ "jsonrpc":"2.0", "id":1, "method":"debug_traceTransaction", "params": ["0x324abe37ea0bcd669ab3b8ddeb3bbb95245bf61d3bbf293a36de5ddcc4985a0d", {"disableStorage": true, "disableMemory": true, "disableStack": true}]}' | jq

{
  "jsonrpc": "2.0",
  "error": {
    "code": -32603,
    "message": "DispatchError: Other(\"\")"
  },
  "id": 1
}


---------------

tx3: 0x5dc6fd2f5219a949268896f88427970b9c7afcfbeb29568698b607ff2bf1feab
https://pangolin.subscan.io/tx/0x5dc6fd2f5219a949268896f88427970b9c7afcfbeb29568698b607ff2bf1feab

curl http://g4.pangolin-p2p.darwinia.network:9933 -H "Content-Type:application/json;charset=utf-8" -d '{ "jsonrpc":"2.0", "id":1, "method":"debug_traceTransaction", "params": ["0x5dc6fd2f5219a949268896f88427970b9c7afcfbeb29568698b607ff2bf1feab", {"disableStorage": true, "disableMemory": true, "disableStack": true}]}' | jq

{
  "jsonrpc": "2.0",
  "error": {
    "code": -32603,
    "message": "DispatchError: Other(\"\")"
  },
  "id": 1
}
@boundless-forest boundless-forest added the C-EVM [Component] Something about EVM label Aug 10, 2022
@boundless-forest boundless-forest self-assigned this Aug 10, 2022
@boundless-forest
Copy link
Member Author

boundless-forest commented Aug 10, 2022

I find that this error started after the runtime upgraded to the 28170

  1. In the Pangolin network

image

The tx in 3474418, the runtime version is 28170

curl http://g4.pangolin-p2p.darwinia.network:9933 -H "Content-Type:application/json;charset=utf-8" -d '{ "jsonrpc":"2.0", "id":1, "method":"debug_traceTransaction", "params": ["0x624e197c7c7c85ee6a001af1418ec26f72b0033995b6f69cefc5c822c9afc7ab", {"disableStorage": true, "disableMemory": true, "disableStack": true}]}' | jq
{
  "jsonrpc": "2.0",
  "error": {
    "code": -32603,
    "message": "DispatchError: Other(\"\")"
  },
  "id": 1
}

The tx in 3439787, the runtime version is 28160

curl http://g4.pangolin-p2p.darwinia.network:9933 -H "Content-Type:application/json;charset=utf-8" -d '{ "jsonrpc":"2.0", "id":1, "method":"debug_traceTransaction", "params": ["0x71f447f9188596318c3d6c3444646c0a7d8a2be9ef0b9f585d89780d4b5d3806", {"disableStorage": true, "disableMemory": true, "disableStack": true}]}' | jq
{
  "jsonrpc": "2.0",
  "result": {
    "gas": "0x5454",
    "returnValue": "",
    "stepLogs": []
  },
  "id": 1
}

The same thing happens in the Pangoro network, I need more inverstment.

  1. In the pangoro network

image

This tx is in 3501448, runtime version is 28170

curl http://g4.pangoro-p2p.darwinia.network:9933 -H "Content-Type:application/json;charset=utf-8" -d '{ "jsonrpc":"2.0", "id":1, "method":"debug_traceTransaction", "params": ["0xdc6202a4b92f8565fc64342cda54608db199b14b0adaed1d9a36d9fae85deed5", {"disableStorage": true, "disableMemory": true, "disableStack": true}]}' | jq

{
  "jsonrpc": "2.0",
  "error": {
    "code": -32603,
    "message": "DispatchError: Other(\"\")"
  },
  "id": 1
}

This tx is in 3443899, runtime version is 28160

curl http://g4.pangoro-p2p.darwinia.network:9933 -H "Content-Type:application/json;charset=utf-8" -d '{ "jsonrpc":"2.0", "id":1, "method":"debug_traceTransaction", "params": ["0x70ae79fea142341996c9867d8436edacab53ab3b7f941970d7995c143e997049", {"disableStorage": true, "disableMemory": true, "disableStack": true}]}' | jq
{
  "jsonrpc": "2.0",
  "result": {
    "gas": "0xc5df",
    "returnValue": "",
    "stepLogs": [
    ...

@aurexav aurexav transferred this issue from darwinia-network/darwinia-common Mar 13, 2023
@boundless-forest
Copy link
Member Author

Staled,

boundless-forest pushed a commit that referenced this issue Aug 1, 2023
* Improve check of EIP-3607

Only check the restrictions of EIP-3607 if the source of the EVM operation
is from an external transaction.

If the source of this EVM operation is from an internal call, like from
`eth_call` or `eth_estimateGas` RPC, we  will skip the checks for the EIP-3607.

* fix eip-3607 tests

* apply review suggtions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-EVM [Component] Something about EVM
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant