mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 18:37:59 +00:00
Update srml-contract to Rust 2018. (#1510)
* Fix imports. * Remove redundant binding * Clean extern crates. * Add comment * Re-export macros from prelude * Build fixes * Update core/sr-std/src/lib.rs Co-Authored-By: pepyakin <s.pepyakin@gmail.com>
This commit is contained in:
@@ -23,13 +23,16 @@ use runtime_io::with_externalities;
|
||||
use runtime_primitives::testing::{Digest, DigestItem, H256, Header};
|
||||
use runtime_primitives::traits::{BlakeTwo256, IdentityLookup};
|
||||
use runtime_primitives::BuildStorage;
|
||||
use runtime_io;
|
||||
use runtime_support::{StorageMap, StorageDoubleMap};
|
||||
use substrate_primitives::{Blake2Hasher};
|
||||
use system::{ensure_signed, Phase, EventRecord};
|
||||
use wabt;
|
||||
use {
|
||||
balances, runtime_io, system, ComputeDispatchFee, ContractAddressFor, GenesisConfig, Module, RawEvent, StorageOf,
|
||||
Trait
|
||||
use system::{self, Phase, EventRecord};
|
||||
use {wabt, balances};
|
||||
use hex_literal::*;
|
||||
use assert_matches::assert_matches;
|
||||
use crate::{
|
||||
ContractAddressFor, GenesisConfig, Module, RawEvent, StorageOf,
|
||||
Trait, ComputeDispatchFee
|
||||
};
|
||||
|
||||
mod contract {
|
||||
|
||||
Reference in New Issue
Block a user