Commit Graph

309 Commits

Author SHA1 Message Date
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
David Palm 334020970e Use new uint version
BREAKING CHANGE: Remove U1024 and H1024
Remove conversion facilities that moved to uint
Remove asm
Cleanup
2018-08-22 14:20:25 +02:00
Marek Kotewicz 0c95999843
Merge pull request #50 from paritytech/chore/cleanup-remove-branch-in-ethbloom
Cleanup leftover from previous pr
2018-08-15 11:47:28 +02:00
David Palm 01d82848f8 Cleanup leftover from previous pr 2018-08-10 17:59:01 +02:00
David cb6e423501
Merge pull request #47 from paritytech/chore/remove-fixed-hash
Move fixed-hash and uint to parity-common; remove tests crate
2018-08-06 09:06:09 +02:00
David Palm c623a42b62 Merge branch 'chore/remove-fixed-hash' of github.com:paritytech/primitives 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
2018-08-05 12:36:24 +02:00
David Palm 85d7ed2827 Fix outstanding TODO 2018-08-05 12:35:15 +02:00
David 32c40e518d
Merge branch 'master' into chore/remove-fixed-hash 2018-08-03 16:37:30 +02:00
Niklas Adolfsson 020b5d855e
Merge pull request #44 from paritytech/na-add-no-std-tests
Add `no std tests`
2018-08-01 23:06:12 +02:00
Niklas Adolfsson c81b0fc71e
Merge pull request #41 from paritytech/na-fix-nightly-err
Fix error on  `rustc 1.28.0-nightly (a805a2a5e 2018-06-10)`
2018-08-01 23:05:35 +02:00
David Palm 5e04bdc854 Fix travis 2018-07-13 19:11:49 +02:00
David Palm 36d0c6e3bb Remove tests from workspace 2018-07-13 18:57:17 +02:00
David Palm bb4311b496 Remove tests subcrate 2018-07-13 18:28:29 +02:00
David Palm 64c970af5d Split serialization tests and move to ethereum-types 2018-07-13 18:27:48 +02:00
David Palm ecd00d30a8 Move serialization tests to ethereum-types 2018-07-13 18:20:15 +02:00
David Palm fcaeb2e215 Move ethereum-specific tests from uint to ethereum-types 2018-07-13 17:42:54 +02:00
David Palm db4f530367 Remove uint (moved to parity-common) 2018-07-13 14:29:10 +02:00
David Palm 6283d8ec8f Remove fixed-hash 2018-07-13 11:03:50 +02:00
Niklas Adolfsson 19c1d38627
Merge pull request #45 from paritytech/na-bump-versions
Bump versions of ethbloom and ethereum-types
2018-07-08 23:01:37 +02:00
niklasad1 8f6f5d52d4
Bump versions of ethbloom and ethereum-types
The changes in [#42](https://github.com/paritytech/primitives/pull/42)
requires a version-bump in order to be visible on https://crates.io/
2018-07-05 17:54:12 +02:00
niklasad1 340c5e8b04
Add `rust-toolchain` file
Add `rust-toolchain` file to build the crate using the ´nightly`
compiler
2018-07-05 17:46:33 +02:00
niklasad1 fb3ca03a6a
Merge branch 'na-add-no-std-tests' of github.com:paritytech/primitives into na-add-no-std-tests 2018-07-05 17:46:08 +02:00
niklasad1 8d66bcbdaa
update dependencies to the `primitives repo` 2018-07-05 16:31:15 +02:00
Niklas Adofsson 2a311fbe11 Add a new crate for testing `no-std`
* This needs to be enabled `.travis.yml` but I won´t dare changing it
becomes this will fail on `stable` compiler
* Run the test by `cargo test -p no-std-tests`
2018-07-05 16:00:23 +02:00
Marek Kotewicz 05da6f2d0f
Merge pull request #37 from yangby-cryptape/hash-lowerhex-alternate
Prefix '0x' for lower hex with alternate flag.
2018-07-05 11:48:19 +02:00
Niklas Adolfsson 0eaa2c73d0 nits (#39)
* Use b`x` instead of `x` as u8 -> no casting required
* Use more human-friendly repr of hex value
2018-07-05 11:33:55 +02:00
Niklas Adolfsson 5441e9fab2 ethereum-types `make it work in no_std` (#42)
* fix error on nightly

* make it work on no-std by disabling default ft
2018-07-05 11:33:17 +02:00
Niklas Adofsson 48ef8f20a5 Add a new crate for testing `no-std`
* This needs to be enabled `.travis.yml` but I won´t dare changing it
becomes this will fail on `stable` compiler
* Run the test by `cargo test -p no-std-tests`
2018-06-15 17:49:48 +02:00
Niklas Adofsson 22128dd159 make it work on no-std by disabling default ft 2018-06-12 18:00:27 +02:00
Niklas Adofsson ffa7c44990 fix error on nightly 2018-06-12 13:30:27 +02:00
Boyu Yang 9be85406e8
Prefix '0x' for lower hex with alternate flag. 2018-06-11 22:50:26 +08:00