mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 13:57:58 +00:00
Normalize Crate Names in SRML/Node Template (#3543)
* Fix some instances of `runtime-io` * Patch a bunch * More patches for consistancy * more patch * Fix various build issues * Fix tests * Patch `srml-support-*` crates * Fix doc tests * Revert "Fix doc tests" This reverts commit ba2ec61da7acc36821a70e76a31a6a5bf13bbe95. * Revert "Patch `srml-support-*` crates" This reverts commit 9a6070450107dec17784ba34af4b871023f6dc81. * Missed one * Fix doc tests
This commit is contained in:
@@ -15,8 +15,8 @@
|
||||
// along with Substrate. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
use runtime_io::{with_externalities, Blake2Hasher};
|
||||
use srml_support::{StorageValue, StorageMap, StorageLinkedMap, StorageDoubleMap};
|
||||
use srml_support::storage::unhashed;
|
||||
use support::{StorageValue, StorageMap, StorageLinkedMap, StorageDoubleMap};
|
||||
use support::storage::unhashed;
|
||||
use codec::{Encode, Decode};
|
||||
|
||||
pub trait Trait {
|
||||
@@ -24,11 +24,11 @@ pub trait Trait {
|
||||
type BlockNumber: Encode + Decode + Default + Clone;
|
||||
}
|
||||
|
||||
srml_support::decl_module! {
|
||||
support::decl_module! {
|
||||
pub struct Module<T: Trait> for enum Call where origin: T::Origin {}
|
||||
}
|
||||
|
||||
srml_support::decl_storage!{
|
||||
support::decl_storage!{
|
||||
trait Store for Module<T: Trait> as FinalKeys {
|
||||
pub Value config(value): u32;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user