Commit Graph

339 Commits

Author SHA1 Message Date
Wei Tang 1564dc1f63 Remove serialize crate (replaced by serde) and use impl-serde in ethbloom 2018-12-02 22:34:58 +08:00
Wei Tang 9a698b8272
Merge pull request #60 from paritytech/update-fixed-hash-and-uint
Update fixed hash and uint
2018-12-01 20:42:43 +08:00
Herobird 6db964fd53 [ethbloom] Remove rustc-hex dependency 2018-11-30 17:58:48 +01:00
Herobird ff7b5c8158 [no-std-tests] Add `fixed-hash/byteorder` used feature
Makes it compile again
2018-11-30 17:58:36 +01:00
Herobird f76b9a4459 Improve some formatting of #[cfg(..)] 2018-11-13 11:27:50 +01:00
Herobird 2da14eca58 Improve panic messages by overflow for some uint From impls 2018-11-13 11:22:36 +01:00
Herobird 972b84ca04 Improve some #[cfg(..)] formattings 2018-11-13 11:22:19 +01:00
Herobird eb3ba0b8f0 Revert removals of some uint and hash types 2018-11-13 11:22:00 +01:00
Herobird 50af083e14 [no-std-tests] Update dependency version of fixed-hahs 2018-11-13 11:15:40 +01:00
Herobird 0a007d5ada Update dependency versions in Cargo.toml 2018-11-13 11:12:22 +01:00
Herobird 304cc6f231 [ethbloom] Bump version 0.5.1 => 0.6.0 2018-11-12 20:29:26 +01:00
Herobird 0b53e91ef1 [ethereum-types] Bump version 0.4.0 => 0.5.0 2018-11-12 20:28:54 +01:00
Herobird 5308d515db [ethereum-types] Remove H32, H64, H128 and H264 hash types
The only remaining hash types are now: H160, H256, H512 and H520
2018-11-12 20:28:16 +01:00
Herobird 146263d837 [ethereum-types] Improve formatting a bit 2018-11-12 20:27:16 +01:00
Herobird 4476efe535 [ethereum-types] Remove deprecated From impls for H64 and H160 2018-11-12 20:26:51 +01:00
Herobird d59defc7e1 [ethereum-types] Remove bad feature gate usages 2018-11-12 20:26:32 +01:00
Herobird f7895618a9 [ethereum-types] Use new From<u64> impls in tests 2018-11-12 20:26:19 +01:00
Herobird 6b57ca0c53 [ethereum-types] Add From<u64> impls for H160 and H256 2018-11-12 20:25:48 +01:00
Herobird 071b536273 [ethereum-types] Remove U64 definition 2018-11-12 20:25:01 +01:00
Herobird de0a759f4a [ethereum-types] Remove clean_0x function 2018-11-12 20:24:28 +01:00
Herobird eca7e3b8b0 [ethereum-types] Update fixed-hash 0.3.0-beta => 0.3.0 2018-11-12 20:23:59 +01:00
Herobird 1cdfea3dd8 [ethereum-types] Update crunchy 0.1 => 0.2.1 2018-11-12 20:23:44 +01:00
Herobird c2e5edbec6 [ethereum-types] Update uint 0.5.0-beta => 0.5.0 2018-11-12 20:23:07 +01:00
Herobird 2c124b9e07 Rename heapsizeof crate feature to heapsize 2018-11-12 20:22:37 +01:00
Herobird 491767d143 [no-std-tests] Update fixed-hash 0.3.0-beta => 0.3.0 2018-11-12 20:21:38 +01:00
Herobird ab3d73afdc [ethbloom] Update fixed-hash 0.3.0-beta => 0.3.0 2018-11-12 20:21:22 +01:00
Herobird 9be7fc6497 [ethbloom] Fix forgotten default feature "heapsizeof" => "heapsize" 2018-11-12 20:21:09 +01:00
Herobird ab87602abf [ethbloom] Update crunchy version 0.1.6 => 0.2.1 2018-11-12 20:20:38 +01:00
Herobird 5539e76da8 [ethbloom]: Rename heapsizeof crate feature to heapsize 2018-11-12 20:20:08 +01:00
Herobird 91c88f3689 Update `unit` to version `0.5.0-beta` 2018-11-05 17:06:40 +01:00
Herobird f78004a8cc Update ethbloom and ethereum-types to new `fixed-hash` version `0.3.0-beta` 2018-11-05 17:03:12 +01:00
Marek Kotewicz 10db5f7e66
Merge pull request #58 from paritytech/no-std/panic_handler-stabilized
fix(no-std rm stablized feature) : panic_handler
2018-10-09 14:22:03 +02:00
Niklas Adofsson 039f7b939d fix(rm stablized feature) : panic_handler 2018-10-05 18:11:41 +02:00
Marek Kotewicz f565b487c2
Merge pull request #57 from paritytech/no-std/panic_handler
no_std `panic_implementation` -> `panic_handler`
2018-09-17 11:06:40 +02:00
Marek Kotewicz 4c43f59aa6
Merge pull request #55 from paritytech/readme/update-version-num
Update `ethereum-types` version number in the README
2018-09-17 11:05:30 +02:00
Niklas Adofsson 801c37dfaa `panic_implementation` -> `panic_handler` 2018-09-02 20:53:10 +02:00
Niklas Adofsson 84add9b54a Add `no-std-tests` to the workspace 2018-09-02 20:52:46 +02:00
Niklas Adofsson 2f459c34fa More accurate description of the repo 2018-09-02 20:46:51 +02:00
Niklas Adofsson b2c37911ff Update recommended version number in the readme 2018-09-02 20:46:51 +02:00
Niklas Adolfsson d32072dddf
Merge pull request #54 from paritytech/dp/chore/prepare-for-publication
Load deps from crates (prep for publication)
2018-08-30 14:31:11 +02:00
David Palm aa7bf87753 Merge branch 'master' into dp/chore/prepare-for-publication
* master:
  Replace `rustc-hex` with `hex-literal` in tests
  Use `rustc-hex v2.0` with explicit types
  fix `ethbloom test` by falling back to rustc-hex
2018-08-24 14:44:21 +02:00
David 98dd36adee
Merge pull request #52 from paritytech/ethbloom/use-working-version-of-rustc-hex
Fix `ethbloom tests` by switching to `hex_literal crate` instead of `rustc-hex`
2018-08-24 14:40:54 +02:00
Niklas Adofsson f84cc4a180 Replace `rustc-hex` with `hex-literal` in tests 2018-08-23 13:21:30 +02:00
Niklas Adofsson 0d1133ef75 Use `rustc-hex v2.0` with explicit types
The issue was that the trait `FromHex` has changed and is now using
`FromIterator<u8>` instead of `FromIterator<Vec<u8>>` and was `inferred`
to `[u8]` instead of `Vec<u8>`. Thus, has not compile-time size and
won't work!

Well, this could be improved to be stack allocated because
we know the `size` of the hexstring but in this case I think
is sufficient and only used in tests!
2018-08-23 12:03:11 +02:00
David Palm 6f2d5a4a98 Load fixed-hash from crates.io 2018-08-22 20:12:47 +02:00
David Palm 6f23f63470 Load deps from crates (prep for publication) 2018-08-22 20:07:29 +02:00
Niklas Adofsson 6a2ca88536 fix `ethbloom test` by falling back to rustc-hex 2018-08-22 18:03:06 +02:00
David f3a964e934
Merge pull request #51 from paritytech/dp/chore/use-updated-uint
Use new uint version
2018-08-22 17:38:22 +02:00
David Palm e13adcf062 remove version 2018-08-22 16:56:10 +02:00
David Palm 8432c23011 Blocking PR landed 2018-08-22 15:25:36 +02:00