Skip to content

Commit

Permalink
feat: remove oracle_contract_address from the config response
Browse files Browse the repository at this point in the history
  • Loading branch information
rustcandy committed Apr 25, 2024
1 parent 3004c40 commit a9441ac
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions contracts/staking/src/msg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,6 @@ pub struct ConfigResponse {
pub protocol_fee_config: ProtocolFeeConfig,
pub ibc_channel_id: String,
pub stopped: bool,
pub oracle_contract_address: String,
pub oracle_contract_address_v2: String,
pub oracle_address: String,
}

Expand Down
8 changes: 0 additions & 8 deletions contracts/staking/src/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,6 @@ pub fn query_config(deps: Deps) -> StdResult<ConfigResponse> {
protocol_fee_config: config.protocol_fee_config,
ibc_channel_id: config.ibc_channel_id,
stopped: config.stopped,
oracle_contract_address: config
.oracle_contract_address
.map(|v| v.to_string())
.unwrap_or_default(),
oracle_contract_address_v2: config
.oracle_contract_address_v2
.map(|v| v.to_string())
.unwrap_or_default(),
oracle_address: config
.oracle_address
.map(|v| v.to_string())
Expand Down

0 comments on commit a9441ac

Please sign in to comment.