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

fixed parsing ethash seals and verify_block_undordered #8031

Merged
merged 1 commit into from
Mar 1, 2018

Conversation

debris
Copy link
Collaborator

@debris debris commented Mar 1, 2018

rlp::decode in unsafe, therefore Header::mix_hash and Header::nonce are unsafe. Added a test for verify_block_unordered which panicked when parsing seal with correct len, but invalid seal fields

@debris debris added A0-pleasereview 🤓 Pull request needs code review. B0-patch M4-core ⛓ Core client code / Rust. labels Mar 1, 2018
@@ -439,18 +466,6 @@ impl Ethash {
}
}

impl Header {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

glad we can kill these impls

@gavofyork gavofyork added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Mar 1, 2018
@gavofyork gavofyork merged commit ca0d1f5 into master Mar 1, 2018
@gavofyork gavofyork deleted the fixed_parsing_seals branch March 1, 2018 18:13
@5chdn 5chdn added this to the 1.11 milestone Mar 1, 2018
@5chdn 5chdn mentioned this pull request Mar 5, 2018
@andresilva andresilva mentioned this pull request Mar 5, 2018
debris pushed a commit that referenced this pull request Mar 5, 2018
* fixed parsing ethash seals and verify_block_undordered (#8031)

* fix for verify_block_basic crashing on invalid transaction rlp (#8032)
tomusdrw pushed a commit that referenced this pull request Mar 14, 2018
* CI: Fix cargo cache (#7968)

* Fix cache

Blocking waiting for file lock on the registry index

* Only clean locked cargo cache on windows

* fixed ethstore sign (#8026)

* fixed parsing ethash seals and verify_block_undordered (#8031)

* fix for verify_block_basic crashing on invalid transaction rlp (#8032)

* fix cache & snapcraft CI build (#8052)

after successful testing it is necessary to port in a ```beta``` and ```stable```

*  Add MCIP-6 Byzyantium transition to Musicoin spec (#7841)

* Add test chain spec for musicoin byzantium testnet

* Add MCIP-6 Byzyantium transition to Musicoin spec

* Update mcip6_byz.json

* ethcore: update musicoin byzantium block number

* ethcore: update musicoin byzantium block number

* ethcore: update musicoin bootnodes

* Update musicoin.json

* Update musicoin.json

* More bootnodes.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants