Commit Graph

207 Commits

Author SHA1 Message Date
debris 60271c08e4 add conditionals to ethbloom 2018-01-23 14:53:23 +01:00
debris d053c5b6bf add default serde serialization to ethereum-types 2018-01-23 14:25:15 +01:00
debris 87912d868f fixed-hash 0.1.2 2018-01-20 21:21:15 +01:00
Marek Kotewicz 2a737bb750
Merge pull request #9 from paritytech/ethbloom
ethbloom crate
2018-01-11 14:37:20 +01:00
debris 0e8144ca78 ethbloom crate 2018-01-05 17:45:04 +01:00
debris 36f0ab750c ethereum-types legacy clean_0x function, release 0.1.3 2018-01-04 13:14:53 +01:00
debris f630ed38db ethereum-types Public type, release 0.1.2 2018-01-02 16:04:11 +01:00
debris 17c3b51410 ethereum-types LogBloom type, release 0.1.1 2018-01-02 15:58:21 +01:00
debris f625fc12ed fixed-hash implements heap-size, version 0.1.1 2018-01-02 15:40:16 +01:00
debris 0e4818d133 updated ethereum-types manifest 2017-12-29 17:25:06 +01:00
debris 75b103fd1d updated uint manifest 2017-12-29 17:23:16 +01:00
debris cbb8f767ae updated fixed-hash manifest 2017-12-29 17:21:56 +01:00
snd 6c98370236 feature(asm) is only allowed in crate (#8)
* feature(asm) is only allowed in crate

* add tests/build.rs again - haven't found a way around it
2017-12-05 14:44:36 +01:00
snd 8a14926f6d Issue 6 (#7)
* add rustc_version to build deps of ether types (needed by build script)

* ethereum-types: add build script that sets cargo:rustc-cfg=asm_available on nightly

* ethereum-types: #![cfg_attr(asm_available, feature(asm))]

* tests: add the whole feature asm build script to make it pass on nightly CI

* add #![cfg_attr(asm_available, feature(asm))] directly where needed

so users don't have to add it

* remove tests/build.rs since it should not be needed anymore

* move inner cfg_attr attributes to the right allowed position

* remove check for asm_available in contexts that already have check for that
2017-12-05 13:14:16 +01:00
Marek Kotewicz d910e92888
Merge pull request #1 from paritytech/unify_hash_macro
unify hash macro by renaming it to `construct_hash`
2017-11-17 10:38:01 +01:00
debris 36fb6910b8 run tests in release mode 2017-11-14 16:57:32 +01:00
debris c12e07c906 unify hash macro by renaming it to `construct_hash` 2017-11-14 15:38:09 +01:00
debris 940a287e1e fixed cargo snippet in README.md 2017-11-03 10:41:41 -05:00
debris 678a1c85fb updated travis and README.md 2017-11-03 10:39:09 -05:00
debris 6964a4b065 ethereum-types refactor 2017-10-30 10:00:58 -07:00
debris f8e4006ec1 ethereum-types refactor 2017-10-24 16:09:44 +08:00
Nikolay Volf d421131258 Merge pull request #34 from andrebeat/quickcheck-all-uints
Generate quickcheck tests for all uints
2017-10-06 13:58:01 +02:00
Andre Silva e5f4dcba64 run tests in release mode on travis
this significantly speeds up the quickcheck test suite
2017-10-06 00:18:35 +01:00
Andre Silva 3b48974b50 generate large uint arbitrary values with a lower probability
this is necessary to avoid generating a lot of test values that will overflow
the tested expression and will therefore be discard as a test case (making the
tests slower).
2017-10-06 00:18:24 +01:00
Nikolay Volf 7cf81e9dbf Update .travis.yml 2017-10-06 01:46:31 +03:00
Andre Silva a14484bdf8 generate quickcheck tests for all uint types 2017-10-05 23:20:02 +01:00
Andre Silva b1e5ea93ad generate arbitrary instances for all uint types 2017-10-05 20:19:50 +01:00
Andre Silva a243481934 fix overflow conditions in quickcheck test cases 2017-10-05 20:16:03 +01:00
Andre Silva e75b87c9ed control magnitude of arbitrary generated uint values 2017-10-05 20:14:17 +01:00
Marek Kotewicz cadc0bfd81 Merge pull request #33 from andrebeat/quickcheck
[WIP] Test basic algebraic laws with quickcheck
2017-10-04 12:40:39 +02:00
Andre Silva 764f8833e3 test basic algebraic laws with quickcheck 2017-10-04 03:04:17 +01:00
Nikolay Volf 152db3a707 Update README.md 2017-09-22 12:02:06 +03:00
Nikolay Volf 43ec87a40a Update README.md 2017-09-22 12:01:31 +03:00
NikVolf 90006b65e9 bump version 2017-09-06 15:02:50 +02:00
Arkadiy Paronyan 1cc1734310 Merge pull request #30 from arkpar/bitscan
Implemented trailing_zeros and leading_zeros
2017-09-06 14:58:23 +02:00
arkpar 630664a2f5
Version bump 2017-09-06 14:51:41 +02:00
arkpar 1268bc2363
Implemented trailing_zeros and leading_zeros 2017-09-06 14:41:40 +02:00
Nikolay Volf 65ec18da4d Merge pull request #29 from paritytech/ci-bench
Bench to the CI
2017-08-23 02:23:27 +03:00
Nikolay Volf d8075b1fa9 Merge pull request #28 from Vurich/better-benches
Improve benchmarks
2017-08-23 02:23:14 +03:00
Vurich 68c7fc2ba5 Fix warnings 2017-08-22 15:18:33 +02:00
Nikolay Volf 6deaf12e32 Update .travis.yml 2017-08-22 14:07:22 +03:00
Vurich 1b9f3dcfab Improve benchmarks 2017-08-21 16:11:31 +02:00
NikVolf 7aff9555e4 bump version 2017-08-18 18:27:02 +03:00
Nikolay Volf b8baf9dab6 Merge pull request #26 from Vurich/optimizations-1
Optimize binary operations on bigints
2017-08-18 18:26:22 +03:00
Vurich a2b18d3e62 Remove unnecessary lint override 2017-08-18 16:28:33 +02:00
Vurich 5443f93c33 Fix benches and compilation for asm version 2017-08-18 13:42:55 +02:00
Vurich f8a52ce3eb Use crates.io version of `crunchy` 2017-08-18 13:02:14 +02:00
Vurich 340860ed6a Optimize binary operations on bigints 2017-08-18 12:49:32 +02:00
NikVolf 9b92c6f1e6 bump version 2017-08-17 18:57:31 +03:00
Nikolay Volf 5780bc06ef Merge pull request #23 from debris/optimization
mul and from optimizations
2017-08-17 18:56:53 +03:00