Skip to content

Feat/require minter - #554

Merged
p3ris0n merged 27 commits into
BCPathway:mainfrom
barry01-hash:feat/require-minter
Jul 27, 2026
Merged

Feat/require minter#554
p3ris0n merged 27 commits into
BCPathway:mainfrom
barry01-hash:feat/require-minter

Conversation

@barry01-hash

Copy link
Copy Markdown
Contributor

Closes #451

What does this PR do?

Type of change

  • Bug fix
  • Feature
  • Refactor
  • Docs
  • CI
  • Chore

Checklist

  • I ran pre-commit run --all-files locally and it passed
  • All CI jobs pass on this branch
  • I added or updated tests for new behaviour
  • I updated relevant docs / comments
  • No secrets or credentials are included
  • No breaking changes to public APIs (or I've documented them)

Breaking changes?

Related issues

Closes #

@barry01-hash

Copy link
Copy Markdown
Contributor Author

Please merge

@drips-wave

drips-wave Bot commented Jul 25, 2026

Copy link
Copy Markdown

@barry01-hash 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! 🚀

Learn more about application limits

p3ris0n and others added 6 commits July 25, 2026 02:12
# Conflicts:
#	SECURITY.md
#	contracts/admin/src/lib.rs
#	contracts/token/src/lib.rs
#	contracts/token/src/test.rs
#	contracts/token/test_snapshots/test/test_approve_and_transfer_from.1.json
#	contracts/token/test_snapshots/test/test_initialize_emits_correct_event.1.json
#	indexer/src/indexer.ts
#	sdk/README.md
#	sdk/package.json
#	sdk/src/client.ts
#	sdk/tsconfig.json
- Fix indentation of read_supply and admin functions in lib.rs
- Fix extra brace and source optionality in SDK mint method
- Fix batchMint recipient key from 'address' to 'to' matching upstream struct
- Update test to expect 'to' key
- Remove allow(clippy::manual_assert) from both contracts
- Fix indentation of Ok(()) in internal_mint
- Fix blank line before #[contractimpl]
- Fix indentation of transfer_ownership and allowance_data
- Fix blank line between transfer_ownership and pause
- proptest.rs: fix 'static lifetime compilation error, fix mint calls
  to use admin as minter (role-based access), fix assertion bug in
  test_core_invariants tracking balance_a instead of hardcoded values
- test.rs: remove Vec type annotation (pre-existing compile error)
- vesting/lib.rs: update mint call to pass minter as first arg
  (3-param signature)
- client.balance.test.ts: fix test expectations to match getBalance
  returning bigint and calling queryContract once
- Regenerate test snapshots to match new behavior
@p3ris0n
p3ris0n merged commit 453304a into BCPathway:main Jul 27, 2026
1 of 3 checks passed
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.

[Guards] Implement require_minter logic

2 participants