Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

eth_call to pending state of fully synced full history Parity node returns error #10096

@vbaranov

Description

@vbaranov
  • Parity Ethereum version: 2.2.1-beta
  • Operating system: MacOS
  • Installation: one-line installer
  • Fully synchronized: yes
  • Network: POA core
  • Restarted: yes

Description of the Issue

eth_call to pending state with fully synced Parity full history node returns This request is not supported because your node is running with state pruning. Run with --pruning=archive.

MacBook-Pro-Viktor:~ viktor$ curl -X POST -H 'Content-Type: application/json'  --data '{"jsonrpc":"2.0","method":"eth_call","params":[{"to": "0x4316f704989157162de90997ce1a05cff3118680", "data": "0x8da5cb5b"}, "pending"],"id":676681188149}' http://localhost:8545
{"jsonrpc":"2.0","error":{"code":-32000,"message":"This request is not supported because your node is running with state pruning. Run with --pruning=archive."},"id":676681188149}

screen shot 2018-12-21 at 13 16 03

Parameters of archive node:

2018-12-21 13:48:10  Starting Parity-Ethereum/v2.2.1-beta-5c56fc5-20181114/x86_64-macos/rustc1.30.1
2018-12-21 13:48:10  Keys path ./parity_data/keys/Core
2018-12-21 13:48:10  DB path ./parity_data/chains/Core/db/39bb23edadd3d2d8
2018-12-21 13:48:10  State DB configuration: archive +Fat +Trace
2018-12-21 13:48:10  Operating mode: active
2018-12-21 13:48:10  Warning: Warp Sync is disabled because Fat DB is turned on.
2018-12-21 13:48:10  Configured for Core using AuthorityRound engine
[parity]
chain = "./spec.json"
base_path = "./parity_data"

[network]
reserved_peers="./bootnodes.txt"
port = 30303

[rpc]
apis = ["web3","eth","net", "parity",  "traces" ]
port = 8545
interface = "0.0.0.0"
cors=["all"]

[websockets]
port = 8546
interface = "0.0.0.0"
max_connections = 1000
apis = ["web3","eth","net","parity", "pubsub", "traces"]

[footprint]
tracing = "on"
pruning = "archive"
fat_db = "on"
#scale_verifiers = true

What is wrong with the configuration to get a response from pending state?

Metadata

Metadata

Assignees

No one assigned

    Labels

    F2-bug 🐞The client fails to follow expected behavior.M6-rpcapi 📣RPC API.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions