Skip to content

Commit

Permalink
??
Browse files Browse the repository at this point in the history
  • Loading branch information
rian committed Jun 5, 2024
1 parent 1633071 commit 856a438
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion genesis/genesis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 856a438

Please sign in to comment.