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

Teleporter test cases 2 #105

Merged
merged 8 commits into from
Nov 7, 2023
Merged

Teleporter test cases 2 #105

merged 8 commits into from
Nov 7, 2023

Conversation

cam-schultz
Copy link
Contributor

Why this should be merged

Implements the following test cases from #94

  • Try receiving the same message multiple times, ensure only the first one succeeds.
  • Try delivering a message from a relayer that isn't allowed, ensure it doesn't work.
  • Try re-executing a message that has previously succeeded, ensure it doesn't work.

How this works

See above

How this was tested

New E2E test cases

How is this documented

N/A

tests/receive_message_twice.go Show resolved Hide resolved
fundedKey,
teleporterContractAddress,
)
utils.SendTransactionAndWaitForAcceptance(ctx, subnetBInfo.ChainWSClient, subnetBInfo.ChainRPCClient, signedTx, false)
Copy link
Contributor

Choose a reason for hiding this comment

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

same here. Do we want to use the abi bindings to call RetryMessageExecution directly?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed

Base automatically changed from teleporter-test-cases to general-e2e November 7, 2023 21:39
@cam-schultz cam-schultz merged commit 026223d into general-e2e Nov 7, 2023
10 checks passed
@cam-schultz cam-schultz deleted the teleporter-test-cases-2 branch November 7, 2023 21:41
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