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

✨ Error if duplicate swap venue names provided at instantiation #14

Merged
merged 2 commits into from
Jul 9, 2023

Conversation

NotJeremyLiu
Copy link
Member

Closes #10

This PR adds a check in entry point contract instantiation that will error if a duplicate swap venue name is provided to prevent accidental overrides.

@NotJeremyLiu NotJeremyLiu changed the title 🥅 Error if duplicate swap venue names provided at instantiation ✨ Error if duplicate swap venue names provided at instantiation Jul 6, 2023
@jaybxyz
Copy link

jaybxyz commented Jul 8, 2023

LGTM

@sushiwushi
Copy link

LGTM!

@NotJeremyLiu NotJeremyLiu merged commit 2838d0b into main Jul 9, 2023
3 checks passed
@NotJeremyLiu NotJeremyLiu deleted the jl/check-duplicate-swap-venues branch July 9, 2023 20:46
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.

Oak Security Audit - Finding 8
3 participants