Skip to content
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

Sovereign accounts and EVM system layer #94

Merged
merged 4 commits into from
Nov 22, 2023

Commits on Nov 22, 2023

  1. Sovereign accounts and EVM system layer (#86)

    * Frame evm system (#62)
    
    * Add initial impl of evm-system
    
    * Check account existence
    
    * Improve creation account logic
    
    * Add new line
    
    * Add default implementations
    
    * Add mock
    
    * Use DispatchResult instead of custom enums
    
    * Basic create account tests
    
    * Add simple tests with remove account and nonce update
    
    * Remove default implementations for OnNewAccount and OnKilledAccount
    
    * Add mock objects for OnNewAccount and OnKilledAccount
    
    * Use mock logic in tests
    
    * Some tests improvements
    
    * Add docs to tests
    
    * Check events in tests
    
    * Add default implementation for OnNewAccount and OnKilledAccount for empty tuple (#63)
    
    * Implement StoredMap for EvmSystem (#64)
    
    * Add try-runtime feature into `pallet-evm-system` (#67)
    
    Add try-runtime feature at pallet-evm-system
    
    * Use `sp_std` library to add FromStr trait for tests at `pallet-evm-system` (#68)
    
    Use sp_std library to add FromStr trait for tests at pallet-evm-system
    
    * Rename FullAccount into Account at `pallet-evm-system` (#69)
    
    Rename FullAccount into Account at pallet-evm-system
    
    * Fix `try_mutate_exists` implementation and add tests to check it (#70)
    
    * Fix try_mutate_exists logic
    
    * Add tests
    
    * Fix AccountData type at mock
    
    * Remove redundant mock expectations
    
    * Add comments for new tests
    
    * More explicitly handle (none,false) case
    
    * Rename some_data back to maybe_account_data
    
    * Add data changes for try_mutate_exists_fails_without_changes test
    
    * Add try_mutate_exists_account_not_created test
    
    * Add assert_noop to check state chages
    
    * Return success for try_mutate_exists_account_not_created test
    
    * Use workspace deps
    
    * Remove license
    
    * Implement missed AccountProvider for EvmSystem
    dmitrylavrenov committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    cf56574 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f6fd17a View commit details
    Browse the repository at this point in the history
  3. Add Apache-2.0 license

    dmitrylavrenov committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    5923aaa View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a55c053 View commit details
    Browse the repository at this point in the history