Skip to content

Commit

Permalink
merge fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dixitaniket committed Aug 1, 2023
1 parent 25535f9 commit 17491e9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
7 changes: 2 additions & 5 deletions cosmwasm/contracts/price-feed/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1252,14 +1252,11 @@ mod tests {
}

mod query {
use crate::msg::QueryMsg::{GetRef, GetReferenceData, GetReferenceDataBulk};
use cosmwasm_std::from_binary;
use std::iter::zip;
use std::ops::Mul;

use cosmwasm_std::from_binary;
use cosmwasm_std::OverflowOperation::Add;

use crate::msg::QueryMsg::{GetRef, GetReferenceData, GetReferenceDataBulk};

use super::*;

#[test]
Expand Down
4 changes: 1 addition & 3 deletions cosmwasm/contracts/price-feed/src/msg.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
use cosmwasm_schema::{cw_serde, QueryResponses};
use cosmwasm_std::Uint64;
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};

use crate::state::{RefData, RefMedianData, ReferenceData,RefDeviationData};
use crate::state::{RefData, RefDeviationData, RefMedianData, ReferenceData};

#[cw_serde]
pub struct InstantiateMsg {}
Expand Down
2 changes: 1 addition & 1 deletion cosmwasm/contracts/price-feed/src/state.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use cosmwasm_schema::cw_serde;
use cosmwasm_std::{Addr, StdResult, Storage, Uint256, Uint64};
use secret_toolkit::serialization::{Bincode2, Json};
use secret_toolkit::serialization::Bincode2;
use secret_toolkit::storage::{Item, Keymap, Keyset, KeysetBuilder, WithoutIter};
use serde::{Deserialize, Serialize};

Expand Down
3 changes: 0 additions & 3 deletions cw-relayer/relayer/relayer.go
Original file line number Diff line number Diff line change
Expand Up @@ -475,9 +475,6 @@ func (r *Relayer) tick(ctx context.Context) error {
executeMsgs[i] = &executeMsg
}

logs.Msg("broadcasting execute to contract")
if err := r.relayerClient.BroadcastTx(*clientCtx, nextBlockHeight, r.timeoutHeight, executeMsgs...); err != nil {

if err := r.relayerClient.BroadcastTx(*clientCtx, r.resolveDuration, nextBlockHeight, r.timeoutHeight, executeMsgs...); err != nil {
r.missedCounter += 1
return err
Expand Down

0 comments on commit 17491e9

Please sign in to comment.