Skip to content

Commit

Permalink
style: after running gofumpt -l -w . command
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomi-3-0 committed Dec 9, 2023
1 parent 480b963 commit 275e7a9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions cli/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ type GenCmdFlags struct {
executionName string
consensusName string
validatorName string
starknetName string //starknet
starknetName string // starknet
checkpointSyncUrl string
feeRecipient string
noMev bool
Expand Down Expand Up @@ -279,7 +279,7 @@ func runGenCmd(out io.Writer, flags *GenCmdFlags, sedgeAction actions.SedgeActio
ExecutionClient: combinedClients.Execution,
ConsensusClient: combinedClients.Consensus,
ValidatorClient: combinedClients.Validator,
StarknetClient: combinedClients.Starknet, //starknet
StarknetClient: combinedClients.Starknet, // starknet
Network: network,
CheckpointSyncUrl: flags.checkpointSyncUrl,
FeeRecipient: flags.feeRecipient,
Expand All @@ -298,7 +298,7 @@ func runGenCmd(out io.Writer, flags *GenCmdFlags, sedgeAction actions.SedgeActio
MevBoostEndpoint: flags.mevBoostUrl,
Services: services,
VLStartGracePeriod: uint(vlStartGracePeriod.Seconds()),
SLStartGracePeriod: uint(slStartGracePeriod.Seconds()), //for starknet
SLStartGracePeriod: uint(slStartGracePeriod.Seconds()), // for starknet
ExecutionApiUrl: flags.executionApiUrl,
ExecutionAuthUrl: flags.executionAuthUrl,
ConsensusApiUrl: flags.consensusApiUrl,
Expand Down
1 change: 0 additions & 1 deletion internal/pkg/generate/generate_scripts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,6 @@ func TestEnvFileAndFlags(t *testing.T) {
}
})
}

}

func TestCleanGeneratedFiles(t *testing.T) {
Expand Down
9 changes: 5 additions & 4 deletions internal/pkg/generate/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ type EnvData struct {
Mev bool
ElImage string
ElDataDir string
L2Image string //for juno
L2DataDir string //for juno
L2Image string // for juno
L2DataDir string // for juno
CcImage string
CcDataDir string
VlImage string
Expand All @@ -53,7 +53,7 @@ type GenData struct {
ExecutionClient *clients.Client
ConsensusClient *clients.Client
ValidatorClient *clients.Client
StarknetClient *clients.Client //starknet
StarknetClient *clients.Client // starknet
Network string
CheckpointSyncUrl string
FeeRecipient string
Expand Down Expand Up @@ -287,8 +287,9 @@ type Services struct {
StarknetBlocker *StarknetBlocker `yaml:"starknet-blocker,omitempty"`
Validator *Validator `yaml:"validator,omitempty"`
ConfigConsensus *ConfigConsensus `yaml:"config_consensus,omitempty"`
Starknet *Starknet `yaml:"starknet,omitempty"` //starknet services
Starknet *Starknet `yaml:"starknet,omitempty"` // starknet services
}

type Sedge struct {
Name string `yaml:"name"`
}
Expand Down

0 comments on commit 275e7a9

Please sign in to comment.