-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PLA-2036] Change force_single_mint to force_collapsing_supply. #266
Conversation
…d helper to read new Substrate keys from nested arrays with dot notation.
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
PR Type
Enhancement, Bug fix
Description
force_single_mint
toforce_collapsing_supply
across multiple files to reflect updated business logic.arrHasSubstrateKey
andarrGetSubstrateKey
for handling array keys with dot notation.phpunit.xml
for testing purposes.Changes walkthrough 📝
Token.php
Rename and update logic for token supply constraint
src/Models/Laravel/Token.php
force_single_mint
toforce_collapsing_supply
.Event.php
Use custom helper functions for array key access
src/Services/Processor/Substrate/Codec/Polkadart/Events/Event.php
Arr::get
witharrGetSubstrateKey
.Arr::has
witharrHasSubstrateKey
.CollectionCreated.php
Update collection creation logic for new supply rule
src/Services/Processor/Substrate/Events/Implementations/MultiTokens/CollectionCreated.php
force_single_mint
toforce_collapsing_supply
.Parser.php
Modify parsing logic for collection supply rules
src/Services/Processor/Substrate/Parser.php
force_single_mint
toforce_collapsing_supply
.helpers.php
Add helper functions for array key operations
src/Support/helpers.php
arrHasSubstrateKey
function.arrGetSubstrateKey
function.CreateCollectionTest.php
Update test for force collapsing supply validation
tests/Feature/GraphQL/Mutations/CreateCollectionTest.php
phpunit.xml
Update environment configuration for tests
phpunit.xml
NETWORK
environment variable tolocal-matrixchain
.