Skip to content

Commit

Permalink
remove legacy servic
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Leshiy committed Nov 28, 2023
1 parent 712dbf4 commit 2eb9632
Show file tree
Hide file tree
Showing 37 changed files with 11 additions and 7,172 deletions.
10 changes: 0 additions & 10 deletions catalyst-gateway/bin/src/event_db/types/registration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,6 @@ impl RewardAddress {
reward_address,
}
}

/// Get the reward address
pub(crate) fn reward_address(&self) -> &str {
&self.reward_address
}

/// Get the reward payable
pub(crate) fn reward_payable(&self) -> bool {
self.reward_payable
}
}

#[derive(Debug, Clone, PartialEq, Eq)]
Expand Down
8 changes: 8 additions & 0 deletions catalyst-gateway/bin/src/event_db/types/search.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ use super::{event::EventSummary, objective::ObjectiveSummary, proposal::Proposal
/// The Table to search
pub(crate) enum SearchTable {
/// Search for events
#[allow(dead_code)]
Events,
/// Search for objectives
#[allow(dead_code)]
Objectives,
/// Search for proposals
#[allow(dead_code)]
Proposals,
}

Expand All @@ -18,14 +21,19 @@ pub(crate) enum SearchTable {
/// The column to search
pub(crate) enum SearchColumn {
/// Search for the Title
#[allow(dead_code)]
Title,
/// Search for the Type
#[allow(dead_code)]
Type,
/// Search for the Description
#[allow(dead_code)]
Description,
/// Search for the Author
#[allow(dead_code)]
Author,
/// Search for the Funds
#[allow(dead_code)]
Funds,
}

Expand Down
93 changes: 0 additions & 93 deletions catalyst-gateway/bin/src/legacy_service/health.rs

This file was deleted.

111 changes: 0 additions & 111 deletions catalyst-gateway/bin/src/legacy_service/mod.rs

This file was deleted.

Loading

0 comments on commit 2eb9632

Please sign in to comment.