fixes issue 276#388
Conversation
|
@razeprasine 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! 🚀 |
|
Hi @razeprasine, CI is failing on all three of your PRs because of a missing closing brace The if bits > 0 {
let index = ((buffer << (5 - bits)) & 0x1f) as usize;
encoded.push(ALPHABET[index] as char);
}
encoded
} // <-- this closing brace is missing
/// Computes the expected buy price...
pub fn compute_expected_buy_price(...Add that Also note: the PR body has been updated to include |
Summary
Added deterministic test wallet address helpers scoped to the integration test helper module.
Updated an existing supply invariant test to use the new helper for multiple buyer addresses.
Added tests covering stable same-input address generation and distinct addresses for different inputs.
Testing
cargo fmt --all -- --checkcargo clippy --workspace --all-targets -- -D warningscargo test --workspaceCloses #276
Checklist
creator-keysunit/integration tests for every changed contract behaviorcargo fmt --all -- --check,cargo clippy --workspace --all-targets -- -D warnings, andcargo test --workspacedocs/storage-key-invariants.mddocs/contract-event-conventions.md