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

Fix: Fix workflow to run all interchaintest tests as expected #174

Merged
merged 4 commits into from
Mar 23, 2024

Conversation

tuantran1702
Copy link
Collaborator

@tuantran1702 tuantran1702 commented Mar 22, 2024

Fixes: #175

Changes

  • Fix running wrong test in Makefile:

Currently make ictest-feeabs and make ictest-ibc are running the same TestFeeabsGaiaIBCTransfer, and the TestFeeAbs in feeabs_test.go is ignored because it doesn't start with TestFeeabs, which cause misleading tests success.
Now run the TestFeeAbs by exact match to save time, not sure if make ictest-feeabs is intended to run both the TestFeeabsGaiaIBCTransfer and the TestFeeAbs.

  • Fix using correct code id when instantiate contract instead of bytecode path.

After running the TestFeeAbs, an error occur related to contract instantiation. Fixed by using correct code id when instantiate contract.

@tuantran1702 tuantran1702 marked this pull request as ready for review March 22, 2024 07:46
@tuantran1702 tuantran1702 marked this pull request as draft March 22, 2024 10:30
@nghuyenthevinh2000
Copy link
Member

nghuyenthevinh2000 commented Mar 22, 2024

I also detect missing checks for feeabs in TestQueryOsmosisTwap, result from querying feeabs is not checked: https://github.com/osmosis-labs/fee-abstraction/blob/main/tests/interchaintest/query_osmosis_twap_test.go#L115

probably due to this one #125

Screenshot 2024-03-23 at 01 05 19

@nghuyenthevinh2000
Copy link
Member

This is the error when executing feeabs wasm msg

Screenshot 2024-03-23 at 02 27 10

@tuantran1702
Copy link
Collaborator Author

tuantran1702 commented Mar 23, 2024

This is the error when executing feeabs wasm msg

Screenshot 2024-03-23 at 02 27 10

I think the channel id should be registered in the registry contract first.

@tuantran1702 tuantran1702 changed the title Fix interchaintest issue Fix: Fix workflow to run all tests as expected Mar 23, 2024
@tuantran1702 tuantran1702 changed the title Fix: Fix workflow to run all tests as expected Fix: Fix workflow to run all interchaintest tests as expected Mar 23, 2024
@tuantran1702 tuantran1702 marked this pull request as ready for review March 23, 2024 02:36
@nghuyenthevinh2000
Copy link
Member

This is the error when executing feeabs wasm msg
Screenshot 2024-03-23 at 02 27 10

I think the channel id should be registered in the registry contract first.

it is gas problem, I have fixed that one

@nghuyenthevinh2000 nghuyenthevinh2000 merged commit 0db361e into main Mar 23, 2024
13 checks passed
tnv1 pushed a commit that referenced this pull request Mar 27, 2024
* fix running wrong test in Makefile, also catching bug when upload contract

* add missing field in init message of xcsV2

* fix interchaintest

* fix interchaintest ictest-ibc

---------

Co-authored-by: nghuyenthevinh2000 <[email protected]>
tnv1 added a commit that referenced this pull request Apr 22, 2024
* Draft upgrate to cosmos-sdk v0.50 and ibc-go v8

* Change dependencies compatible with cosmos-sdk 0.50

* Change Dec to LegacyDec

* Fix some lints

* Fix bugs

* Fix test and lint

* Fix: Fix workflow to run all interchaintest tests as expected (#174)

* fix running wrong test in Makefile, also catching bug when upload contract

* add missing field in init message of xcsV2

* fix interchaintest

* fix interchaintest ictest-ibc

---------

Co-authored-by: nghuyenthevinh2000 <[email protected]>

* Fix conflicts

* Go mod tidy

* Make lint

* Update interchaintest

* Fix linys

* Fix dockerfile

* Fix bech32 addr prefix

* Fix interchaintest

* Fix missing light clients

* Fix lint

---------

Co-authored-by: Tuan Tran <[email protected]>
Co-authored-by: nghuyenthevinh2000 <[email protected]>
@tuantran1702 tuantran1702 deleted the tuan/fix-ictest-feeabs branch May 22, 2024 08:51
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.

Tracking issues for feeabs v7(sdk47)
2 participants