From 856a438a20022d3a86764b9bc238c3557e7737e6 Mon Sep 17 00:00:00 2001 From: rian Date: Wed, 5 Jun 2024 14:47:24 +0300 Subject: [PATCH] ?? --- genesis/genesis_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/genesis/genesis_test.go b/genesis/genesis_test.go index b668ba9a5a..752e93b0cd 100644 --- a/genesis/genesis_test.go +++ b/genesis/genesis_test.go @@ -91,7 +91,8 @@ func TestGenesisStateDiff(t *testing.T) { require.Empty(t, stateDiff.Nonces) require.Equal(t, stateDiff.DeployedContracts[*simpleStoreAddress], simpleStoreClassHash) require.Equal(t, stateDiff.DeployedContracts[*udcAddress], udcClassHash) - require.Equal(t, stateDiff.DeclaredV0Classes, []*felt.Felt{simpleStoreClassHash, udcClassHash}) + require.Equal(t, stateDiff.DeclaredV0Classes[0].String(), simpleStoreClassHash.String()) + require.Equal(t, stateDiff.DeclaredV0Classes[1].String(), udcClassHash.String()) require.Equal(t, 1, len(stateDiff.DeclaredV1Classes)) require.NotNil(t, stateDiff.DeclaredV1Classes[*simpleAccountClassHash]) require.Empty(t, stateDiff.ReplacedClasses)