Skip to content

Commit

Permalink
Reset to substrate-node v0.9.40
Browse files Browse the repository at this point in the history
  • Loading branch information
en committed Apr 1, 2023
1 parent cc86629 commit 81a16c3
Show file tree
Hide file tree
Showing 30 changed files with 7,997 additions and 3,841 deletions.
7,485 changes: 4,540 additions & 2,945 deletions Cargo.lock

Large diffs are not rendered by default.

196 changes: 97 additions & 99 deletions cli/Cargo.toml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions cli/bin/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Substrate.

// Copyright (C) 2018-2022 Parity Technologies (UK) Ltd.
// Copyright (C) Parity Technologies (UK) Ltd.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand All @@ -21,5 +21,5 @@
#![warn(missing_docs)]

fn main() -> sc_cli::Result<()> {
appchain_cli::run()
node_cli::run()
}
4 changes: 2 additions & 2 deletions cli/build.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Substrate.

// Copyright (C) 2017-2022 Parity Technologies (UK) Ltd.
// Copyright (C) Parity Technologies (UK) Ltd.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand All @@ -25,7 +25,7 @@ fn main() {
mod cli {
include!("src/cli.rs");

use clap::{ArgEnum, CommandFactory};
use clap::{CommandFactory, ValueEnum};
use clap_complete::{generate_to, Shell};
use std::{env, fs, path::Path};
use substrate_build_script_utils::{generate_cargo_keys, rerun_if_git_head_changed};
Expand Down
139 changes: 139 additions & 0 deletions cli/res/flaming-fir.json

Large diffs are not rendered by default.

Empty file removed cli/res/octopus-mainnet.json
Empty file.
Empty file removed cli/res/octopus-testnet.json
Empty file.
9 changes: 4 additions & 5 deletions cli/src/benchmarking.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Substrate.

// Copyright (C) 2022 Parity Technologies (UK) Ltd.
// Copyright (C) Parity Technologies (UK) Ltd.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand All @@ -22,8 +22,8 @@
use crate::service::{create_extrinsic, FullClient};

use appchain_barnacle_runtime::{BalancesCall, SystemCall};
use appchain_primitives::{AccountId, Balance};
use kitchensink_runtime::{BalancesCall, SystemCall};
use node_primitives::{AccountId, Balance};
use sc_cli::Result;
use sp_inherents::{InherentData, InherentDataProvider};
use sp_keyring::Sr25519Keyring;
Expand Down Expand Up @@ -116,8 +116,7 @@ pub fn inherent_benchmark_data() -> Result<InherentData> {
let d = Duration::from_millis(0);
let timestamp = sp_timestamp::InherentDataProvider::new(d.into());

timestamp
.provide_inherent_data(&mut inherent_data)
futures::executor::block_on(timestamp.provide_inherent_data(&mut inherent_data))
.map_err(|e| format!("creating inherent data: {:?}", e))?;
Ok(inherent_data)
}
Loading

0 comments on commit 81a16c3

Please sign in to comment.