Skip to content

Commit

Permalink
Remove unused operator_block_fees_final_key() function
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 committed Jan 7, 2025
1 parent b0800cb commit 76e29b5
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions crates/sp-domains/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1448,14 +1448,6 @@ pub fn system_digest_final_key() -> Vec<u8> {
frame_support::storage::storage_prefix("System".as_ref(), "Digest".as_ref()).to_vec()
}

// 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.
pub fn operator_block_fees_final_key() -> Vec<u8> {
frame_support::storage::storage_prefix("BlockFees".as_ref(), "CollectedBlockFees".as_ref())
.to_vec()
}

/// Hook to handle chain rewards.
pub trait OnChainRewards<Balance> {
fn on_chain_rewards(chain_id: ChainId, reward: Balance);
Expand Down

0 comments on commit 76e29b5

Please sign in to comment.