Skip to content

Commit

Permalink
moar 8.0 replace
Browse files Browse the repository at this point in the history
Signed-off-by: Shrenuj Bansal <[email protected]>
  • Loading branch information
shrenujb committed Nov 26, 2024
1 parent e85ee64 commit 77bab93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions protocol/app/upgrades/v8.0/upgrade_container_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func postUpgradeMarketIdsCheck(node *containertest.Node, t *testing.T) {
nextMarketIdResp := pricetypes.QueryNextMarketIdResponse{}
err = proto.UnmarshalText(resp.String(), &nextMarketIdResp)
require.NoError(t, err)
require.Equal(t, uint32(v_7_1.ID_NUM), nextMarketIdResp.NextMarketId)
require.Equal(t, uint32(v_8_0.ID_NUM), nextMarketIdResp.NextMarketId)

// query the next perpetual id
resp, err = containertest.Query(
Expand All @@ -74,7 +74,7 @@ func postUpgradeMarketIdsCheck(node *containertest.Node, t *testing.T) {
nextPerpIdResp := perptypes.QueryNextPerpetualIdResponse{}
err = proto.UnmarshalText(resp.String(), &nextPerpIdResp)
require.NoError(t, err)
require.Equal(t, uint32(v_7_1.ID_NUM), nextPerpIdResp.NextPerpetualId)
require.Equal(t, uint32(v_8_0.ID_NUM), nextPerpIdResp.NextPerpetualId)

// query the next clob pair id
resp, err = containertest.Query(
Expand All @@ -89,5 +89,5 @@ func postUpgradeMarketIdsCheck(node *containertest.Node, t *testing.T) {
nextClobPairIdResp := clobtypes.QueryNextClobPairIdResponse{}
err = proto.UnmarshalText(resp.String(), &nextClobPairIdResp)
require.NoError(t, err)
require.Equal(t, uint32(v_7_1.ID_NUM), nextClobPairIdResp.NextClobPairId)
require.Equal(t, uint32(v_8_0.ID_NUM), nextClobPairIdResp.NextClobPairId)
}

0 comments on commit 77bab93

Please sign in to comment.