Skip to content

Commit

Permalink
feat(namada): Support Namada test (#1296)
Browse files Browse the repository at this point in the history
  • Loading branch information
yito88 authored Nov 12, 2024
1 parent dca99ed commit bab7af8
Show file tree
Hide file tree
Showing 28 changed files with 2,198 additions and 24 deletions.
4 changes: 2 additions & 2 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[codespell]
skip = *.pulsar.go,*.pb.go,*.pb.gw.go,*.json,*.git,*.bin,*.sum,*.mod,query_test.go,*.sol
ignore-words-list = usera,pres,crate
quiet-level = 3
ignore-words-list = usera,pres,crate,nam
quiet-level = 3
2 changes: 1 addition & 1 deletion chain/cosmos/chain_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -1188,7 +1188,7 @@ func (tn *ChainNode) CreateNodeContainer(ctx context.Context) error {
tn.log.Info("Port overrides", fields...)
}

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

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(), nil, s.HostName(), s.startCmd, s.env, []string{})
return s.containerLifecycle.CreateContainer(ctx, s.TestName, s.NetworkID, s.Image, s.ports, "", s.Bind(), nil, s.HostName(), s.startCmd, s.env, []string{})
}

func (s *SidecarProcess) StartContainer(ctx context.Context) error {
Expand Down
2 changes: 1 addition & 1 deletion chain/ethereum/ethererum_chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func (c *EthereumChain) Start(ctx context.Context, cmd []string, mount []mount.M
c.log.Info("Port overrides", fields...)
}

err := c.containerLifecycle.CreateContainer(ctx, c.testName, c.networkID, c.cfg.Images[0], usingPorts, c.Bind(), mount, c.HostName(), cmd, nil, []string{})
err := c.containerLifecycle.CreateContainer(ctx, c.testName, c.networkID, c.cfg.Images[0], usingPorts, "", c.Bind(), mount, c.HostName(), cmd, nil, []string{})
if err != nil {
return err
}
Expand Down
2 changes: 1 addition & 1 deletion chain/internal/tendermint/tendermint_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ func (tn *TendermintNode) CreateNodeContainer(ctx context.Context, additionalFla
cmd := []string{chainCfg.Bin, "start", "--home", tn.HomeDir()}
cmd = append(cmd, additionalFlags...)

return tn.containerLifecycle.CreateContainer(ctx, tn.TestName, tn.NetworkID, tn.Image, sentryPorts, tn.Bind(), nil, tn.HostName(), cmd, nil, []string{})
return tn.containerLifecycle.CreateContainer(ctx, tn.TestName, tn.NetworkID, tn.Image, sentryPorts, "", tn.Bind(), nil, tn.HostName(), cmd, nil, []string{})
}

func (tn *TendermintNode) StopContainer(ctx context.Context) error {
Expand Down
Loading

0 comments on commit bab7af8

Please sign in to comment.