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
If a contract is expected to revert with a message after going through a proxy contract that uses the run_external function, the SDK does not catch the expected substring and instead fails.
Example:
Calling Contract
This contract calls the proxy with the TargetContract abi, triggering the fallback function in the proxy.
If a contract is expected to revert with a message after going through a proxy contract that uses the
run_external
function, the SDK does not catch the expected substring and instead fails.Example:
Calling Contract
This contract calls the proxy with the
TargetContract
abi, triggering the fallback function in the proxy.Proxy Contract
The following is called in the proxy contract:
Target Contract
The following is the target contract:
Rust Tests
If the test is expected to panic with the message "called through proxy", it will fail to catch the correct substring.
The text was updated successfully, but these errors were encountered: