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

Reject orders with unknown preimages #2360

Merged
merged 5 commits into from
Feb 6, 2024
Merged

Conversation

fleupold
Copy link
Contributor

@fleupold fleupold commented Feb 5, 2024

Description

Now that we have identified the remainder of legit use cases which don't provide us a valid pre image for their app data (we will assume an empty app data for those), we can now start rejecting any new integrations/orders that are trying to place orders with dummy or unknown appData. This is important in order to have a reasonable assurance that we are aware in case a user places an order with important metadata (e.g. pre/post interactions) and can't later on be surprised by claims that we ignored part of the intent.

Changes

  • Return an error if app data pre-image is unknown

How to test

Adjusted the existing e2e test

Related Issues

I could swear there was a cleanup issue somewhere but I cannot find it

@fleupold fleupold requested a review from a team as a code owner February 5, 2024 10:00
@fleupold fleupold force-pushed the forbig_unknown_preimages branch from 37412e5 to 119a909 Compare February 6, 2024 07:50
@fleupold fleupold enabled auto-merge (squash) February 6, 2024 09:35
@fleupold fleupold merged commit e49b325 into main Feb 6, 2024
9 checks passed
@fleupold fleupold deleted the forbig_unknown_preimages branch February 6, 2024 09:40
@github-actions github-actions bot locked and limited conversation to collaborators Feb 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants