Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rianhughes committed Jan 15, 2025
1 parent fbae35c commit aad7fc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions genesis/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
)

// The constructor entrypoint for cairo contracts
const CONSTRUCTOR_SELECTOR = "0x28ffe4ff0f226a9107253e17a904099aa4f63a02a5621de0576e5aa71bc5194"
const constructorSelector = "0x28ffe4ff0f226a9107253e17a904099aa4f63a02a5621de0576e5aa71bc5194"

type GenesisConfig struct {
Classes []string `json:"classes"` // []path-to-class.json
Expand Down Expand Up @@ -125,7 +125,7 @@ func GenesisStateDiff( //nolint:funlen,gocyclo
}
}

constructorSelector, err := new(felt.Felt).SetString(CONSTRUCTOR_SELECTOR)
constructorSelector, err := new(felt.Felt).SetString(constructorSelector)
if err != nil {
return nil, nil, fmt.Errorf("convert string to felt: %v", err)
}

Check warning on line 131 in genesis/genesis.go

View check run for this annotation

Codecov / codecov/patch

genesis/genesis.go#L130-L131

Added lines #L130 - L131 were not covered by tests
Expand Down

0 comments on commit aad7fc7

Please sign in to comment.