diff --git a/e2e/interchaintestv8/relayer_test.go b/e2e/interchaintestv8/relayer_test.go index dbb630b..013de93 100644 --- a/e2e/interchaintestv8/relayer_test.go +++ b/e2e/interchaintestv8/relayer_test.go @@ -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) @@ -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? } diff --git a/packages/ethereum/ethereum-apis/src/beacon_api/response.rs b/packages/ethereum/ethereum-apis/src/beacon_api/response.rs index cb63b69..8df5251 100644 --- a/packages/ethereum/ethereum-apis/src/beacon_api/response.rs +++ b/packages/ethereum/ethereum-apis/src/beacon_api/response.rs @@ -12,15 +12,6 @@ pub struct Response { pub extra: Extra, } -//impl Response { -// pub fn map_data(self, f: impl FnOnce(Data) -> T) -> Response { -// Response { -// data: f(self.data), -// extra: self.extra, -// } -// } -//} - /// The default empty extra data for `Response`. #[derive(Debug, Serialize, Deserialize)] pub struct EmptyExtra {} diff --git a/packages/relayer-lib/src/tx_builder/eth_to_cosmos.rs b/packages/relayer-lib/src/tx_builder/eth_to_cosmos.rs index 624d7a5..ac3a44c 100644 --- a/packages/relayer-lib/src/tx_builder/eth_to_cosmos.rs +++ b/packages/relayer-lib/src/tx_builder/eth_to_cosmos.rs @@ -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()