Skip to content

Commit 2e219e1

Browse files
authored
update polkadot-sdk deps to stable2407 (#1484)
* update polkadot-sdk deps to stable2407 * remove unused imports * bump nightly version to suport upgrading curve25519-dalek * try compiling with rustc stable
1 parent cacdfd7 commit 2e219e1

File tree

8 files changed

+1257
-1439
lines changed

8 files changed

+1257
-1439
lines changed

Cargo.lock

Lines changed: 1177 additions & 1353 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 73 additions & 72 deletions
Large diffs are not rendered by default.

client/consensus/src/lib.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,7 @@ where
105105
{
106106
type Error = ConsensusError;
107107

108-
async fn check_block(
109-
&mut self,
110-
block: BlockCheckParams<B>,
111-
) -> Result<ImportResult, Self::Error> {
108+
async fn check_block(&self, block: BlockCheckParams<B>) -> Result<ImportResult, Self::Error> {
112109
self.inner.check_block(block).await.map_err(Into::into)
113110
}
114111

frame/evm/precompile/dispatch/src/mock.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
//! Test mock for unit tests and benchmarking
1919
20-
use alloc::boxed::Box;
2120
use core::str::FromStr;
2221
use frame_support::{
2322
derive_impl, parameter_types,

frame/evm/src/mock.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
//! Test mock for unit tests and benchmarking
1919
20-
use alloc::boxed::Box;
2120
use core::str::FromStr;
2221
use frame_support::{
2322
derive_impl, parameter_types,

rust-toolchain.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[toolchain]
22
# Stable
3-
#channel = "1.75.0" # rustc 1.75.0 (82e1608df 2023-12-21)
3+
channel = "1.77.0" # rustc 1.77.0 (aedd173a2 2024-03-21)
44
# Nightly
5-
channel = "nightly-2024-01-22" # rustc 1.77.0-nightly (ef71f1047 2024-01-21)
5+
#channel = "nightly-2024-02-05" # rustc 1.78.0-nightly (f067fd608 2024-02-05)
66
components = ["cargo", "clippy", "rustc", "rustfmt", "rust-src", "rust-docs"]
77
profile = "minimal"
8-
targets = ["wasm32-unknown-unknown"]
8+
targets = ["wasm32-unknown-unknown"]

template/node/src/chain_spec.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,13 @@ use sp_core::ecdsa;
1010
use sp_core::{Pair, Public, H160, U256};
1111
use sp_runtime::traits::{IdentifyAccount, Verify};
1212
// Frontier
13-
use frontier_template_runtime::{
14-
AccountId, Balance, RuntimeGenesisConfig, SS58Prefix, Signature, WASM_BINARY,
15-
};
13+
use frontier_template_runtime::{AccountId, Balance, SS58Prefix, Signature, WASM_BINARY};
1614

1715
// The URL for the telemetry server.
1816
// const STAGING_TELEMETRY_URL: &str = "wss://telemetry.polkadot.io/submit/";
1917

2018
/// Specialized `ChainSpec`. This is a specialization of the general Substrate ChainSpec type.
21-
pub type ChainSpec = sc_service::GenericChainSpec<RuntimeGenesisConfig>;
19+
pub type ChainSpec = sc_service::GenericChainSpec;
2220

2321
/// Generate a crypto pair from seed.
2422
pub fn get_from_seed<TPublic: Public>(seed: &str) -> <TPublic::Pair as Pair>::Public {

template/runtime/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ extern crate alloc;
1212
#[cfg(feature = "std")]
1313
include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs"));
1414

15-
use alloc::{boxed::Box, vec, vec::Vec};
15+
use alloc::{vec, vec::Vec};
1616
use core::marker::PhantomData;
1717
use scale_codec::{Decode, Encode};
1818
use sp_api::impl_runtime_apis;

0 commit comments

Comments
 (0)