mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-11 13:17:08 +00:00
Make decl_module! implement OnFinalise (#947)
This commit is contained in:
1 parent
52093c4b7a
commit
1ba73e0e88
19 files changed
+158
-117
No files matched your search
@@ -2702,7 +2702,8 @@ mod tests {
|
||||
}
|
||||
|
||||
pub trait Trait {
|
||||
type Origin: codec::Encode + codec::Decode + ::std::default::Default;
|
||||
type Origin: codec::Encode + codec::Decode + ::std::default::Default;
|
||||
type BlockNumber;
|
||||
}
|
||||
|
||||
decl_module! {
|
||||
@@ -2754,6 +2755,7 @@ mod tests {
|
||||
|
||||
impl Trait for TraitImpl {
|
||||
type Origin = u32;
|
||||
type BlockNumber = u32;
|
||||
}
|
||||
|
||||
const EXPECTED_METADATA: StorageMetadata = StorageMetadata {
|
||||
@@ -2932,7 +2934,8 @@ mod tests {
|
||||
#[allow(dead_code)]
|
||||
mod test2 {
|
||||
pub trait Trait {
|
||||
type Origin;
|
||||
type Origin;
|
||||
type BlockNumber;
|
||||
}
|
||||
|
||||
decl_module! {
|
||||
@@ -2959,5 +2962,6 @@ mod test2 {
|
||||
|
||||
impl Trait for TraitImpl {
|
||||
type Origin = u32;
|
||||
type BlockNumber = u32;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user