Skip to content

Commit 5ddb4fd

Browse files
committed
apollo_staking: delete dead code
1 parent c26c606 commit 5ddb4fd

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

crates/apollo_staking/src/contract_types.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,6 @@ mod contract_types_test;
1515
pub(crate) const GET_STAKERS_ENTRY_POINT: &str = "get_stakers";
1616
pub(crate) const GET_CURRENT_EPOCH_DATA_ENTRY_POINT: &str = "get_current_epoch_data";
1717
pub(crate) const GET_PREVIOUS_EPOCH_DATA_ENTRY_POINT: &str = "get_previous_epoch_data";
18-
#[allow(dead_code)]
19-
pub(crate) const EPOCH_LENGTH: u64 = 100; // Number of heights in an epoch.
20-
21-
// Represents a Cairo1 `Array` containing elements that can be deserialized to `T`.
22-
// `T` must implement `TryFrom<[Felt; N]>`, where `N` is the size of `T`'s Cairo equivalent.
23-
#[derive(Debug, PartialEq, Eq)]
24-
// TODO(Dafna): Remove this when we have a CairoStakingContract implementation.
25-
#[allow(dead_code)]
26-
struct ArrayRetdata<T>(Vec<T>);
2718

2819
#[derive(Debug, PartialEq, Eq, Clone)]
2920
pub(crate) struct ContractStaker {

0 commit comments

Comments
 (0)