Skip to content

Commit

Permalink
fix: dev: change NodeFlag to TendermintNodeFlag
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcello Ardizzone committed Jun 24, 2022
1 parent e9f27d1 commit 4ee2300
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bridge/setu/processor/clerk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ func prepareMockData(b *testing.B) *gomock.Controller {
func prepareClerkProcessor() (*ClerkProcessor, error) {
cdc := app.MakeCodec()

viper.Set(helper.NodeFlag, dummyTenderMintNode)
viper.Set(helper.TendermintNodeFlag, dummyTenderMintNode)
viper.Set("log_level", "debug")

configuration := helper.GetDefaultHeimdallConfig()
Expand All @@ -565,7 +565,7 @@ func prepareClerkProcessor() (*ClerkProcessor, error) {
func prepareRootChainListener() (*listener.RootChainListener, func(), error) {
cdc := app.MakeCodec()

viper.Set(helper.NodeFlag, dummyTenderMintNode)
viper.Set(helper.TendermintNodeURLFlag, dummyTenderMintNode)
viper.Set("log_level", "debug")

configuration := helper.GetDefaultHeimdallConfig()
Expand Down
2 changes: 1 addition & 1 deletion bridge/setu/processor/processor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func TestBroadcastWhenTxInMempool(t *testing.T) {
cdc := app.MakeCodec()

tendermintNode := "http://localhost:26657"
viper.Set(helper.NodeFlag, tendermintNode)
viper.Set(helper.TendermintNodeFlag, tendermintNode)
viper.Set("log_level", "info")

helper.InitHeimdallConfig(os.ExpandEnv("$HOME/.heimdalld"))
Expand Down

0 comments on commit 4ee2300

Please sign in to comment.