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

2 party POL Astroport Single domain (Neutron) e2e test with manager #64

Merged
merged 8 commits into from
Oct 17, 2024

Conversation

keyleu
Copy link
Contributor

@keyleu keyleu commented Oct 14, 2024

Adds the e2e test for the 2 party POL single domain using the manager.

Some services were using ActionsMsgs and others ActionMsgs, so changed them all to be the same (ActionMsgs).
Also added test to CI.

assert!(tokenfactory_token_balance.len() == 1);
assert!(neutron_balance.len() == 1);
assert!(tokenfactory_token_balance[0].denom == token);
assert!(neutron_balance[0].denom == *NTRN_DENOM);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why not verify the balance amounts ?

Copy link
Contributor Author

@keyleu keyleu Oct 17, 2024

Choose a reason for hiding this comment

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

because I don't know them basically, they've gone through the pool, including a swap, with some small slippage for both the liquidity providing and the internal swap and they are not exactly the same as the input amounts. I'm just checking that flow is correctly executed and that the tokens arrived at the destination (not how astroport works)

@stiiifff
Copy link
Collaborator

It's really amazing to see all the Valence components coming together in this e2e test ! 🥳🚀

@keyleu keyleu merged commit c674643 into main Oct 17, 2024
5 checks passed
@keyleu keyleu deleted the keyne/astroport-e2e-test branch October 17, 2024 18:49
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