Skip to content

Commit

Permalink
revert: removes gpc options check (#282)
Browse files Browse the repository at this point in the history
removes gpc options check
  • Loading branch information
narbs91 authored Aug 7, 2024
1 parent a418576 commit 09c5518
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 32 deletions.
1 change: 0 additions & 1 deletion cmd/lilypad/jobcreator.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ func newJobCreatorCmd() *cobra.Command {
Long: "Start the lilypad job creator service.",
Example: "",
RunE: func(cmd *cobra.Command, args []string) error {
optionsfactory.CheckDeprecation(options.Offer.Services, options.Web3)

network, _ := cmd.Flags().GetString("network")
options, err := optionsfactory.ProcessOnChainJobCreatorOptions(options, args, network)
Expand Down
1 change: 0 additions & 1 deletion cmd/lilypad/mediator.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ func newMediatorCmd() *cobra.Command {
Long: "Start the lilypad mediator service.",
Example: "",
RunE: func(cmd *cobra.Command, _ []string) error {
optionsfactory.CheckDeprecation(options.Services, options.Web3)

network, _ := cmd.Flags().GetString("network")
options, err := optionsfactory.ProcessMediatorOptions(options, network)
Expand Down
1 change: 0 additions & 1 deletion cmd/lilypad/resource-provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ func newResourceProviderCmd() *cobra.Command {
Long: "Start the lilypad resource-provider service.",
Example: "",
RunE: func(cmd *cobra.Command, _ []string) error {
optionsfactory.CheckDeprecation(options.Offers.Services, options.Web3)

network, _ := cmd.Flags().GetString("network")
options, err := optionsfactory.ProcessResourceProviderOptions(options, network)
Expand Down
1 change: 0 additions & 1 deletion cmd/lilypad/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ func newRunCmd() *cobra.Command {
Long: "Run a job on the Lilypad network.",
Example: "run cowsay:v0.0.1 -i Message=moo",
RunE: func(cmd *cobra.Command, args []string) error {
optionsfactory.CheckDeprecation(options.Offer.Services, options.Web3)

network, _ := cmd.Flags().GetString("network")
options, err := optionsfactory.ProcessJobCreatorOptions(options, args, network)
Expand Down
2 changes: 0 additions & 2 deletions cmd/lilypad/solver.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package lilypad

import (
"github.com/lilypad-tech/lilypad/pkg/data"
optionsfactory "github.com/lilypad-tech/lilypad/pkg/options"
"github.com/lilypad-tech/lilypad/pkg/solver"
memorystore "github.com/lilypad-tech/lilypad/pkg/solver/store/memory"
Expand All @@ -19,7 +18,6 @@ func newSolverCmd() *cobra.Command {
Long: "Start the lilypad solver service.",
Example: "",
RunE: func(cmd *cobra.Command, _ []string) error {
optionsfactory.CheckDeprecation(data.ServiceConfig{}, options.Web3)

network, _ := cmd.Flags().GetString("network")
options, err := optionsfactory.ProcessSolverOptions(options, network)
Expand Down
26 changes: 0 additions & 26 deletions pkg/options/deprecation.go

This file was deleted.

0 comments on commit 09c5518

Please sign in to comment.