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

chore: Update Rollapp-evm image #544

Merged
merged 4 commits into from
Dec 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
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-arm", types.ImagePullOptions{})
out, err := client.ImagePull(ctx, "ghcr.io/decentrio/dymint:srene-hardfork-fix", 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-arm", // Image to run
Tty: true, // Attach to a TTY
Image: "ghcr.io/decentrio/dymint:srene-hardfork-fix", // Image to run
Tty: true, // Attach to a TTY
},
hostConfig, networkConfig, nil, "grpc-da-container",
)
Expand Down
31 changes: 0 additions & 31 deletions tests/sequencer_rotation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4731,37 +4731,6 @@ func Test_SeqRotation_MulSeq_DA_EVM(t *testing.T) {
rollappIBCDenom = transfertypes.ParseDenomTrace(rollappTokenDenom).IBCDenom()

testutil.AssertBalance(t, ctx, dymension, dymensionUserAddr, rollappIBCDenom, (transferAmount.Sub(bridgingFee)).MulRaw(2))

// Get original account balances
dymensionOrigBal, err = dymension.GetBalance(ctx, dymensionUserAddr, dymension.Config().Denom)
require.NoError(t, err)

// Compose an IBC transfer and send from dymension -> rollapp
transferData = ibc.WalletData{
Address: rollappUserAddr,
Denom: dymension.Config().Denom,
Amount: transferAmount,
}

// Compose an IBC transfer and send from Hub -> rollapp
_, err = dymension.SendIBCTransfer(ctx, channel.ChannelID, dymensionUserAddr, transferData, ibc.TransferOptions{})
require.NoError(t, err)

// Assert balance was updated on the hub
testutil.AssertBalance(t, ctx, dymension, dymensionUserAddr, dymension.Config().Denom, dymensionOrigBal.Sub(transferData.Amount))

err = testutil.WaitForBlocks(ctx, 20, dymension, rollapp1)
require.NoError(t, err)

// Get the IBC denom
dymensionTokenDenom = transfertypes.GetPrefixedDenom(channel.Counterparty.PortID, channel.Counterparty.ChannelID, dymension.Config().Denom)
dymensionIBCDenom = transfertypes.ParseDenomTrace(dymensionTokenDenom).IBCDenom()

testutil.AssertBalance(t, ctx, dymension, dymensionUserAddr, dymension.Config().Denom, dymensionOrigBal.Sub(transferData.Amount))
erc20MAcc, err = rollapp1.Validators[0].QueryModuleAccount(ctx, "erc20")
require.NoError(t, err)
erc20MAccAddr = erc20MAcc.Account.BaseAccount.Address
testutil.AssertBalance(t, ctx, rollapp1, erc20MAccAddr, dymensionIBCDenom, transferData.Amount.MulRaw(2))
}
func Test_SeqRotation_MulSeq_DA_Wasm(t *testing.T) {
if testing.Short() {
Expand Down
13 changes: 3 additions & 10 deletions tests/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,13 @@ var (

dymensionImage = ibc.DockerImage{
Repository: DymensionMainRepo,
Version: "latest",
Version: dymensionVersion,
UidGid: "1025:1025",
}

rollappEVMImage = ibc.DockerImage{
Repository: "ghcr.io/decentrio/rollapp-evm",
Version: "debug-m",
Repository: RollappEVMMainRepo,
Version: rollappEVMVersion,
UidGid: "1025:1025",
}

Expand Down Expand Up @@ -212,10 +212,6 @@ var (
Key: "app_state.feemarket.params.min_gas_price",
Value: "0.0",
},
{
Key: "app_state.claims.params.claims_denom",
Value: "urax",
},
{
Key: "app_state.mint.params.mint_denom",
Value: "urax",
Expand Down Expand Up @@ -301,9 +297,6 @@ var (
// Value: "0.0",
// },
// {
// Key: "app_state.claims.params.claims_denom",
// Value: "urax",
// },
{
Key: "app_state.mint.params.mint_denom",
Value: "urax",
Expand Down