-
Notifications
You must be signed in to change notification settings - Fork 138
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
Add Ethermint chain support to v7 / v6 #835
Comments
@ItayLevyOfficial The Docker Image Repository should be the full link to the docker image ex: ghcr.io/Org/Image where ghcr is for github or you can use docker hub also a Version: element is require in the DockerImage struct |
Hey! Thanks for reaching back to me. I don't think this is the problem, as I am pointing to a local docker image and it is being fetched successfully. The problem happens when the test try to start the container chain, which throws the error I writed above: |
Are you familiar with this error by any chance? |
@ItayLevyOfficial Gotcha, and yes - could you make it (make sure version is if this does not fix it, please send me your entire log via a pastebin (or gist) and I will dive in further |
Hey! I've made the changes, but the error persists. I believe I've pinpointed the issue. Our chain, "Dymension," uses 18 token decimals, while the default in Cosmos is 6. We adopted 18 decimals for compatibility with Ethereum. The validator delegation specified by interchaintest in the genesis configuration is 5000000000000, likely assuming 6 decimals. This amount is beneath the hardcoded minimum delegation in our chain's code. Do you know if there's a straightforward way to adjust the chain's decimal settings? |
Apparently there is a |
@ItayLevyOfficial I just checked and interchaintest does not yet have ethermint support. This should become easier to add after the Avalance support PR is added. But for now due to the use of hex addresses, I am unsure if interchaintest can handle this properly. |
Ye, also, the genesis amounts are limited to fewer than 10 tokens when you use 18 decimals due to this line. Is there an open issue on this? We want to utilize your framework for our chain to test our IBC connection with Dymension rollapps |
I started utilizing the sdk's |
Completed. Ethermint support is added in the main branch |
Hey, thanks for the update. When trying to upgrade the dependency and run my test I get
Are you familiar with with this error? @Reecepbcups |
@ItayLevyOfficial Were you using the v7 branch before? Can you share me a gist / pastebin of your code? I did not run into this issue in my test on build |
Nop, v8. I just copied the |
I looked a bit more into this – you have |
@ItayLevyOfficial can you confirm if the latest ictest main commit solves this for you? (sdk v0.50.1, seems the have had many issues tagging upstream) if not, replacing the cosmossdk.io/core => v0.11.0 in your go.mod should resolve it |
Confirmed. Thanks a lot buddy! |
Now I am getting this error
When trying
Do you have any idea why this may happen? |
@ItayLevyOfficial You need to register the ethermint Interface type(s) for your test since Ethermint is it's own Module. ibc.ChainConfig example: https://github.com/CosmosContracts/juno/blob/main/interchaintest/setup.go#L81-L110 |
Tried to run
Do you know how it can be solved? I think this is because evmos is using a different cosmos-sdk version |
@ItayLevyOfficial likely due to changes in v8 vs v7. I need to see if we can backport math.Int to v7 branch since ethermint is not using that hmm |
Cool ping me when there's an update on this |
Can you re-open this issue pls? |
Ahh, looks like Ethermint on SDK v46 is causing some problems in relation to all imports. The So it looks like this has to be ported to the |
@ItayLevyOfficial I have the interchaintest case passing now for Ethermint Currently I use a slightly modified relayer (to register the extra ethermint codec for accounts) but that is it (works in the native relayer, just some interchaintest things) |
@ItayLevyOfficial This is completed and a PR has been made to your branch at dymensionxyz/dymension_interchaintest#1 |
Thanks a lot man! |
I am trying to utilize the tests with my cosmos-sdk chain, but it can't start it. It fails with
What may it be? My current chain config is
Dymension fails, osmosis works.
The text was updated successfully, but these errors were encountered: