Skip to content

Commit

Permalink
Update comment, minor refactoring
Browse files Browse the repository at this point in the history
Signed-off-by: linning <linningde25@gmail.com>
  • Loading branch information
NingLin-P committed May 15, 2024
1 parent d4364c8 commit ee979ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/sp-domains/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1262,7 +1262,7 @@ impl DomainAllowlistUpdates {
}
}

//TODO: remove there key generations from here and instead use the fraud proof host function to fetch them
//TODO: This is used to keep compatible with gemini-3h, remove before next network

/// This is a representation of actual Block Fees storage in pallet-block-fees.
/// Any change in key or value there should be changed here accordingly.
Expand Down
2 changes: 1 addition & 1 deletion domains/pallets/block-fees/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ mod pallet {
use alloc::vec::Vec;
use codec::{Codec, MaxEncodedLen};
use frame_support::pallet_prelude::*;
use frame_support::storage::generator::StorageValue as _;
use frame_system::pallet_prelude::*;
use scale_info::TypeInfo;
use sp_block_fees::{InherentError, InherentType, INHERENT_IDENTIFIER};
Expand Down Expand Up @@ -200,7 +201,6 @@ mod pallet {
}

pub fn block_fees_storage_key() -> Vec<u8> {
use frame_support::storage::generator::StorageValue;
CollectedBlockFees::<T>::storage_value_final_key().to_vec()
}
}
Expand Down

0 comments on commit ee979ea

Please sign in to comment.