From 750a21312ff36bac93d4dcdbfbd0802a46340e7d Mon Sep 17 00:00:00 2001 From: marbar3778 Date: Thu, 7 Sep 2023 16:33:21 +0200 Subject: [PATCH] fix tests --- tests/integration/staking/keeper/deterministic_test.go | 2 +- tests/integration/staking/keeper/grpc_query_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/staking/keeper/deterministic_test.go b/tests/integration/staking/keeper/deterministic_test.go index 09d532e40811..6965f3344904 100644 --- a/tests/integration/staking/keeper/deterministic_test.go +++ b/tests/integration/staking/keeper/deterministic_test.go @@ -697,7 +697,7 @@ func TestGRPCHistoricalInfo(t *testing.T) { height := int64(127) - assert.NilError(t, f.stakingKeeper.Historical.Set( + assert.NilError(t, f.stakingKeeper.HistoricalInfo.Set( f.ctx, uint64(height), historicalInfo, diff --git a/tests/integration/staking/keeper/grpc_query_test.go b/tests/integration/staking/keeper/grpc_query_test.go index 0330c48af03d..2ad7e087524e 100644 --- a/tests/integration/staking/keeper/grpc_query_test.go +++ b/tests/integration/staking/keeper/grpc_query_test.go @@ -732,7 +732,7 @@ func TestGRPCQueryHistoricalInfo(t *testing.T) { qr := f.app.QueryHelper() queryClient := types.NewQueryClient(qr) - hi, found := f.stakingKeeper.Historical.Get(ctx, uint64(5)) + hi, found := f.stakingKeeper.HistoricalInfo.Get(ctx, uint64(5)) assert.Assert(t, found) var req *types.QueryHistoricalInfoRequest