Skip to content

Commit

Permalink
fix: 🚨 Add newly added function to mock implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
ffarall committed Dec 18, 2024
1 parent d835381 commit 369b3ef
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pallets/bucket-nfts/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ impl ProofsDealerInterface for MockProofsDealer {
type RandomnessOutput = H256;
type MerkleHashing = BlakeTwo256;
type TickNumber = BlockNumber;
type Balance = Balance;

fn challenge(_key_challenged: &Self::MerkleHash) -> frame_support::dispatch::DispatchResult {
Ok(())
Expand Down Expand Up @@ -226,6 +227,13 @@ impl ProofsDealerInterface for MockProofsDealer {
Ok(())
}

fn reinitialise_challenge_cycle(
_provider_id: &Self::ProviderId,
_old_stake: Self::Balance,
) -> frame_support::dispatch::DispatchResult {
Ok(())
}

fn get_current_tick() -> Self::TickNumber {
System::block_number()
}
Expand Down

0 comments on commit 369b3ef

Please sign in to comment.