Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Update toolchain (#115)
Browse files Browse the repository at this point in the history
* Use nightly toolchain

* dongradde to latest clippy stable

* GH workflow trail and error

* next try

* use stable for clippy

* update wasm builder

* yet another try

* fun with CI

* no env var

* and one more

* allow from_over_into bco contruct_runtime

* back to start

* well ...

* full circle

* old version was still used
  • Loading branch information
adoerr authored Mar 11, 2021
1 parent e1b3f9b commit 87e5f0d
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions frame/beefy/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,21 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

use std::vec;
// construct_runtime requires this
#![allow(clippy::from_over_into)]

use frame_support::{parameter_types, sp_io::TestExternalities, BasicExternalities};
use std::vec;

use sp_core::H256;
use sp_runtime::{
app_crypto::ecdsa::Public,
impl_opaque_keys,
testing::Header,
traits::{BlakeTwo256, ConvertInto, IdentityLookup, OpaqueKeys},
Perbill,
use {
frame_support::{construct_runtime, parameter_types, sp_io::TestExternalities, BasicExternalities},
sp_core::H256,
sp_runtime::{
app_crypto::ecdsa::Public,
impl_opaque_keys,
testing::Header,
traits::{BlakeTwo256, ConvertInto, IdentityLookup, OpaqueKeys},
Perbill,
},
};

use crate as pallet_beefy;
Expand All @@ -40,7 +44,7 @@ impl_opaque_keys! {
type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic<Test>;
type Block = frame_system::mocking::MockBlock<Test>;

frame_support::construct_runtime!(
construct_runtime!(
pub enum Test where
Block = Block,
NodeBlock = Block,
Expand Down

0 comments on commit 87e5f0d

Please sign in to comment.