diff --git a/test/e2e/btc_timestamping_e2e_test.go b/test/e2e/btc_timestamping_e2e_test.go index 19890b9e8..8bfb0547a 100644 --- a/test/e2e/btc_timestamping_e2e_test.go +++ b/test/e2e/btc_timestamping_e2e_test.go @@ -283,13 +283,12 @@ func (s *BTCTimestampingTestSuite) Test6InterceptFeeCollector() { // at the 1st block of an epoch, the gauge does not exist since incentive's BeginBlock // at this block accumulates rewards for BTC timestamping gauge for the previous block // need to wait for a block to ensure the gauge is created - var btcTimestampingGauge *itypes.Gauge + var btcTimestampingGauge *itypes.BTCTimestampingGaugeResponse s.Eventually(func() bool { btcTimestampingGauge, err = nonValidatorNode.QueryBTCTimestampingGauge(curEpoch) if err != nil { return false } - btcTimestampingGauge = response.Gauge s.T().Logf("BTC timestamping gauge at current epoch %d: %s", curEpoch, btcTimestampingGauge.String()) return !btcTimestampingGauge.Coins.Empty() }, time.Second*10, time.Second) diff --git a/test/e2e/configurer/chain/queries_incentive.go b/test/e2e/configurer/chain/queries_incentive.go index 291c28dcb..21bd65716 100644 --- a/test/e2e/configurer/chain/queries_incentive.go +++ b/test/e2e/configurer/chain/queries_incentive.go @@ -64,5 +64,5 @@ func (n *NodeConfig) QueryBTCTimestampingGauge(epoch uint64) (*incentivetypes.BT return nil, err } - return resp.Gauge.Gauge, nil + return resp.Gauge, nil }