Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/v7' into faddat/resolve-v7-dep…
Browse files Browse the repository at this point in the history
…endency-issues
  • Loading branch information
faddat committed Apr 10, 2024
2 parents cebf43e + 537f056 commit 59550df
Show file tree
Hide file tree
Showing 15 changed files with 644 additions and 9 deletions.
7 changes: 5 additions & 2 deletions chain/cosmos/chain_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -747,8 +747,11 @@ func (tn *ChainNode) Gentx(ctx context.Context, name string, genesisSelfDelegati
}

command = append(command, "gentx", valKey, fmt.Sprintf("%s%s", genesisSelfDelegation.Amount.String(), genesisSelfDelegation.Denom),
"--gas-prices", tn.Chain.Config().GasPrices,
"--gas-adjustment", fmt.Sprint(tn.Chain.Config().GasAdjustment),
"--keyring-backend", keyring.BackendTest,
"--chain-id", tn.Chain.Config().ChainID)
"--chain-id", tn.Chain.Config().ChainID,
)

_, _, err := tn.ExecBin(ctx, command...)
return err
Expand Down Expand Up @@ -1376,7 +1379,7 @@ func (tn *ChainNode) CreateNodeContainer(ctx context.Context) error {
fmt.Printf("Port Overrides: %v. Using: %v\n", chainCfg.HostPortOverride, usingPorts)
}

return tn.containerLifecycle.CreateContainer(ctx, tn.TestName, tn.NetworkID, tn.Image, usingPorts, tn.Bind(), tn.HostName(), cmd, chainCfg.Env)
return tn.containerLifecycle.CreateContainer(ctx, tn.TestName, tn.NetworkID, tn.Image, usingPorts, tn.Bind(), nil, tn.HostName(), cmd, chainCfg.Env)
}

func (tn *ChainNode) StartContainer(ctx context.Context) error {
Expand Down
2 changes: 1 addition & 1 deletion chain/cosmos/sidecar.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func (s *SidecarProcess) logger() *zap.Logger {
}

func (s *SidecarProcess) CreateContainer(ctx context.Context) error {
return s.containerLifecycle.CreateContainer(ctx, s.TestName, s.NetworkID, s.Image, s.ports, s.Bind(), s.HostName(), s.startCmd, s.env)
return s.containerLifecycle.CreateContainer(ctx, s.TestName, s.NetworkID, s.Image, s.ports, s.Bind(), nil, s.HostName(), s.startCmd, s.env)
}

func (s *SidecarProcess) StartContainer(ctx context.Context) error {
Expand Down
Loading

0 comments on commit 59550df

Please sign in to comment.