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

test/e2e: mainnet phases test #4013

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

test/e2e: mainnet phases test #4013

wants to merge 1 commit into from

Conversation

tzemanovic
Copy link
Member

Describe your changes

Checklist before merging

  • If this PR has some consensus breaking changes, I added the corresponding breaking:: labels
    • This will require 2 reviewers to approve the changes
  • If this PR requires changes to the docs or specs, a corresponding PR is opened in the namada-docs repo
    • Relevant PR if applies:
  • If this PR affects services such as namada-indexer or namada-masp-indexer, a corresponding PR is opened in that repo
    • Relevant PR if applies:

@brentstone brentstone self-requested a review November 11, 2024 16:35
Copy link

codecov bot commented Nov 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.58%. Comparing base (cc531ec) to head (90a6493).
Report is 16 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4013      +/-   ##
==========================================
- Coverage   74.58%   74.58%   -0.01%     
==========================================
  Files         341      341              
  Lines      107484   107484              
==========================================
- Hits        80167    80165       -2     
- Misses      27317    27319       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tzemanovic tzemanovic force-pushed the tomas/phases-test branch 2 times, most recently from 3498de7 to 9d3c8a8 Compare November 13, 2024 12:06
@tzemanovic tzemanovic marked this pull request as ready for review November 13, 2024 12:13
@tzemanovic tzemanovic force-pushed the tomas/phases-test branch 3 times, most recently from b15ebf7 to 247f575 Compare November 14, 2024 10:55
Comment on lines 2996 to 3162
// IBC transfers shouldn't be allowed before phase 3
ibc_tests::transfer_from_gaia(
&test_gaia,
GAIA_USER,
&namada_receiver,
GAIA_COIN,
1,
&port_id_gaia,
&channel_id_gaia,
None,
None,
)?;
Copy link
Collaborator

Choose a reason for hiding this comment

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

does this function ensure that the transfer fails?

Copy link
Member Author

Choose a reason for hiding this comment

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

this fn doesn't fail - it gets submitted to the relayer where it hangs before timing out (or if the next phase begins first, it goes through). The balance check below that ensures that the transfer doesn't get completed before the next phase is activated

@brentstone
Copy link
Collaborator

In general, I think we should be testing lots of actions in each phase to make sure what does and doesn't work as intended. For example, I wrote on the Namada forum some recommendations for users to test during Phase 3 and 4 of the dry-run:

@brentstone
Copy link
Collaborator

Hey @tzemanovic, what's the status here of this?

@tzemanovic
Copy link
Member Author

Hey @tzemanovic, what's the status here of this?

I'm still trying to iron out some flakiness - sometimes it passes but sometimes there are pending packets left in hermes for a long time and it times out

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

Successfully merging this pull request may close these issues.

2 participants