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

Upgrade ethereum types#10670

Merged
dvdplm merged 96 commits into
masterfrom
ao-upgrade-ethereum-types
Jun 3, 2019
Merged

Upgrade ethereum types#10670
dvdplm merged 96 commits into
masterfrom
ao-upgrade-ethereum-types

Conversation

@ordian
Copy link
Copy Markdown
Member

@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
Comment thread Cargo.toml Outdated
Comment thread accounts/Cargo.toml Outdated
Comment thread accounts/ethkey/Cargo.toml Outdated
Comment thread accounts/ethkey/src/extended.rs Outdated
Comment thread accounts/ethkey/src/signature.rs Outdated
Comment thread util/network-devp2p/src/handshake.rs Outdated
Comment thread util/network-devp2p/src/connection.rs
Comment thread util/network-devp2p/src/connection.rs
Comment thread util/dir/src/lib.rs
@@ -157,7 +157,12 @@ impl DatabaseDirectories {
/// Base DB directory for the given fork.
// TODO: remove in 1.7
Copy link
Copy Markdown
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?

Comment thread util/dir/src/lib.rs Outdated
Comment thread accounts/ethstore/src/accounts_dir/memory.rs
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
Copy Markdown
Member 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
Copy Markdown
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

Comment thread Cargo.toml Outdated
Comment thread util/triehash-ethereum/Cargo.toml Outdated
Comment thread util/network-devp2p/src/host.rs Outdated
Comment thread util/network-devp2p/src/connection.rs
@ordian ordian added the A1-onice 🌨 Pull request is reviewed well, but should not yet be merged. label May 29, 2019
@ordian
Copy link
Copy Markdown
Member 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