Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(namada): Support Namada test #1296

Merged
merged 30 commits into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
378e64c
boostrapping Namada
yito88 Sep 10, 2024
aa4935c
WIP: multiple validators
yito88 Sep 10, 2024
665693c
multiple Namada nodes
yito88 Sep 11, 2024
a974452
fix around wallet
yito88 Sep 12, 2024
bc95f2c
IBC transfer
yito88 Sep 13, 2024
c823e8f
test without namada repo and commands
yito88 Sep 16, 2024
8203ec9
delete release file after using
yito88 Sep 16, 2024
14d8887
can run without fullnodes
yito88 Sep 16, 2024
db6f628
WIP: IBC transfer from Namada
yito88 Sep 18, 2024
fb0584f
WIP: genesis established account
yito88 Sep 18, 2024
7d3f747
fix wasm downloading
yito88 Sep 19, 2024
a74ca05
fix token denom for Namada
yito88 Sep 19, 2024
a1e8d52
timeout option
yito88 Sep 19, 2024
7fbaf10
shielding transfer test
yito88 Sep 20, 2024
c122422
unshielding transfer test
yito88 Sep 20, 2024
3bff5b5
add shielded transfer
yito88 Sep 20, 2024
84c3256
generalize variables
yito88 Sep 20, 2024
1cb112a
Namada v0.44.0 and remove workaround
yito88 Oct 1, 2024
f4e6dfb
fix network creation
yito88 Nov 5, 2024
9f69d6e
fix for CI
yito88 Nov 5, 2024
8afbac5
for CI
yito88 Nov 5, 2024
77c0be6
minor fixes for CI
yito88 Nov 6, 2024
ed6979f
fix comments
yito88 Nov 6, 2024
aeb8ff6
fix for CI
yito88 Nov 6, 2024
1d2ebac
update Namada and Hermes in test
yito88 Nov 6, 2024
08dda03
delete old note
yito88 Nov 6, 2024
86c62e8
fix genesis time and toml updating
yito88 Nov 11, 2024
95abd68
use Config.Bin for namada command
yito88 Nov 11, 2024
a1b11a2
fix for lint
yito88 Nov 11, 2024
4a2e62e
Merge branch 'main' into support-namada
yito88 Nov 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading