From e5f085e3a05e88c0f4a0fff3b252f64e1a5d89de Mon Sep 17 00:00:00 2001 From: Potuz Date: Mon, 22 May 2023 14:06:48 -0300 Subject: [PATCH] fix test --- beacon-chain/rpc/eth/beacon/config_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/beacon-chain/rpc/eth/beacon/config_test.go b/beacon-chain/rpc/eth/beacon/config_test.go index 75b616d04609..f9851f56b121 100644 --- a/beacon-chain/rpc/eth/beacon/config_test.go +++ b/beacon-chain/rpc/eth/beacon/config_test.go @@ -136,7 +136,7 @@ func TestGetSpec(t *testing.T) { resp, err := server.GetSpec(context.Background(), &emptypb.Empty{}) require.NoError(t, err) - assert.Equal(t, 105, len(resp.Data)) + assert.Equal(t, 106, len(resp.Data)) for k, v := range resp.Data { switch k { case "CONFIG_NAME": @@ -361,6 +361,8 @@ func TestGetSpec(t *testing.T) { assert.Equal(t, "2", v) case "REORG_WEIGHT_THRESHOLD": assert.Equal(t, "20", v) + case "REORG_PARENT_WEIGHT_THRESHOLD": + assert.Equal(t, "160", v) case "SAFE_SLOTS_TO_IMPORT_OPTIMISTICALLY": default: t.Errorf("Incorrect key: %s", k)