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

Pruning question #8613

Closed
quantumproducer opened this issue May 14, 2018 · 3 comments
Closed

Pruning question #8613

quantumproducer opened this issue May 14, 2018 · 3 comments
Labels
M4-core ⛓ Core client code / Rust. Z1-question 🙋‍♀️ Issue is a question. Closer should answer.
Milestone

Comments

@quantumproducer
Copy link

Before filing a new issue, please provide the following information.

I'm running:

  • Which Parity version?: 1.9.7
  • Which operating system?: Linux
  • How installed?: via installer
  • Are you fully synchronized?: yes
  • Which network are you connected to?: ethereum
  • Did you try to restart the node?: yes

Hello, I'm trying to access a contract I deployed last week. With parity's default pruning behavior, if I begin syncing now, will this be a problem? When I attempt to read from my contract with web3: web3/web3.js#1629

It isn't clear to me if parity syncs all smart contract data.

@Tbaut Tbaut added Z1-question 🙋‍♀️ Issue is a question. Closer should answer. M4-core ⛓ Core client code / Rust. labels May 14, 2018
@Tbaut Tbaut added this to the 1.12 milestone May 14, 2018
@Tbaut
Copy link
Contributor

Tbaut commented May 14, 2018

The pruning affects the state tree, it does not interfere with contracts. Once the blockchain is fully synced (and particularly the block containing your contract) it will be accessible and you will be able to interract with it.

@Tbaut Tbaut closed this as completed May 14, 2018
@quantumproducer
Copy link
Author

Thank you. So State Tree is just records of transactions?

@Tbaut
Copy link
Contributor

Tbaut commented May 15, 2018

No, the state tree contains the state (the balance) of all account of the Ethereum blockchain for a given block. Here is an article that gives a better overview

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
M4-core ⛓ Core client code / Rust. Z1-question 🙋‍♀️ Issue is a question. Closer should answer.
Projects
None yet
Development

No branches or pull requests

2 participants