contracts: Convert to framev2 macros (#8157)

* contracts: Convert to framev2

* Reduce the API surface of the crate

* Remove unused import

* Merge import block

* Use pallet::metadata to reduce metadata diff

* Remove the explicit "Null" from AccountCounter
This commit is contained in:
Alexander Theißen authored and GitHub committed 2021-02-22 15:18:24 +00:00
1 parent 4f4a0c5b38
commit b2f393945a
15 files changed
+673 -668

No files matched your search

+1 -1
View File
@@ -71,7 +71,7 @@ pub use pallet_transaction_payment::{Multiplier, TargetedFeeAdjustment, Currency
use pallet_session::{historical as pallet_session_historical};
use sp_inherents::{InherentData, CheckInherentsResult};
use static_assertions::const_assert;
use pallet_contracts::WeightInfo;
use pallet_contracts::weights::WeightInfo;
#[cfg(any(feature = "std", test))]
pub use sp_runtime::BuildStorage;