Commit Graph

419 Commits

Author SHA1 Message Date
David Palm 0257de35c5 Use ethereum-types 0.4 2018-08-22 20:20:51 +02:00
David Palm eecef8457d Load ethereum-types 2018-08-22 20:00:42 +02:00
Nikolay Volf 13cae436e4
Merge pull request #33 from paritytech/editorconfig
Add .editorconfig
2018-08-22 18:56:07 +03:00
Nikolay Volf 772149e2c4
Merge pull request #32 from paritytech/nv
Fix docs, remove outdated comments, remove overflowing divs/rems.
2018-08-22 18:09:55 +03:00
debris 5e6d95f015 Add .editorconfig 2018-08-22 16:47:11 +02:00
NikVolf 13195b7bc9 fix div assign 2018-08-22 17:43:34 +03:00
NikVolf 78426954ad more fixes 2018-08-22 17:06:22 +03:00
Marek Kotewicz 3e7cdf9801
Merge pull request #28 from paritytech/dp/chore/relax-version-reqs
Relax version requirements
2018-08-22 16:03:25 +02:00
Nikolay Volf 79985a0903
bring back final line 2018-08-22 16:57:32 +03:00
Nikolay Volf 562aecfe00
Merge branch 'master' into nv 2018-08-22 16:56:54 +03:00
David a89c686687
Merge pull request #30 from paritytech/dp/refactor/add-conversions
Add conversion from [u8; *]
2018-08-22 15:24:24 +02:00
David Palm 1486608f50 Merge branch 'master' into dp/refactor/add-conversions
* master:
  fix patricia-trie bench compilation
  Remove U128 and bump version to 0.4
  Use exported types in benchmark
2018-08-22 14:57:20 +02:00
David ccc2a6c9b1
Update Cargo.toml 2018-08-22 14:28:20 +02:00
David Palm 9d3b7e4c96 Merge branch 'master' into dp/chore/relax-version-reqs
* master:
  fix patricia-trie bench compilation
  Remove U128 and bump version to 0.4
  Use exported types in benchmark
2018-08-22 14:27:27 +02:00
David d71aba3e99
Merge pull request #26 from paritytech/dp/chore/address-grumbles
Use exported types in benchmark
2018-08-22 14:24:57 +02:00
David Palm 78d17b4f80 Don't duplicate logic 2018-08-22 14:06:56 +02:00
Nikolay Volf 47b27711df
Remove outdated comments and switches 2018-08-22 14:35:12 +03:00
David Palm f94c73537f Need conversion from ref too 2018-08-22 13:28:33 +02:00
David fb14e1fbfd
Merge pull request #31 from tafia/fix_patricia_trie_bench
fix patricia-trie bench compilation
2018-08-22 11:31:38 +02:00
David Palm 283b13f114 Fix [u8; $n_words] conversion
Remove unneeded ref conversion impl
Better test value
2018-08-22 11:28:11 +02:00
David Palm 72e84868e8 Avoid copy 2018-08-22 10:47:27 +02:00
Johann Tuffe 763ffe7804 fix patricia-trie bench compilation 2018-08-22 09:08:36 +08:00
David Palm 6d47b02689 Add conversion from [u8; *]
Conversions I skipped when porting over stuff from bigint but that turned out to be useful.
2018-08-21 16:05:41 +02:00
David Palm 6969abd122 Add versions back 2018-08-20 15:43:41 +02:00
David Palm b0018c888c Relax version requirements and use less features so that downstream consumers can set their own requirements 2018-08-20 15:08:36 +02:00
Andronik Ordian abe18ea03c
Merge pull request #22 from paritytech/refactor/rlp-optionally-independent-of-ethereum-types
[rlp] make it possible to use rlp without pulling in ethereum-types
2018-08-20 12:23:17 +03:00
David Palm 2cedd42343 Address grumbles 2018-08-20 09:54:05 +02:00
David Palm 98ea22506d Merge branch 'master' into refactor/rlp-optionally-independent-of-ethereum-types
* master:
  Move conversion inside macro
  Fix repo meta-data key Use --release to run tests
  Put original travis config back
  Add impl to converto from U256 to [u8; 32]
  Export U256 and U512
  Try with absurdly long wait time: 400min (attempt 4)
  debug travis (attempt 3)
  Debug travis
  Try `travis_wait` to fix timeouts
  don't run tests with --no-default-features
  move display/debug funtionality back to `std`-gated macro
  Use rustc-hex without default features
  Run uint no_std tests
  Port over no_std formatting and use rustc_hex 2.0 to make tests pass in no_std
  Add benchmark
  Remove asm and port over performance improvements from `bigint`
  unbound also for Scrypt
  unbound salt size
2018-08-20 09:17:20 +02:00
David Palm d9de1e1271 Remove U128 and bump version to 0.4 2018-08-20 09:01:22 +02:00
David 961952dfa9
Merge pull request #6 from paritytech/chore/fix-triehash-benchmarks
Fix triehash benchmarks
2018-08-20 07:54:40 +02:00
David Palm 706bed1a79 Use exported types in benchmark 2018-08-14 17:59:59 +02:00
David 22209e1480
Merge pull request #25 from paritytech/chore/pick-changes-from-bigint
Port over relevant changes from bigint
2018-08-14 17:37:03 +02:00
David Palm 9261b8519e Move conversion inside macro 2018-08-13 16:51:32 +02:00
David Palm b4b5c6f626 Fix repo meta-data key
Use --release to run tests
2018-08-13 16:07:54 +02:00
David Palm 19062594bf Put original travis config back 2018-08-13 15:55:39 +02:00
David Palm d3c335e7f7 Add impl to converto from U256 to [u8; 32] 2018-08-13 15:54:21 +02:00
David Palm 97ecf175c8 Export U256 and U512 2018-08-13 13:56:23 +02:00
David Palm 85ba498a4b Try with absurdly long wait time: 400min (attempt 4) 2018-08-13 13:06:42 +02:00
David Palm b49e0ed13a debug travis (attempt 3) 2018-08-13 12:14:39 +02:00
David Palm 78cf6e7b0f Debug travis 2018-08-13 11:41:38 +02:00
David Palm 1262de484f Try `travis_wait` to fix timeouts 2018-08-13 10:49:53 +02:00
David Palm 2af9e11af7 don't run tests with --no-default-features 2018-08-10 19:47:02 +02:00
David Palm 4336907eac move display/debug funtionality back to `std`-gated macro 2018-08-10 19:45:11 +02:00
David Palm 33567263fa Use rustc-hex without default features 2018-08-10 19:38:14 +02:00
David Palm 13d7356657 Run uint no_std tests 2018-08-10 17:56:05 +02:00
David Palm ae247ae84d Port over no_std formatting and use rustc_hex 2.0 to make tests pass in no_std 2018-08-10 17:53:55 +02:00
David 9bcbfa0f10
Merge pull request #18 from tworec/unbound-salt
unbound salt size
2018-08-10 14:29:27 +02:00
David Palm 16012b3943 Add benchmark 2018-08-10 14:11:53 +02:00
David Palm 9609d2e72d Remove asm and port over performance improvements from `bigint` 2018-08-10 14:09:09 +02:00
Piotr Chromiec 6d280d2249
unbound also for Scrypt 2018-08-09 19:05:40 +02:00