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

Upgrade ethereum types #10670

Merged
merged 96 commits into from
Jun 3, 2019
Merged

Upgrade ethereum types #10670

merged 96 commits into from
Jun 3, 2019

Conversation

ordian
Copy link
Collaborator

@ordian ordian commented May 16, 2019

We've accumulated technical debt by not upgrading ethereum-types and other related dependencies.
This PR tries to fix that to take advantage of recent improvements introduced in the uint crate.

Unrelated changes:

  • fix some warnings
  • upgrade rand to 0.6

@ordian ordian added A0-pleasereview 🤓 Pull request needs code review. M4-core ⛓ Core client code / Rust. M5-dependencies 🖇 Dependencies. labels May 16, 2019
Cargo.toml Outdated Show resolved Hide resolved
accounts/Cargo.toml Outdated Show resolved Hide resolved
accounts/ethkey/Cargo.toml Outdated Show resolved Hide resolved
accounts/ethkey/src/extended.rs Outdated Show resolved Hide resolved
accounts/ethkey/src/signature.rs Outdated Show resolved Hide resolved
util/network-devp2p/src/handshake.rs Outdated Show resolved Hide resolved
util/network-devp2p/src/connection.rs Show resolved Hide resolved
util/network-devp2p/src/connection.rs Show resolved Hide resolved
@@ -157,7 +157,12 @@ impl DatabaseDirectories {
/// Base DB directory for the given fork.
// TODO: remove in 1.7
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is an interesting comment. Still relevant?

util/dir/src/lib.rs Outdated Show resolved Hide resolved
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe,
0xba, 0xae, 0xdc, 0xe6, 0xaf, 0x48, 0xa0, 0x3b,
0xbf, 0xd2, 0x5e, 0x8c, 0xd0, 0x36, 0x41, 0x41,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I've changed some bytes here to see if tests fail, but sadly, there were no test to catch that.

Copy link
Collaborator

@dvdplm dvdplm left a comment

Choose a reason for hiding this comment

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

lgtm, minor nits

Cargo.toml Outdated Show resolved Hide resolved
util/triehash-ethereum/Cargo.toml Outdated Show resolved Hide resolved
util/network-devp2p/src/host.rs Outdated Show resolved Hide resolved
util/network-devp2p/src/connection.rs Show resolved Hide resolved
@ordian ordian added the A1-onice 🌨 Pull request is reviewed well, but should not yet be merged. label May 29, 2019
@ordian
Copy link
Collaborator Author

ordian commented May 29, 2019

Putting on ice till ethabi 8.0.0 is published to avoid accidental merge.

@ordian ordian removed the A1-onice 🌨 Pull request is reviewed well, but should not yet be merged. label Jun 3, 2019
@dvdplm dvdplm merged commit dae5d75 into master Jun 3, 2019
@ordian ordian deleted the ao-upgrade-ethereum-types branch June 3, 2019 13:36
dvdplm added a commit that referenced this pull request Jun 3, 2019
dvdplm added a commit that referenced this pull request Jun 3, 2019
…ypto-from-devp2p

* dp/chore/devp2p-cosmetics:
  Reorg imports
  Upgrade ethereum types (#10670)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-pleasereview 🤓 Pull request needs code review. M4-core ⛓ Core client code / Rust. M5-dependencies 🖇 Dependencies.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants