Skip to content

feat(tholos): add admin-gated set_bond_amount with event emission - #143

Closed
ZacLou wants to merge 1 commit into
drydocs:mainfrom
ZacLou:feat/issue-134-set-bond-amount
Closed

feat(tholos): add admin-gated set_bond_amount with event emission#143
ZacLou wants to merge 1 commit into
drydocs:mainfrom
ZacLou:feat/issue-134-set-bond-amount

Conversation

@ZacLou

@ZacLou ZacLou commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Closes #134.

  • Add BondAmountUpdated contract event
  • Add set_bond_amount admin-only entry point
  • Validate new bond against the same bounds as initialize
  • Existing in-flight assertions keep their original bond
  • Add tests for success, auth failure, uninitialized, and bounds

All cargo test -p tholos pass (75 tests).

- Add BondAmountUpdated contract event
- Add set_bond_amount admin-only entry point
- Validate new bond against the same bounds as initialize
- Existing in-flight assertions keep their original bond
- Add tests for success, auth failure, uninitialized, and bounds

Closes drydocs#134
@ZacLou

ZacLou commented Sep 1, 2026

Copy link
Copy Markdown
Contributor Author

Closing this one — it duplicates #142 by @s6pa1rta3n-lab, which was opened ~6 hours earlier against the same issue (#134). No point keeping both open. Sorry for the noise, and good luck with the rest of the set.

@ZacLou ZacLou closed this Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] bond_amount is immutable post-initialize in tholos v1

1 participant