Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
gjermundgaraba committed Dec 31, 2024
1 parent 132c38b commit 34b1908
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
5 changes: 1 addition & 4 deletions e2e/interchaintestv8/relayer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -794,9 +794,8 @@ func (s *RelayerTestSuite) RecvPacketCosmosTest(ctx context.Context, numOfTransf

s.Require().NotZero(len(msgs))

resp, err := s.BroadcastMessages(ctx, simd, s.SimdSubmitter, 20_000_000, msgs...)
resp, err := s.BroadcastMessages(ctx, simd, s.SimdSubmitter, 2_000_000, msgs...)
s.Require().NoError(err)
fmt.Printf("Broadcasted tx: %s\n", resp)

ackTxHash, err = hex.DecodeString(resp.TxHash)
s.Require().NoError(err)
Expand All @@ -816,6 +815,4 @@ func (s *RelayerTestSuite) RecvPacketCosmosTest(ctx context.Context, numOfTransf
s.Require().Equal(totalTransferAmount.Uint64(), resp.Balance.Amount.Uint64())
s.Require().Equal(denomOnCosmos.IBCDenom(), resp.Balance.Denom)
}))

// TODO: Ack back?
}
9 changes: 0 additions & 9 deletions packages/ethereum/ethereum-apis/src/beacon_api/response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,6 @@ pub struct Response<Data, Extra = EmptyExtra> {
pub extra: Extra,
}

//impl<Data, Extra> Response<Data, Extra> {
// pub fn map_data<T>(self, f: impl FnOnce(Data) -> T) -> Response<T, Extra> {
// Response {
// data: f(self.data),
// extra: self.extra,
// }
// }
//}

/// The default empty extra data for `Response`.
#[derive(Debug, Serialize, Deserialize)]
pub struct EmptyExtra {}
Expand Down
2 changes: 1 addition & 1 deletion packages/relayer-lib/src/tx_builder/eth_to_cosmos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ where

let target_height = Height {
revision_number: 0,
revision_height: target_block_number as u64,
revision_height: target_block_number,
};

let now = std::time::SystemTime::now()
Expand Down

0 comments on commit 34b1908

Please sign in to comment.