Closes #652 - #798
Conversation
|
@mansur-codes Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
…nt, batch_transfer
|
This test (test_e2e_role_based_token_lifecycle in contracts/token/tests/roles_e2e.rs) left: Err(Ok(Error(Context, InvalidAction))) The test passes 10/10 times locally on Windows (rustc 1.96.0) but fails Things already tried that did not fix it:
The error suggests the Soroban host is returning a Context-level error |
|
@mansur-codes please resolve conflicts |
|
@mansur-codes please resolve conflicts |
|
I'm on it, i will resolve it |
What does this PR do?
Adds a persistent storage mapping from a contract
Addressto its targeted WASM upgrade hash (BytesN<32>) as part of the Multi-Sig Gated WASM Upgrades epic. IntroducesContractUpgradeTarget(Address)as a newAdminKeyvariant, withset_upgrade_target(gated byrequire_super_admin) andget_upgrade_targetfunctions, plus 5 unit tests covering happy paths and error states.Type of change
Checklist
pre-commit run --all-fileslocally and it passedBreaking changes?
No.
ContractUpgradeTarget(Address)is appended as the last variant ofAdminKeyto preserve ABI and storage discriminant stability.Related issues
Closes #652