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
834585d61b
Crypto primitives removed from ethkey ( #11174 )
...
* Crypto utils removed from ethkey
* Fix ethkey lib
* Switch ethsore to new crypto
* Accounts crate fixed
* Secret store crate switched to new crypto
* Ethcore builtin fixed
* Accounts crate fixed
* Ethcore crate fixed
* Util network fixed
* Util network-devp2p fixed
* Private tx fixed
* Ethcore sync fixed
* Secret store fixed
* Rpc fixed
* Parity fixed
* Ethkey cli fixed
* Local store fixed
* Ethcore blockchain fixed
* Cargo.lock pushed; doc comment added for reversed nonce
* Ethstore tests fixed
* Ethstore cli fixed
* Miner fixed
* Snapshot tests are fixed
* Single brackets removed
* Machine fixed
* Verification fixed
* Executive state fixed
* More single brackets removed
* Update version of parity-crypto
* Use published version 0.4.2 of parity-crypto
* New test in tx_filter fixed
2019-10-23 13:03:46 +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
Marek Kotewicz
413442d7be
updated parity-local-store to edition 2018 and removed redundant Error type ( #10800 )
2019-06-27 09:37:15 +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
Tomasz Drwięga
ff0095ac5e
Move a bunch of stuff around ( #10101 )
...
* Move devtools.
* Merge stop_guard & rename memzero
* Move price-info to miner.
* Group account management
* Clean up workspace members.
* Move local store closer to miner.
* Move clib examples.
* Move registrar and hash-fetch
* Move rpc_cli/rpc_client
* Move stratum closer to miner.
* Fix naming convention of crates.
* Update Cpp examples path.
* Fix paths for clib-example.
* Fix removing build.
2018-12-28 17:33:49 +08:00