Skip to content

Commit

Permalink
Merge pull request #764 from galacticcouncil/standard_evm_precompiles
Browse files Browse the repository at this point in the history
feat: add standard EVM precompiles
  • Loading branch information
mrq1911 authored Feb 18, 2024
2 parents 320a008 + df20f2c commit f09c7cb
Show file tree
Hide file tree
Showing 7 changed files with 370 additions and 13 deletions.
93 changes: 91 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ members = [
log = "0.4.20"
async-trait = "0.1"
futures = "0.3.25"
hex-literal = "0.4.1"
hydra-dx-math = { path = "math", default-features = false }
hydradx = { path = "node", default-features = false }
hydradx-traits = { path = "traits", default-features = false }
Expand Down Expand Up @@ -237,6 +238,10 @@ pallet-ethereum = { git = "https://github.com/moonbeam-foundation/frontier", rev
pallet-evm = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false }
pallet-evm-chain-id = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false }
pallet-evm-precompile-dispatch = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false }
pallet-evm-precompile-simple = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false }
pallet-evm-precompile-modexp = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false }
pallet-evm-precompile-bn128 = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false }
pallet-evm-precompile-blake2 = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false }

# EVM from acala
module-evm-utility-macro = { path = "runtime/hydradx/src/evm/evm-utility/macro", default-features = false}
Expand Down
5 changes: 3 additions & 2 deletions integration-tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "runtime-integration-tests"
version = "1.17.3"
version = "1.17.4"
description = "Integration tests"
authors = ["GalacticCouncil"]
edition = "2021"
Expand All @@ -9,6 +9,7 @@ license = "Apache 2.0"
repository = "https://github.com/galacticcouncil/HydraDX-node"

[dependencies]
hex-literal = { workspace = true }
frame-remote-externalities = { workspace = true }
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
scraper = { workspace = true }
Expand Down Expand Up @@ -63,6 +64,7 @@ orml-unknown-tokens = { workspace = true }
# Evm
pallet-evm = { workspace = true }
fp-evm = { workspace = true }
fp-rpc = { workspace = true }
# Cumulus dependencies
cumulus-pallet-aura-ext = { workspace = true }
cumulus-pallet-parachain-system = { workspace = true }
Expand Down Expand Up @@ -125,7 +127,6 @@ polkadot-runtime-parachains = { workspace = true }
polkadot-runtime = { workspace = true }

[dev-dependencies]
hex-literal = "0.4.1"
pretty_assertions = "1.2.1"
xcm-emulator = { workspace = true }

Expand Down
Loading

0 comments on commit f09c7cb

Please sign in to comment.