mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-28 22:49:49 +00:00
Explicitly declare decl_storage! getters as functions (#3870)
* parse decl_storage getters with fn keyword * test for get in decl_storage * update all decl_storage! getters * bump version * adjust missed doc line
This commit is contained in:
1 parent
1111d79ac1
commit
5d5e71028e
36 files changed
+190
-175
No files matched your search
@@ -244,7 +244,7 @@ decl_module! {
|
||||
decl_storage! {
|
||||
trait Store for Module<T: Trait> as Timestamp {
|
||||
/// Current time for the current block.
|
||||
pub Now get(now) build(|_| 0.into()): T::Moment;
|
||||
pub Now get(fn now) build(|_| 0.into()): T::Moment;
|
||||
|
||||
/// Did the timestamp get updated in this block?
|
||||
DidUpdate: bool;
|
||||
|
||||
Reference in new issue
Block a user