grandpa: remove deprecated afg log target (#13064)

* grandpa: remove deprecated afg log target

* grandpa: define log targets in primitives
This commit is contained in:
André Silva
2023-01-05 12:33:08 +00:00
committed by GitHub
parent f2dcd9520c
commit 44768ae56a
5 changed files with 17 additions and 16 deletions
+1 -3
View File
@@ -37,7 +37,7 @@ use codec::{self as codec, Decode, Encode, MaxEncodedLen};
pub use fg_primitives::{AuthorityId, AuthorityList, AuthorityWeight, VersionedAuthorityList};
use fg_primitives::{
ConsensusLog, EquivocationProof, ScheduledChange, SetId, GRANDPA_AUTHORITIES_KEY,
GRANDPA_ENGINE_ID,
GRANDPA_ENGINE_ID, RUNTIME_LOG_TARGET as LOG_TARGET,
};
use frame_support::{
dispatch::{DispatchResultWithPostInfo, Pays},
@@ -70,8 +70,6 @@ pub use equivocation::{
pub use pallet::*;
const LOG_TARGET: &str = "runtime::grandpa";
#[frame_support::pallet]
pub mod pallet {
use super::*;