Skip to content

Refactor precompile set#1613

Merged
aurexav merged 1 commit intomainfrom
xavier/addr
Oct 22, 2024
Merged

Refactor precompile set#1613
aurexav merged 1 commit intomainfrom
xavier/addr

Conversation

@aurexav
Copy link
Member

@aurexav aurexav commented Oct 22, 2024

  • Avoid dynamic allocation.
  • Improve pattern matching.
  • Collect all addresses in a single location.
  • Remove the unnecessary generic variable.
  • Deprecate deposit and staking precompiles.

Part of #1611.

@aurexav aurexav added the C-Runtime [Component] Something about runtime label Oct 22, 2024
@github-actions
Copy link

Check 4d75a5d darwinia-dev

Check runtime version

Check runtime storage

@github-actions
Copy link

Check 4d75a5d crab-dev

Check runtime version

Check runtime storage

@github-actions
Copy link

Check 4d75a5d koi-dev

Check runtime version

RuntimeVersion {
    spec_name: "Darwinia Koi",
    impl_name: "DarwiniaOfficialRust",
    authoring_version: 0,
-   spec_version: 6710,
+   spec_version: 6720,
    impl_version: 0,
    transaction_version: 0,
    state_version: 0,
}

Check runtime storage

@aurexav aurexav merged commit 92e74df into main Oct 22, 2024
@aurexav aurexav deleted the xavier/addr branch October 22, 2024 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-Runtime [Component] Something about runtime

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants