Sovereign EVM balances layer#78
Merged
dmitrylavrenov merged 6 commits intolocked/release-polkadot-v1.1.0from Oct 30, 2023
Merged
Sovereign EVM balances layer#78dmitrylavrenov merged 6 commits intolocked/release-polkadot-v1.1.0from
dmitrylavrenov merged 6 commits intolocked/release-polkadot-v1.1.0from
Conversation
22c5126 to
b9881dc
Compare
Closed
6 tasks
MOZGIII
reviewed
Oct 25, 2023
MOZGIII
approved these changes
Oct 25, 2023
|
This looks like a rebase of our old stuff, so it should be attributed accordingly in the PR body. |
Author
I've updated the PR body. Please, check the following commit - fb0a16a. |
695e9b4 to
7d76d9b
Compare
* Add initital frame balances structure * Add account data balances logic * Define main types * Add imbalances logic * Add DustCleaner * Implement balances related operations * Implement currencies for the pallet * Implement Inspect for the pallet * Make account_data mod private * Leave only free balance data for account * Support try-runtime features * Apply formatting * Fix comment * Add mock with evm, evm-system, evm-balances configs * Add basic setup test * Add fee deduction test * Add issuance_after_tip test * Add refunds_should_work test * Add refunds_and_priority_should_work test * Fix clippy in tests * Fix basec setup works test with evm balances checks * Remove redundant set block in tests * Add call_should_fail_with_priority_greater_than_max_fee test * Add call_should_succeed_with_priority_equal_to_max_fee test * Use EvmSystem as AccountProvider in tests * Add account_should_be_reaped test * Add deposit_into_existing test * Add balance_transfer_works test * Add slashing_balance_works test * Add withdraw_balance_works test * Add transferring_too_high_value_should_not_panic test * Rename test to transfer_works * Add basic tests for currency * Add burn and issue related tests * Add deposit_creating_works test * Add currency_make_free_balance_be test * Rename evm logic related tests * Fix comment * Rename slashing related test * Rename test with make free balance * Rename test with transferring too high value * Assert evm system account existence for currency_deposit_creating_works test * Add EvmSystem events check
7d76d9b to
ef27e25
Compare
MOZGIII
reviewed
Oct 29, 2023
MOZGIII
approved these changes
Oct 29, 2023
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.
The most changes are based on cherry-picking #65.
The changes related to updated substrate deps mostly are here - 37ce101.