s3krit
f22326ef81
Update copyright notice 2020 ( #11386 )
...
* Update copyright noticed 2020
* Update copyright in two overlooked files
2020-01-17 14:27:51 +01:00
David
b9f9d11929
Update to latest kvdb-*
: no default column, DBValue is Vec ( #11312 )
...
* Only use kvdb "column families"
This PR contains the changes necessary to use the `kvdb-*` crates from https://github.com/paritytech/parity-common/pull/278 (so a synchronized merge is required) which drops support for the old-style rocksdb "default" column to get a smaller and less complex API.
As it stands this PR is working correctly except for secret-store; we need to migrate it to use a new column family.
* Fix secretstore build
* Fix secretstore build: include ethkey when building with the "accounts" feature
* typos
* Restore state test commit
* Override all of parity-common from git
* Be precise about version requirement to migrate secretstore code
* Update ethcore/db/src/db.rs
Co-Authored-By: Niklas Adolfsson <niklasadolfsson1@gmail.com>
* Address review grumbles
* Review grumbles
* Cleanup
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
2019-12-20 12:27:38 +01:00
David
4c3be46f93
Add benchmarks and tests for RlpNodeCodec decoding ( #11287 )
2019-12-03 12:30:07 +01:00
Jim Posen
c7219aae30
Upgrade trie-db to 0.16.0. ( #11274 )
...
* Upgrade trie-db to 0.16.0.
* Respond to review comments.
2019-11-21 11:08:49 +01:00
Anton Gavrilov
f48780c29b
Update ethereum types to 0.8.0 version ( #11139 )
...
* Ethereum types updated to 0.8 version
* Fix for rand usage in rpc
* Cargo lock fixed after rebase
* TODO added
2019-10-08 14:18:44 +02:00
cheme
0a654afecc
Fix rlp decode for inline trie nodes. ( #10980 )
...
* Fix rlp decode test.
* Proper fix, with associated tests.
* Put tests in their own module.
2019-08-19 23:31:57 +02:00
cheme
5807402a0b
Update to latest trie version. ( #10972 )
...
* Switch to 'trie' crates, there is an unpublished deps to staging
parity-common triehash still.
* Use crates.io dependency.
* indentation
* Update util/journaldb/src/traits.rs
indentation
Co-Authored-By: cheme <emericchevalier.pro@gmail.com>
* Rem import braces
* switch deps to simple-codec branch (code broken)
* painfull update of trie and memdb, plus rework codec to be compatible
with simple_codec changes
* Removed useless implementation from trait.
* Remove some malloc size until update and patch triehash, seems ok
otherwhise.
* Update parity-util-mem.
* Switch to published triehash 0.8.
* Avoid redundancy in encode_partial functions.
Use better namings.
* Update util/patricia-trie-ethereum/src/rlp_node_codec.rs
Co-Authored-By: Andronik Ordian <write@reusable.software>
* Update util/patricia-trie-ethereum/src/rlp_node_codec.rs
Co-Authored-By: Andronik Ordian <write@reusable.software>
* Restore previous child rlp header length check.
Better comments and formatting.
* Update util/patricia-trie-ethereum/src/rlp_node_codec.rs
Co-Authored-By: David <dvdplm@gmail.com>
* Update util/patricia-trie-ethereum/src/rlp_node_codec.rs
Co-Authored-By: David <dvdplm@gmail.com>
2019-08-15 15:36:48 +02:00
cheme
6fc5014b4d
Remove calls to heapsize ( #10432 )
...
* update memorydb trait
* use malloc_size_of instead of heapsize_of
* use jemalloc as default allocator for parity client.
2019-06-19 13:54:05 +02:00
Andronik Ordian
dae5d75dd6
Upgrade ethereum types ( #10670 )
...
* cargo upgrade "ethereum-types" --all --allow-prerelease
* [ethash] fix compilation errors
* [ethkey] fix compilation errors
* [journaldb] fix compilation errors
* [dir] fix compilation errors
* [ethabi] update to 0.7
* wip
* [eip-712] fix compilation errors
* [ethjson] fix compilation errors
* [Cargo.toml] add TODO to remove patches
* [ethstore] fix compilation errors
* use patched keccak-hash with new primitive-types
* wip
* [ethcore-network-devp2p] fix compilation errors
* [vm] fix compilation errors
* [common-types, evm, wasm] fix compilation errors
* [ethcore-db] Require AsRef instead of Deref for keys
* [ethcore-blockchain] fix some compilation errors
* [blooms-db] fix compilation errors
Thanks a lot @dvdplm :)
* we don't need no rlp ethereum feature
* [ethcore] fix some compilation errors
* [parity-ipfs-api] fix compilation error
* [ethcore-light] fix compilation errors
* [Cargo.lock] update parity-common
* [ethcore-private-tx] fix some compilation errors
* wip
* [ethcore-private-tx] fix compilation errors
* [parity-updater] fix compilation errors
* [parity-rpc] fix compilation errors
* [parity-bin] fix other compilation errors
* update to new ethereum-types
* update keccak-hash
* [fastmap] fix compilation in tests
* [blooms-db] fix compilation in tests
* [common-types] fix compilation in tests
* [triehash-ethereum] fix compilation in tests
* [ethkey] fix compilation in tests
* [pwasm-run-test] fix compilation errors
* [wasm] fix compilation errors
* [ethjson] fix compilation in tests
* [eip-712] fix compilation in tests
* [ethcore-blockchain] fix compilation in tests
* [ethstore] fix compilation in tests
* [ethstore-accounts] fix compilation in tests
* [parity-hash-fetch] fix compilation in tests
* [parity-whisper] fix compilation in tests
* [ethcore-miner] fix compilation in tests
* [ethcore-network-devp2p] fix compilation in tests
* [*] upgrade rand to 0.6
* [evm] get rid of num-bigint conversions
* [ethcore] downgrade trie-standardmap and criterion
* [ethcore] fix some warnings
* [ethcore] fix compilation in tests
* [evmbin] fix compilation in tests
* [updater] fix compilation in tests
* [ethash] fix compilation in tests
* [ethcore-secretstore] fix compilation in tests
* [ethcore-sync] fix compilation in tests
* [parity-rpc] fix compilation in tests
* [ethcore] finally fix compilation in tests
FUCK YEAH!!!
* [ethstore] lazy_static is unused
* [ethcore] fix test
* fix up bad merge
* [Cargo.toml] remove unused patches
* [*] replace some git dependencies with crates.io
* [Cargo.toml] remove unused lazy_static
* [*] clean up
* [ethcore] fix transaction_filter_deprecated test
* [private-tx] fix serialization tests
* fix more serialization tests
* [ethkey] fix smoky test
* [rpc] fix tests, please?
* [ethcore] remove commented out code
* Apply suggestions from code review
Co-Authored-By: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
* [ethstore] remove unused dev-dependency
* [ethcore] remove resolved TODO
* [*] resolve keccak-hash TODO
* [*] s/Address::default()/Address::zero()
* [rpc] remove Subscribers::new_test
* [rpc] remove EthPubSubClient::new_test
* [ethcore] use trie-standardmap from crates.io
* [dir] fix db_root_path
* [ethcore] simplify snapshot::tests::helpers::fill_storage
* Apply suggestions from code review
Co-Authored-By: David <dvdplm@gmail.com>
* [ethcore-secretstore] resolve TODO in serialization
* [ethcore-network-devp2p] resolve TODO in save_key
* [Cargo.lock] update triehash
* [*] use ethabi from crates.io
* [ethkey] use secp256k1 from master branch
* [Cargo.lock] update eth-secp256k1
2019-06-03 15:36:21 +02:00
cheme
6bb106a784
Update to latest mem-db, hash-db and trie-db. ( #10314 )
...
* Switch to 'trie' crates, there is an unpublished deps to staging
parity-common triehash still.
* Use crates.io dependency.
* indentation
* Update util/journaldb/src/traits.rs
indentation
Co-Authored-By: cheme <emericchevalier.pro@gmail.com>
* Update ethcore/src/snapshot/tests/state.rs
Co-Authored-By: cheme <emericchevalier.pro@gmail.com>
2019-02-20 21:09:34 +03:00
Afri Schoedon
7c335e8764
misc: bump license header to 2019 ( #10135 )
...
* misc: bump license header to 2019
* misc: remove_duplicate_empty_lines.sh
* misc: run license header script
* commit cargo lock
2019-01-07 11:33:07 +01:00
David
c313039526
Update a few parity-common dependencies ( #9663 )
...
* Update a few parity-common dependencies
* cleanup
* cleanup
* revert update of ethereum/tests
* better reporting of network rlp errors
* Use rlp 0.3.0-beta.1
* fix util function get_dummy_blocks
* Already a Vec
* encode_list returns vec already
* Address grumble
* No need for betas
* Fix double spaces
2018-10-09 22:07:25 +02:00
cheme
98220442b4
Update patricia trie to 0.2.2 ( #9525 )
...
* Update patricia trie to 0.2.2 crates. Default dependencies on minor
version only.
* Putting back ethereum tests to the right commit
2018-09-11 16:20:26 +02:00
David
72fd1fa58d
Fetch parity-common
crates from crates.io ( #9410 )
...
* Fetch `parity-common` crates from crates.io
* Add doc tests from `patricia-trie` to `patricia-trie-ethereum`
Fix/update a few deps
* [ethkey] upgrade ethereum-types
* [whisper] update deps
* [network] deps
* [network-devp2p] deps
* [journaldb] deps
* [fastmap] deps
* [miner] deps and test fixes
* [machine] deps
* [json] deps
* [hw] deps
* [ethash] deps
* [registrar] deps
* Update a few more dependencies with new ethabi-*
* [updater] Update deps
* deps
* [ethcore] Update deps
* Use new parity-snappy and parity-rocksdb crates
* Updated submodules
* Use parity-snappy 0.1
* Use kvdb-rocksdb 0.1.2
* Don't use latest ethereum/tests
* Fix merge conflicts errors
* Remove superseeded comment
* Address grumbles: add newlines, add/remove spaces
2018-09-04 20:13:51 +02:00
David
c7f608ec74
Delete crates from parity-ethereum and fetch them from parity-common instead ( #9083 )
...
Use crates from parity-common: hashdb, keccak-hash, kvdb, kvdb-memorydb, kvdb-rocksdb, memorydb, parity-bytes, parity-crypto, path, patricia_trie, plain_hasher, rlp, target, test-support, trie-standardmap, triehash
2018-07-10 14:59:19 +02:00
David
9caa868603
Make HashDB generic ( #8739 )
...
The `patricia_trie` crate is generic over the hasher (by way of HashDB) and node encoding scheme. Adds a new `patricia_trie_ethereum` crate with concrete impls for Keccak/RLP.
2018-07-02 18:50:05 +02:00