From aad7fc720b4f20866f9f56cb39b5cf46fa95e58a Mon Sep 17 00:00:00 2001 From: rian Date: Wed, 15 Jan 2025 12:20:16 +0200 Subject: [PATCH] lint --- genesis/genesis.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/genesis/genesis.go b/genesis/genesis.go index 2f535fca2..4fd9bb678 100644 --- a/genesis/genesis.go +++ b/genesis/genesis.go @@ -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 @@ -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) }