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

Preserve the recording auth settings when temporarily switching to recording auth. #1412

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

dmkozh
Copy link
Contributor

@dmkozh dmkozh commented Dec 12, 2024

What

Preserve the recording auth settings when temporarily switching to recording auth.

Why

Previously this didn't matter as we've only switched for the contract instantiation, but now the contract instantiation may run custom logic due to constructors, so we need to preserve the settings (currently only disallowing non-root auth).

Known limitations

N/A

leighmcculloch
leighmcculloch previously approved these changes Dec 12, 2024
Copy link
Member

@leighmcculloch leighmcculloch left a comment

Choose a reason for hiding this comment

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

I think the auth setting being inherited is a bug, but if it's impractical to fix that bug, then this does make the presence of the bug clearer.

…cording auth.

Previously this didn't matter as we've only switched for the contract instantiation, but now the contract instantiation may run custom logic due to constructors, so we need to preserve the settings (currently only dissallowing non-root auth).
@dmkozh dmkozh force-pushed the recording_auth_fix branch from a31bd5c to 2f0b4ef Compare December 17, 2024 20:18
@dmkozh dmkozh enabled auto-merge December 17, 2024 20:20
@dmkozh dmkozh added this pull request to the merge queue Dec 17, 2024
Merged via the queue into stellar:main with commit 14b2425 Dec 17, 2024
17 checks passed
@dmkozh dmkozh deleted the recording_auth_fix branch December 17, 2024 21:01
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