-
Notifications
You must be signed in to change notification settings - Fork 23
Move fixed-hash and uint to parity-common; remove tests crate #47
Conversation
I am not sure about that. What's wrong in parity-common using this library as a dependency? |
Ping @tomusdrw @niklasad1 ptal? @debris wrt to your concerns, see discussion in paritytech/parity-common#12 |
@@ -11,7 +11,8 @@ repository = "https://github.com/paritytech/primitives" | |||
[dependencies] | |||
tiny-keccak = "1.4" | |||
crunchy = { version = "0.1.6", features = ["limit_256"] } | |||
fixed-hash = { version = "0.2.1", path = "../fixed-hash", default-features = false } | |||
# TODO: remove `branch` when https://github.com/paritytech/parity-common/pull/12 lands |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems it landed already
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also think it would be best to actually use crates.io version instead of git repo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems it landed already
Good catch, will fix.
I also think it would be best to actually use crates.io version instead of git repo.
I agree with this (strongly) but I wanted to wait until this stuff lands in polkadot (this poorly named PR) and the dust settles a little bit.
…tives into chore/remove-fixed-hash * 'chore/remove-fixed-hash' of github.com:paritytech/primitives: Add `rust-toolchain` file update dependencies to the `primitives repo` Add a new crate for testing `no-std` Add a new crate for testing `no-std` make it work on no-std by disabling default ft fix error on nightly
Moving
fixed-hash
anduint
crates toparity-common
: PR and chops up thetests
subcrate and moving the parts to the relevant crates: optimised multiplication, serialization and conversion tests toethereum-types
and core instantiation and basic arithmetic touint
/fixed-hash
.NOTE Can be reviewed but need a final tweak after parity-common#12 is merged before this can be merged to fixup the import path in
Cargo.toml
.