Fix casting usize to u8 at pallet::error macro (#91) (#95) (#99)#102
Merged
dmitrylavrenov merged 1 commit intolocked/polkadot-v0.9.43from Feb 19, 2024
Merged
Fix casting usize to u8 at pallet::error macro (#91) (#95) (#99)#102dmitrylavrenov merged 1 commit intolocked/polkadot-v0.9.43from
usize to u8 at pallet::error macro (#91) (#95) (#99)#102dmitrylavrenov merged 1 commit intolocked/polkadot-v0.9.43from
Conversation
Closed
2 tasks
dmitrylavrenov
added a commit
that referenced
this pull request
Jun 10, 2024
dmitrylavrenov
added a commit
that referenced
this pull request
Jun 10, 2024
dmitrylavrenov
added a commit
that referenced
this pull request
Feb 7, 2025
…r `pallet-evm-balances` (#102) * Move currencies implementation into separate mod * [substrate=apply] Deprecate Currency; introduce holds and freezing into fungible traits paritytech#12951 * Apply new balances logic to currency trait implementation * Use DustRemoval over Credit instead of NegativeImbalance * Implement Balanced, Unbalanced, Mutate fungible traits for pallet * Revert using negative imbalance * Apply formatter * Fix withdraw_consequence method * Move currency related tests to separate mod * Add transfer_fails_funds_unavailable test to currency tests * Add transfer_works_full_balance test to currency tests * Fix slashing conditions * Add slash_works_full_balance test to currency tests * Add deposit_into_existing related fails tests * Add withdraw_works_full_balance test to currency tests * Add withdraw fails related tests to currency tests * Add basic fungible tests * Add reducable balance test to fungible tests * Add can deposit related tests * Fix can_withdraw logic * Add can_withdraw related tests * Add write_balance_works test * Add set_total_issuance_works test * Add decrease_balance related tests * Add increase_balance related tests * Add deactivate_reactivate_works test * Add mint_into related tests * Add burn_from related tests * Add shelve related tests * Add restored related tests * Add transfer related tests * Add balanced related tests * Undo formatting * Simplify reducible logic implementation * Simplify can_deposit implementation * Simplify can_withdraw implementation * Properly use semantics of total and free balances * Improve reducable_balance_works test * Fix test race conditions
dmitrylavrenov
added a commit
that referenced
this pull request
Jun 16, 2025
dmitrylavrenov
added a commit
that referenced
this pull request
Jun 16, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix casting
usizetou8atpallet::errormacro (reapplying3f6bdf2) (#74) (#80)Fix casting usize to u8 at pallet::error macro
Edit error message