29
29
include ! ( concat!( env!( "OUT_DIR" ) , "/wasm_binary.rs" ) ) ;
30
30
31
31
use fp_rpc:: TransactionStatus ;
32
- pub use frame_support:: {
32
+ use frame_support:: {
33
33
construct_runtime,
34
34
pallet_prelude:: PhantomData ,
35
35
parameter_types,
36
- traits:: { FindAuthor , Get , Randomness } ,
36
+ traits:: { Get , Randomness } ,
37
37
weights:: { constants:: WEIGHT_PER_SECOND , IdentityFee , Weight } ,
38
- ConsensusEngineId , StorageValue ,
39
38
} ;
40
39
use frame_system:: { EnsureNever , EnsureRoot , EnsureSigned } ;
41
40
use pallet_ethereum:: Call :: transact;
@@ -52,7 +51,7 @@ use sp_runtime::{
52
51
create_runtime_str, generic, impl_opaque_keys,
53
52
traits:: { BlakeTwo256 , Block as BlockT , IdentifyAccount , IdentityLookup , Verify } ,
54
53
transaction_validity:: { TransactionSource , TransactionValidity } ,
55
- ApplyExtrinsicResult ,
54
+ ApplyExtrinsicResult , Perbill ,
56
55
} ;
57
56
use sp_std:: { convert:: TryFrom , prelude:: * } ;
58
57
#[ cfg( feature = "std" ) ]
@@ -61,7 +60,6 @@ use sp_version::RuntimeVersion;
61
60
62
61
#[ cfg( any( feature = "std" , test) ) ]
63
62
pub use sp_runtime:: BuildStorage ;
64
- pub use sp_runtime:: { Perbill , Permill } ;
65
63
66
64
/// An index to a block.
67
65
pub type BlockNumber = u32 ;
@@ -284,7 +282,7 @@ impl pallet_scheduler::Config for Runtime {
284
282
type WeightInfo = ( ) ;
285
283
}
286
284
287
- pub const BLOCKS_PER_DAY : BlockNumber = 24 * 60 * 10 ;
285
+ const BLOCKS_PER_DAY : BlockNumber = 24 * 60 * 10 ;
288
286
289
287
parameter_types ! {
290
288
pub const LaunchPeriod : BlockNumber = BLOCKS_PER_DAY ;
@@ -378,7 +376,7 @@ impl cumulus_parachain_system::Config for Runtime {
378
376
379
377
impl parachain_info:: Config for Runtime { }
380
378
381
- // 18 decimals
379
+ /// GLMR, the native token, uses 18 decimals of precision.
382
380
pub const GLMR : Balance = 1_000_000_000_000_000_000 ;
383
381
384
382
parameter_types ! {
0 commit comments