123456789101112131415 |
- // Ensure we're `no_std` when compiling for Wasm.
- #![cfg_attr(not(feature = "std"), no_std)]
- pub mod council;
- pub mod election;
- pub mod election_params;
- mod sealed_vote;
- mod stake;
- mod mock;
- //TODO: Convert errors to the Substrate decl_error! macro.
- /// Result with string error message. This exists for backward compatibility purpose.
- pub type DispatchResult = Result<(), &'static str>;
|