update most of the dependencies (#1946)

* update tiny-keccak to 0.2

* update deps except bitvec and shared_memory

* fix some warning after futures upgrade

* remove useless package rename caused by bug in cargo-upgrade

* revert parity-util-mem *

* remove unused import

* cargo update

* remove all renames on parity-scale-codec

* remove the leftovers

* remove unused dep
This commit is contained in:
Andronik Ordian
2020-11-17 11:16:31 +01:00
committed by GitHub
parent 2a25eacb22
commit 0a8a607a58
91 changed files with 1413 additions and 1310 deletions
@@ -10,11 +10,11 @@ name = "adder-collator"
path = "src/main.rs"
[dependencies]
codec = { package = "parity-scale-codec", version = "1.3.4", default-features = false, features = ["derive"] }
futures = "0.3.4"
parity-scale-codec = { version = "1.3.5", default-features = false, features = ["derive"] }
futures = "0.3.8"
futures-timer = "3.0.2"
log = "0.4.8"
structopt = "0.3.8"
log = "0.4.11"
structopt = "0.3.20"
test-parachain-adder = { path = ".." }
polkadot-primitives = { path = "../../../../primitives" }
@@ -21,7 +21,7 @@ use test_parachain_adder::{hash_state, BlockData, HeadData, execute};
use futures_timer::Delay;
use polkadot_primitives::v1::{PoV, CollatorId, CollatorPair};
use polkadot_node_primitives::{Collation, CollatorFn};
use codec::{Encode, Decode};
use parity_scale_codec::{Encode, Decode};
use sp_core::Pair;
/// The amount we add when producing a new block.
@@ -168,7 +168,7 @@ mod tests {
use futures::executor::block_on;
use polkadot_parachain::{primitives::ValidationParams, wasm_executor::IsolationStrategy};
use polkadot_primitives::v1::{ValidationData, PersistedValidationData};
use codec::Decode;
use parity_scale_codec::Decode;
#[test]
fn collator_works() {