Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gartnera committed Oct 30, 2024
1 parent 43b85ec commit 7919732
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cmd/zetae2e/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ func NewInitCmd() *cobra.Command {
}

InitCmd.Flags().StringVar(&initConf.RPCs.EVM, "ethURL", initConf.RPCs.EVM, "--ethURL http://eth:8545")
InitCmd.Flags().StringVar(&initConf.RPCs.ZetaCoreGRPC, "grpcURL", initConf.RPCs.ZetaCoreGRPC, "--grpcURL zetacore0:9090")
InitCmd.Flags().
StringVar(&initConf.RPCs.ZetaCoreGRPC, "grpcURL", initConf.RPCs.ZetaCoreGRPC, "--grpcURL zetacore0:9090")
InitCmd.Flags().
StringVar(&initConf.RPCs.ZetaCoreRPC, "rpcURL", initConf.RPCs.ZetaCoreRPC, "--rpcURL http://zetacore0:26657")
InitCmd.Flags().
StringVar(&initConf.RPCs.Zevm, "zevmURL", initConf.RPCs.Zevm, "--zevmURL http://zetacore0:8545")
InitCmd.Flags().StringVar(&initConf.RPCs.Bitcoin.Host, "btcURL", initConf.RPCs.Bitcoin.Host, "--grpcURL bitcoin:18443")
InitCmd.Flags().
StringVar(&initConf.RPCs.Bitcoin.Host, "btcURL", initConf.RPCs.Bitcoin.Host, "--btcURL bitcoin:18443")
InitCmd.Flags().
StringVar(&initConf.RPCs.Solana, "solanaURL", initConf.RPCs.Solana, "--solanaURL http://solana:8899")
InitCmd.Flags().
Expand Down
1 change: 1 addition & 0 deletions e2e/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ func WriteConfig(file string, config Config) error {
defer fHandle.Close()

encoder := yaml.NewEncoder(fHandle)
defer encoder.Close()
encoder.SetIndent(2)
err = encoder.Encode(config)
if err != nil {
Expand Down

0 comments on commit 7919732

Please sign in to comment.