diff --git a/bridges/bin/node/runtime/Cargo.toml b/bridges/bin/node/runtime/Cargo.toml index 99b4389ce17c446ecb2478992f326e4189100e6e..7d6d6f009ce6c9d9923588e1740013f784b83919 100644 --- a/bridges/bin/node/runtime/Cargo.toml +++ b/bridges/bin/node/runtime/Cargo.toml @@ -12,7 +12,7 @@ hex-literal = "0.2" [dependencies.codec] package = "parity-scale-codec" -version = "1.0.0" +version = "1.3.1" default-features = false features = ["derive"] @@ -208,6 +208,7 @@ path = "../../../primitives/ethereum-poa" [build-dependencies.wasm-builder-runner] version = "1.0.5" +tag = 'v2.0.0-rc4' package = "substrate-wasm-builder-runner" git = "https://github.com/paritytech/substrate/" diff --git a/bridges/modules/currency-exchange/Cargo.toml b/bridges/modules/currency-exchange/Cargo.toml index ac45876a6b2a12f5136473a05d3a81a72797def4..23865b32bfff6ad95adf44945bf0642ab7216a1e 100644 --- a/bridges/modules/currency-exchange/Cargo.toml +++ b/bridges/modules/currency-exchange/Cargo.toml @@ -8,7 +8,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0" [dependencies] serde = { version = "1.0", optional = true } -codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false } +codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false } sp-currency-exchange = { path = "../../primitives/currency-exchange", default-features = false } # Substrate Based Dependencies diff --git a/bridges/modules/ethereum-contract/builtin/Cargo.toml b/bridges/modules/ethereum-contract/builtin/Cargo.toml index 5867e1176c9f9d68672a29493f31e21fd18c09b7..cfee003f191766adbade689ed53cda99b3759492 100644 --- a/bridges/modules/ethereum-contract/builtin/Cargo.toml +++ b/bridges/modules/ethereum-contract/builtin/Cargo.toml @@ -10,7 +10,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0" # General dependencies -codec = { package = "parity-scale-codec", version = "1.0.0" } +codec = { package = "parity-scale-codec", version = "1.3.1" } ethereum-types = "0.9.2" finality-grandpa = "0.12.3" diff --git a/bridges/modules/ethereum/Cargo.toml b/bridges/modules/ethereum/Cargo.toml index c22adb84906767ef32c233a11c037b946f692ec2..8beafb6448381bd42ede70f7fa4d5f2cb2c38f4e 100644 --- a/bridges/modules/ethereum/Cargo.toml +++ b/bridges/modules/ethereum/Cargo.toml @@ -8,7 +8,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0" [dependencies] serde = { version = "1.0", optional = true } -codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false } +codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false } hex-literal = "0.2" primitives = { package = "sp-bridge-eth-poa", path = "../../primitives/ethereum-poa", default-features = false } diff --git a/bridges/modules/substrate/Cargo.toml b/bridges/modules/substrate/Cargo.toml index fefacdd458d0ec9cffb85594e9c899e92a8b8b9d..ec5ec2a0e84b277421c1ca0e1bf3993c3c35a1b4 100644 --- a/bridges/modules/substrate/Cargo.toml +++ b/bridges/modules/substrate/Cargo.toml @@ -8,7 +8,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false } +codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false } serde = { version = "1.0", optional = true } hash-db = { version = "0.15.2", default-features = false } diff --git a/bridges/primitives/currency-exchange/Cargo.toml b/bridges/primitives/currency-exchange/Cargo.toml index 432a1ae9e82a883bbf9db6aa2ed0f9382c584520..4cdba7ec1398f663bba25cfe10098063bb596620 100644 --- a/bridges/primitives/currency-exchange/Cargo.toml +++ b/bridges/primitives/currency-exchange/Cargo.toml @@ -7,7 +7,7 @@ edition = "2018" license = "GPL-3.0-or-later WITH Classpath-exception-2.0" [dependencies] -codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false } +codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false } # Substrate Based Dependencies diff --git a/bridges/primitives/ethereum-poa/Cargo.toml b/bridges/primitives/ethereum-poa/Cargo.toml index 945752bc348aa88485a3a5c8a5bcb1b9d3ad298f..bf1d835197fe6f6f01a6de5675f671bbb3ecc6d7 100644 --- a/bridges/primitives/ethereum-poa/Cargo.toml +++ b/bridges/primitives/ethereum-poa/Cargo.toml @@ -15,7 +15,7 @@ primitive-types = { version = "0.7", default-features = false, features = ["code fixed-hash = { version = "0.5", default-features = false } impl-rlp = { version = "0.2", default-features = false } impl-serde = { version = "0.2.3", optional = true } -codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false } +codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false } rlp = { version = "0.4", default-features = false } hash-db = { version = "0.15.2", default-features = false } triehash = { version = "0.8.2", default-features = false } diff --git a/bridges/relays/ethereum/Cargo.toml b/bridges/relays/ethereum/Cargo.toml index 35f88282b0967a45d6b69da35527c8d6b986fc11..23c37156e58bca78da855dda61f341b6c19bdf74 100644 --- a/bridges/relays/ethereum/Cargo.toml +++ b/bridges/relays/ethereum/Cargo.toml @@ -12,7 +12,7 @@ async-stream = "0.2.0" async-trait = "0.1.36" backoff = "0.1" clap = { version = "2.33.1", features = ["yaml"] } -codec = { package = "parity-scale-codec", version = "1.0.0" } +codec = { package = "parity-scale-codec", version = "1.3.1" } env_logger = "0.7.0" ethabi = "12.0" ethabi-contract = "11.0" diff --git a/bridges/relays/ethereum/src/substrate_client.rs b/bridges/relays/ethereum/src/substrate_client.rs index 82e1081b852404360f8d36bb747b6581686bfd27..e349213dfc74c87103d20026b9e5ac2bedb69afe 100644 --- a/bridges/relays/ethereum/src/substrate_client.rs +++ b/bridges/relays/ethereum/src/substrate_client.rs @@ -134,7 +134,7 @@ impl SubstrateRpc for SubstrateRpcClient { async fn best_ethereum_block(&self) -> Result<EthereumHeaderId> { let call = ETH_API_BEST_BLOCK.to_string(); - let data = Bytes("0x".into()); + let data = Bytes(Vec::new()); let encoded_response = Substrate::state_call(&self.client, call, data, None).await?; let decoded_response: (u64, sp_bridge_eth_poa::H256) = Decode::decode(&mut &encoded_response.0[..])?;