pokt-network / poktroll

The official Shannon upgrade implementation of the Pocket Network Protocol implemented using Rollkit.dev
MIT License
15 stars 6 forks source link

[E2E] Make relay feature to wait for the ClaimSettled event #615

Closed red-0ne closed 1 week ago

red-0ne commented 1 week ago

Summary

Add AModuleMessageIsSubmittedBy step to the relay.feature that waits for its corresponding ClaimSettled event to be broadcasted before moving to the next test.

Issue

Because relay.feature did not wait for its corresponding ClaimSettled event to be boradcasted, and due to the newly introduced C&P submission timings, the session.feature had it's initial claim count altered by the previous step.

This PR fixes this by adding the appropriate event waiting that makes session.feature start with a clean state.

Type of change

Select one or more:

Testing

Documentation changes (only if making doc changes)

Local Testing (only if making code changes)

PR Testing (only if making code changes)

Sanity Checklist

github-actions[bot] commented 1 week ago

The CI will now also run the e2e tests on devnet, which increases the time it takes to complete all CI checks.

You may need to run make trigger_ci to submit an empty commit that'll trigger the tests.

GCP workloads (requires changing the namespace to 615)) Grafana network dashboard for devnet-issue-{issue-id}