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: add e2e test suite with evm contracts deployments #9

Open
wants to merge 43 commits into
base: main
Choose a base branch
from

Conversation

nadim-az
Copy link
Contributor

@nadim-az nadim-az commented Oct 31, 2024

This PR creates an E2E test suite framework and deploys the following resources/contracts:

  1. Ethereum + Cosmos mock chains (including rpc node, relayers), users
  2. Fast transfer gateway contract in Ethereum
  3. Hyperlane contracts in Ethereum
  4. USDC ERC20 in Ethereum

The corresponding resources for the Cosmos chain and deployment of the solver in a test container to simulate user transfer and add test assertions, will be added in followup PRs

@nadim-az nadim-az requested a review from a team as a code owner October 31, 2024 06:44
@nadim-az nadim-az changed the title feat: add e2e test contract deployments feat: add e2e test for contract deployments Oct 31, 2024
@nadim-az nadim-az changed the title feat: add e2e test for contract deployments feat: add e2e test containing contract deployments Oct 31, 2024
@nadim-az nadim-az requested a review from thal0x October 31, 2024 06:48
@nadim-az
Copy link
Contributor Author

nadim-az commented Oct 31, 2024

run-latest.json
this is saved as an artifact of the e2e ci job, it shows transactions submitted to the chain including the creation of the erc20 and fast transfer gateway contracts

@nadim-az
Copy link
Contributor Author

the reason I had to pull in the FastTransferGateway contract and it dependencies here is because we dont have access to the test deployer private key to use as auth for deploying the contract using the generated go bindings. @thal0x please let me know if you have ideas of a better way to do this

@nadim-az nadim-az changed the title feat: add e2e test containing contract deployments feat: add e2e test suite with evm contracts deployments Dec 18, 2024
{
// TODO: Save this image to skip repository and import it from there instead
Repository: "ghcr.io/cosmos/ibc-go-simd", // FOR LOCAL IMAGE USE: Docker Image Name
Version: "poc-solidity-ibc-eureka", // FOR LOCAL IMAGE USE: Docker Image Tag
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it make sense to use a different docker image here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants