You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#[should_panic]// FIXME: this is not supposed to panic; it does due to auth failure, dmkoz to fix.
in #1057 a few calls to switch_to_recording_auth were given true arguments to adapt to changes upstream in env, and this caused a test to break. @dmkozh requested the test be disabled so that he could refactor it to accommodate. this bug is just a reminder about doing so.
The text was updated successfully, but these errors were encountered:
### 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
Co-authored-by: Siddharth Suresh <siddharth@stellar.org>
rs-soroban-sdk/soroban-sdk/src/tests/token_client.rs
Line 45 in 9506a86
in #1057 a few calls to
switch_to_recording_auth
were giventrue
arguments to adapt to changes upstream in env, and this caused a test to break. @dmkozh requested the test be disabled so that he could refactor it to accommodate. this bug is just a reminder about doing so.The text was updated successfully, but these errors were encountered: