Skip to content
This repository has been archived by the owner on Aug 31, 2024. It is now read-only.

Commit

Permalink
nonce
Browse files Browse the repository at this point in the history
  • Loading branch information
Lawliet-Chan committed Jan 21, 2024
1 parent 1be3bb9 commit 70fcc0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cairoVM/declare.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ func SetGenesis(state *core.State, dir string) error {
NewRoot: &felt.Zero,
OldRoot: &felt.Zero,
StateDiff: &core.StateDiff{
Nonces: map[felt.Felt]*felt.Felt{felt.Zero: &felt.Zero},
DeployedContracts: deployedContracts,
DeclaredV1Classes: declaredV1Classes,
},
Expand Down

0 comments on commit 70fcc0c

Please sign in to comment.