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

Provide a way to allow non-root auth in recording mode. #1059

Merged
merged 3 commits into from
Aug 22, 2023

Conversation

dmkozh
Copy link
Contributor

@dmkozh dmkozh commented Aug 18, 2023

What

Provide a way to allow non-root auth in recording mode.

This is intentionally done via a separate helper with lengthy name and not a mock_all_auths argument - this is intended to be an option for a few 'exotic' contracts that do non-atomic bundling and majority of the users shouldn't ever need that.

Resolves #1058

Why

Recording auth now doesn't allow non-root require_auth by default in order to prevent the potential user footguns. This PR brings back the old behavior where non-root auth is allowed.

Known limitations

N/A

This is intentionally done via a separate helper with lengthy name and not a `mock_all_auths` argument - this is intended to be an option for a few 'exotic' contracts that do non-atomic bundling and majority of the users shouldn't ever need that.
@dmkozh dmkozh enabled auto-merge (squash) August 22, 2023 17:43
@dmkozh dmkozh merged commit d8bd392 into stellar:main Aug 22, 2023
12 checks passed
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.

fix auth test
2 participants