mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-11 23:31:07 +00:00
BIN
Binary file not shown.
@@ -64,7 +64,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
|
||||
spec_name: create_runtime_str!("node"),
|
||||
impl_name: create_runtime_str!("substrate-node"),
|
||||
authoring_version: 10,
|
||||
spec_version: 26,
|
||||
spec_version: 27,
|
||||
impl_version: 27,
|
||||
apis: RUNTIME_API_VERSIONS,
|
||||
};
|
||||
|
||||
BIN
Binary file not shown.
@@ -98,6 +98,8 @@ decl_module! {
|
||||
let mut props = Self::public_props();
|
||||
props.push((index, (*proposal).clone(), who));
|
||||
<PublicProps<T>>::put(props);
|
||||
|
||||
Self::deposit_event(RawEvent::Proposed(index, value));
|
||||
}
|
||||
|
||||
/// Propose a sensitive action to be taken.
|
||||
@@ -222,6 +224,7 @@ decl_storage! {
|
||||
decl_event!(
|
||||
/// An event in this module.
|
||||
pub enum Event<T> where Balance = BalanceOf<T>, <T as system::Trait>::AccountId {
|
||||
Proposed(PropIndex, Balance),
|
||||
Tabled(PropIndex, Balance, Vec<AccountId>),
|
||||
Started(ReferendumIndex, VoteThreshold),
|
||||
Passed(ReferendumIndex),
|
||||
|
||||
Reference in New Issue
Block a user