mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 10:31:03 +00:00
Update Substrate (#808)
* Update to latest Substrate master * upgrade decl_storage declaration * Companion PR to Substrate#4752 Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by: thiolliere <gui.thiolliere@gmail.com> Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com>
This commit is contained in:
@@ -158,7 +158,8 @@ decl_storage! {
|
||||
trait Store for Module<T: Trait> as Crowdfund {
|
||||
/// Info on all of the funds.
|
||||
Funds get(funds):
|
||||
map FundIndex => Option<FundInfo<T::AccountId, BalanceOf<T>, T::Hash, T::BlockNumber>>;
|
||||
map hasher(blake2_256) FundIndex
|
||||
=> Option<FundInfo<T::AccountId, BalanceOf<T>, T::Hash, T::BlockNumber>>;
|
||||
|
||||
/// The total number of funds that have so far been allocated.
|
||||
FundCount get(fund_count): FundIndex;
|
||||
|
||||
Reference in New Issue
Block a user