Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Signed-off-by: yihuang <huang@crypto.com>
  • Loading branch information
yihuang authored Sep 19, 2022
1 parent 3cb886c commit 87c030e
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions app/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"flag"

"github.com/cosmos/cosmos-sdk/types/simulation"
"github.com/tharsis/ethermint/server/config"
)

// List of available flags for the simulator
Expand Down Expand Up @@ -74,23 +73,3 @@ func NewConfigFromFlags() simulation.Config {
AllInvariants: FlagAllInvariantsValue,
}
}

type StoreConfig struct {
Streamers []string `mapstructure:"streamers"`
}

type StreamersConfig struct {
File FileStreamerConfig `mapstructure:"file"`
}

type FileStreamerConfig struct {
Prefix string `mapstructure:"prefix"`
WriteDir string `mapstructure:"write_dir"`
}

type Config struct {
config.Config

Store StoreConfig `mapstructure:"store"`
Streamers StreamersConfig `mapstructure:"streamers"`
}

0 comments on commit 87c030e

Please sign in to comment.