What version are you using?
25.3.0
What did you do?
Created a contract that used require_auth in the constructor, and tested it using the WASM and the Rust crate.
What did you expect to see?
Both tests record the require_auth performed in the constructor.
What did you see instead?
Only the Rust crate successfully recorded the require_auth in the constructor.
Note - the auth is correctly verified on-chain. This bug only impacts the testutils env.auths() function recommended by the SDK to help test authorizations requested by the contract.
What version are you using?
25.3.0
What did you do?
Created a contract that used
require_authin the constructor, and tested it using the WASM and the Rust crate.What did you expect to see?
Both tests record the
require_authperformed in the constructor.What did you see instead?
Only the Rust crate successfully recorded the
require_authin the constructor.Note - the auth is correctly verified on-chain. This bug only impacts the testutils
env.auths()function recommended by the SDK to help test authorizations requested by the contract.