From e7054da98323a69e57becf2e5a51c63a00cd2a36 Mon Sep 17 00:00:00 2001 From: fearlessfe <505380967@qq.com> Date: Wed, 11 Sep 2024 08:10:19 +0800 Subject: [PATCH] fix: err in TestForkedHistoricalSummariesWithProof --- portalnetwork/beacon/types_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portalnetwork/beacon/types_test.go b/portalnetwork/beacon/types_test.go index a228f6e93c..c9a387b81a 100644 --- a/portalnetwork/beacon/types_test.go +++ b/portalnetwork/beacon/types_test.go @@ -149,5 +149,5 @@ func TestForkedHistoricalSummariesWithProof(t *testing.T) { content := hexutil.MustDecode(testData.ContentValue) err = historyProof.Deserialize(configs.Mainnet, codec.NewDecodingReader(bytes.NewReader(content), uint64(len(content)))) require.NoError(t, err) - require.Equal(t, historyProof.HistoricalSummariesWithProof.EPOCH, testData.Epoch) + require.Equal(t, uint64(historyProof.HistoricalSummariesWithProof.EPOCH), testData.Epoch) }