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

PoW check despite using no-seal-check during import #9461

Closed
holiman opened this issue Sep 4, 2018 · 1 comment · Fixed by #9470
Closed

PoW check despite using no-seal-check during import #9461

holiman opened this issue Sep 4, 2018 · 1 comment · Fixed by #9470
Labels
F2-bug 🐞 The client fails to follow expected behavior. M4-core ⛓ Core client code / Rust.
Milestone

Comments

@holiman
Copy link
Contributor

holiman commented Sep 4, 2018

See ethereum/hive#121

In hive, some tests does not have proper PoW. We implemented the relevant commands to skip PoW for Geth, Aleth and Parity. It's been tested to work with geth and aleth, but still does not quite do it for Parity, using the --no-seal-check option on the commandline:

[8fba75f2] Loading remaining individual blocks...
[8fba75f2] /parity  --no-discovery --no-seal-check --chain /chain.json import /blocks/0001.rlp
[8fba75f2] 2018-09-01 12:11:37 UTC Configured for Hive using Ethash engine
[8fba75f2] 2018-09-01 12:11:37 UTC Stage 1 block verification failed for 0x0e81…5afb: Error(Block(InvalidProofOfWork(OutOfBounds { min: Some(0x20000), max: None, found: 0x2 })), State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
[8fba75f2] Cannot import block: BlockImportError(Block(InvalidProofOfWork(OutOfBounds { min: Some(0x20000), max: None, found: 0x2 })), State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })

I thought that was the correction usage -- but any pointers on how to do it is appreciated.

@andresilva
Copy link
Contributor

Do you mind sharing your chain.json and the block rlp? Should be fixed in #9470 but haven't tested.

@andresilva andresilva added F2-bug 🐞 The client fails to follow expected behavior. M4-core ⛓ Core client code / Rust. labels Sep 4, 2018
@5chdn 5chdn added this to the 2.1 milestone Sep 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
F2-bug 🐞 The client fails to follow expected behavior. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants