Skip to content

Commit

Permalink
[E2E Test] Hard fork due to DRS deprecation (#513)
Browse files Browse the repository at this point in the history
Co-authored-by: anhductn2001 <[email protected]>
  • Loading branch information
hungdinh82 and anhductn2001 authored Nov 27, 2024
1 parent d133a8a commit e6e0f1d
Show file tree
Hide file tree
Showing 3 changed files with 375 additions and 4 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ e2e-test-rollapp-hardfork-evm: clean-e2e
e2e-test-rollapp-hardfork-recover-ibc-client-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestHardForkRecoverIbcClient_EVM .

e2e-test-rollapp-hardforkduetodrs-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestHardForkDueToDrs_EVM .

e2e-test-rollapp-hardforkduetofraud-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestHardForkDueToFraud_EVM .

Expand Down
8 changes: 4 additions & 4 deletions tests/fullnode_sync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import (
// StartDA start grpc DALC server
func StartDA(ctx context.Context, t *testing.T, client *client.Client, net string) {
fmt.Println("Starting pull image ...")
out, err := client.ImagePull(ctx, "ghcr.io/decentrio/dymint:srene-hardfork-fix", types.ImagePullOptions{})
out, err := client.ImagePull(ctx, "ghcr.io/decentrio/dymint:srene-hardfork-fix-arm", types.ImagePullOptions{})
require.NoError(t, err)
defer out.Close()

Expand All @@ -57,14 +57,14 @@ func StartDA(ctx context.Context, t *testing.T, client *client.Client, net strin
DNS: []string{},
ExtraHosts: []string{"host.docker.internal:host-gateway"},
}
time.Sleep(2 * time.Minute)
// time.Sleep(2 * time.Minute)
// Create the container
fmt.Println("Creating container ...")
resp, err := client.ContainerCreate(
ctx,
&container.Config{
Image: "ghcr.io/decentrio/dymint:srene-hardfork-fix", // Image to run
Tty: true, // Attach to a TTY
Image: "ghcr.io/decentrio/dymint:srene-hardfork-fix-arm", // Image to run
Tty: true, // Attach to a TTY
},
hostConfig, networkConfig, nil, "grpc-da-container",
)
Expand Down
Loading

0 comments on commit e6e0f1d

Please sign in to comment.