Skip to content

Commit

Permalink
update map[felt] to map[string]
Browse files Browse the repository at this point in the history
  • Loading branch information
rianhughes committed Dec 8, 2023
1 parent a0ee47e commit 80186a3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions blockbuilder/genesis_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
)

type GenesisConfig struct {
ChainID string `json:"chain_id" validate:"required"`
Classes []string `json:"classes"` // []path-to-class.json
Contracts map[felt.Felt]genesisContractData `json:"contracts"`
FunctionCalls []FunctionCall `json:"function_calls"`
ChainID string `json:"chain_id" validate:"required"`
Classes []string `json:"classes"` // []path-to-class.json
Contracts map[string]genesisContractData `json:"contracts"` // map[contract-address]genesisContractData
FunctionCalls []FunctionCall `json:"function_calls"`
}

type genesisContractData struct {
Expand Down

0 comments on commit 80186a3

Please sign in to comment.