paritytech / primitives

Other
33 stars 23 forks source link

Implement quickcheck::Arbitrary for ethereum-types #21

Closed debris closed 6 years ago

debris commented 6 years ago

as mentioned in the comment https://github.com/paritytech/parity-bridge/pull/114#discussion_r168425202

snd commented 6 years ago

@debris you already implemented arbitrary for uints ; ) https://github.com/paritytech/primitives/blame/master/tests/src/uint_tests.rs#L1022

great!

i'll move it out of tests so it can be used from other crates. also i'll add arbitrary for the hash types.

will feature gate it

debris commented 6 years ago

@debris you already implemented arbitrary for uints ; )

I believe you did this. or andre ;)

snd commented 6 years ago

resolved in https://github.com/paritytech/primitives/pull/22