Skip to content

Commit

Permalink
Merge branch 'master' into polkadot-v0.9.42
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrylavrenov committed Mar 21, 2024
2 parents d740cb1 + 64052a5 commit 7c33fcf
Show file tree
Hide file tree
Showing 11 changed files with 200 additions and 334 deletions.
90 changes: 45 additions & 45 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions crates/humanode-runtime/src/deauthentication_reason.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//! `DeauthenticationReason` implementation to define reasons by which authentication is removed
//! before expected time expiration.
use codec::{Decode, Encode};
use scale_info::TypeInfo;
use sp_std::prelude::*;

/// Define a possible deauthentication reason.
#[derive(Clone, PartialEq, Debug, Encode, Decode, TypeInfo)]
pub enum DeauthenticationReason {
/// Some offence has been recevied.
Offence,
}
Loading

0 comments on commit 7c33fcf

Please sign in to comment.