Andronik Ordian
10d82ef119
initial cleanup ( #11542 )
...
* cleanup
* upbork
* review grumble: rename client id prefix
* rpc-tests: make one of the clients open-ethereum
* fix doctest
* README: mention clang version and that our wiki is old
2020-03-09 15:07:15 +01:00
Andronik Ordian
3424697313
update to published rlp-derive ( #11489 )
2020-02-13 15:34:50 +01:00
Andronik Ordian
654632264b
upgrade some of the dependencies ( #11467 )
...
* bump parity-util-mem and related deps
* upgrade some of the dependencies
* deduplicate static_assertions
2020-02-07 17:23:45 +01:00
Andronik Ordian
ccaa514eec
update kvdb-rocksdb to 0.4 ( #11442 )
2020-02-03 19:00:23 +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
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
David
2b8b8851ab
Update kvdb
, kvdb-rocksdb
and h2
( #11091 )
...
* Update a few dependencies
Updates two dependencies: `kvdb-rocksdb` and `h2`. Brings in `parking_lot 0.9` which is unintended but possibly fine.
* Bump parking_lot to 0.9
Bump kvdb-memorydb to 0.2 (from git atm)
* New kvdb-memorydb is not breaking
* Remove [patch]
2019-09-27 23:29:14 +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
Marek Kotewicz
d5584a01c7
update parking-lot to 0.8 ( #10845 )
2019-07-05 15:19:38 +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
Tomasz Drwięga
3650f2d51c
Extract blockchain from ethcore ( #10114 )
...
* Split blockchain & db from ethcore.
* Clean up blockchain deps.
* Missing docs.
* Fix blockchain tests.
* Make other crates compile.
* Remove some re-exports.
* Remove types re-export from ethcore.
* Remove EVM dependency from transaction.
* Merge ethcore-transaction with common-types.
* Clean-up ethcore deps a bit.
* remove ethcore from cargo.toml
* Update ethcore/blockchain/src/lib.rs
Co-Authored-By: tomusdrw <tomusdrw@users.noreply.github.com>
* Address review comments.
* Update DB comment.
* Add tracking issue to the TODO and fix typo.
* Common naming for common types.
* Update ethcore/db/src/keys.rs
Co-Authored-By: tomusdrw <tomusdrw@users.noreply.github.com>
* Update ethcore/blockchain/src/generator.rs
Co-Authored-By: tomusdrw <tomusdrw@users.noreply.github.com>
* Try to fix beta tests.
2019-01-04 14:05:46 +01:00