Commit Graph

457 Commits

Author SHA1 Message Date
Wei Tang f169c82a2d dapps-fetcher: calculate keccak in-flight while reading the response (#8294)
* dapps-fetcher: calculate keccak in-flight while reading the response

* Rename keccak_buffer_and_write -> keccak_pipe

* Fix file read bug by creating another file handle as the return value
2018-04-03 14:58:55 +02:00
Tomasz Drwięga 69f7da7afa Bump ethabi & ethereum-types. (#8258)
* Bump ethabi & ethereum-types.

* Fix test.

* Fix hex encodings.
2018-04-02 12:12:52 +01:00
Tomasz Drwięga e4037e26b6 Bump ethabi & ethereum-types. (#8258)
* Bump ethabi & ethereum-types.

* Fix test.

* Fix hex encodings.
2018-04-02 12:12:52 +01:00
Tomasz Drwięga a3f900bef8 Bump ethabi & ethereum-types. (#8258)
* Bump ethabi & ethereum-types.

* Fix test.

* Fix hex encodings.
2018-04-02 12:12:52 +01:00
Tomasz Drwięga f35214ad7e Bump ethabi & ethereum-types. (#8258)
* Bump ethabi & ethereum-types.

* Fix test.

* Fix hex encodings.
2018-04-02 12:12:52 +01:00
Tomasz Drwięga 1be68d998e Bump ethabi & ethereum-types. (#8258)
* Bump ethabi & ethereum-types.

* Fix test.

* Fix hex encodings.
2018-04-02 12:12:52 +01:00
Tomasz Drwięga 2f79f1bcdc Bump ethabi & ethereum-types. (#8258)
* Bump ethabi & ethereum-types.

* Fix test.

* Fix hex encodings.
2018-04-02 12:12:52 +01:00
Tomasz Drwięga a2a088f095 Bump ethabi & ethereum-types. (#8258)
* Bump ethabi & ethereum-types.

* Fix test.

* Fix hex encodings.
2018-04-02 12:12:52 +01:00
Tomasz Drwięga 80b2b3f54d Bump ethabi & ethereum-types. (#8258)
* Bump ethabi & ethereum-types.

* Fix test.

* Fix hex encodings.
2018-04-02 12:12:52 +01:00
Tomasz Drwięga dd4ba38490 Bump ethabi & ethereum-types. (#8258)
* Bump ethabi & ethereum-types.

* Fix test.

* Fix hex encodings.
2018-04-02 12:12:52 +01:00
Tomasz Drwięga 7b2c6e8b9d Bump ethabi & ethereum-types. (#8258)
* Bump ethabi & ethereum-types.

* Fix test.

* Fix hex encodings.
2018-04-02 12:12:52 +01:00
Tomasz Drwięga 965af45dd9 Avoid allocations when computing triehash. (#8176)
* Avoid allocations when computing triehash.

* Bump elastic-array to 0.10
2018-03-22 09:24:46 +01:00
Tomasz Drwięga 70cf288545 Avoid allocations when computing triehash. (#8176)
* Avoid allocations when computing triehash.

* Bump elastic-array to 0.10
2018-03-22 09:24:46 +01:00
Tomasz Drwięga efa9db77e2 Avoid allocations when computing triehash. (#8176)
* Avoid allocations when computing triehash.

* Bump elastic-array to 0.10
2018-03-22 09:24:46 +01:00
Tomasz Drwięga 9ce7a6c00b Avoid allocations when computing triehash. (#8176)
* Avoid allocations when computing triehash.

* Bump elastic-array to 0.10
2018-03-22 09:24:46 +01:00
Tomasz Drwięga ddf73deb29 Avoid allocations when computing triehash. (#8176)
* Avoid allocations when computing triehash.

* Bump elastic-array to 0.10
2018-03-22 09:24:46 +01:00
Tomasz Drwięga 354948a5a6 Avoid allocations when computing triehash. (#8176)
* Avoid allocations when computing triehash.

* Bump elastic-array to 0.10
2018-03-22 09:24:46 +01:00
Tomasz Drwięga 3aec8b7740 Avoid allocations when computing triehash. (#8176)
* Avoid allocations when computing triehash.

* Bump elastic-array to 0.10
2018-03-22 09:24:46 +01:00
Andrew Jones 7c542eb6ce Handle rlp decoding Result in patricia trie (#8166)
* Decode patricia node with UntrustedRlp

(cherry picked from commit efb993b8e7ce087f092cb8c2f633c62ad87e4fb8)

* Replace Rlp with UntrustedRlp in triedbmut

* Handle node decode results in trie
2018-03-22 10:08:48 +08:00
Tomasz Drwięga 10b77ed9ea Bump versions. 2018-03-15 10:06:43 +01:00
Tomasz Drwięga 6a339bd230 Bump versions. 2018-03-15 10:06:43 +01:00
Tomasz Drwięga 5064f859c0 Bump versions. 2018-03-15 10:06:43 +01:00
Pierre Krieger eaec085662 Don't use libc with wasm32-unknown-unknown (#27) 2018-03-15 09:41:01 +01:00
Pierre Krieger aa3c2a58b2 Remove the time dependency where possible (#8100) 2018-03-14 12:29:52 +01:00
Marek Kotewicz 3538b548b1 make patricia-trie more idiomatic and remove redundant code (#8056) 2018-03-06 19:42:24 +01:00
Rando a695e051ed Bump master to 1.11.0 (#8021)
* Bump master to 1.11.0

* Bump price-info

* Bump mac installer version

* Fix gitlab builds
2018-03-03 22:02:33 +01:00
Marek Kotewicz 5ed3c71b12 moved PerfTimer to a separate crate - "trace-time" (#7985) 2018-02-23 19:49:08 +01:00
Marek Kotewicz 1cd8e2a068 simplify compression and move it out of rlp crate (#7957)
* simplify compression and move it out of rlp crate

* removed lazy_static dependency from rlp
2018-02-23 10:12:52 +01:00
Marek Kotewicz fb4c561411 simplify compression and move it out of rlp crate (#7957)
* simplify compression and move it out of rlp crate

* removed lazy_static dependency from rlp
2018-02-23 10:12:52 +01:00
Marek Kotewicz c9e178eab9 simplify compression and move it out of rlp crate (#7957)
* simplify compression and move it out of rlp crate

* removed lazy_static dependency from rlp
2018-02-23 10:12:52 +01:00
Marek Kotewicz 69572b88a7 simplify compression and move it out of rlp crate (#7957)
* simplify compression and move it out of rlp crate

* removed lazy_static dependency from rlp
2018-02-23 10:12:52 +01:00
debris 3d43653d9f impl AsRef<Self> for primitives 2018-02-21 14:09:10 +01:00
debris 3eba48bc15 impl AsRef<Self> for primitives 2018-02-21 14:09:10 +01:00
André Silva 269f95ad9c kvdb-rocksdb: remove buffered operations when committing transaction (#7950) 2018-02-20 17:20:30 +01:00
André Silva b0cf9f6d02 kvdb-rocksdb: remove buffered operations when committing transaction (#7950) 2018-02-20 17:20:30 +01:00
Marek Kotewicz 6195d54148 bring back trie and triehash benches (#7926) 2018-02-19 12:03:54 +01:00
Marek Kotewicz 61cdc50429 bring back trie and triehash benches (#7926) 2018-02-19 12:03:54 +01:00
Marek Kotewicz bc2db6f46a bring back trie and triehash benches (#7926) 2018-02-19 12:03:54 +01:00
Marek Kotewicz 8ac8d57573 triehash optimisations (#7920) 2018-02-16 20:24:16 +01:00
Maximilian Krüger d541e8822f fix percentages in comment explaining uint arbitrary impl 2018-02-16 10:17:51 +01:00
Maximilian Krüger 37aabc3b6b add comment explaining arbitrary gen for uint 2018-02-16 09:59:00 +01:00
Maximilian Krüger 7e3a4fb4aa impl feature gated quickcheck arbitrary for hash 2018-02-16 09:56:08 +01:00
Maximilian Krüger 548aabfe49 fix some indentation: spaces -> tabs 2018-02-16 09:34:52 +01:00
Maximilian Krüger c3624193af fix some indentation: spaces -> tabs 2018-02-16 09:34:52 +01:00
Maximilian Krüger 8cdb623a4f expose feature gated quickcheck arbitrary impl for uints 2018-02-16 09:34:03 +01:00
Maximilian Krüger 206529b7f9 expose feature gated quickcheck arbitrary impl for uints 2018-02-16 09:34:03 +01:00
Marek Kotewicz 59c05a4450 Merge pull request #18 from paritytech/td-format
Add 0x when printing hex values.
2018-02-15 13:03:51 +01:00
Marek Kotewicz c1b08970cd Merge pull request #18 from paritytech/td-format
Add 0x when printing hex values.
2018-02-15 13:03:51 +01:00
Marek Kotewicz 08d458976c Merge pull request #18 from paritytech/td-format
Add 0x when printing hex values.
2018-02-15 13:03:51 +01:00
Marek Kotewicz 039dad026c ethabi version 5 (#7723)
* Refactor updater to use ethabi-derive

* Grumble: do_call type alias

* Empty commit to trigger test re-run

* migration to ethabi-5.0

* migration to ethabi-5.0 in progress

* use ethabi_deriven to generate TransactAcl contract

* use ethabi_deriven to generate Registry contract

* hash-fetch uses ethabi_derive, removed retain cycle from updater, fixed #7720

* node-filter crate uses ethabi_derive to generate peer_set contract interface

* use LruCache in node-filter instead of HashMap

* validator_set engine uses ethabi_derive

* ethcore does not depend on native_contracts

* miner does no depend on native_contracts

* secret_store does not use native_contracts (in progress)

* removed native-contracts

* ethcore and updater does not depend on futures

* updated ethereum-types

* fixed all warnings caused by using new version of ethereum-types

* updated ethabi_derive && ethabi_contract to get rid of warnings

* removed another retain cycle in updater, fixed following minor version on update

* moved contracts out of native_contracts res

* updated ethabi_contract

* fixed failing test

* fixed failing test

* there is no need to create two contracts of the same kind any more

* simplify updater::ReleaseTrack conversion into u8 and add several tests for it

* applied review suggestions

* applied review suggestions
2018-02-09 09:32:06 +01:00