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

Moves precompile-utils into frontier (#2181) #2427

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
137 changes: 31 additions & 106 deletions Cargo.lock

Large diffs are not rendered by default.

50 changes: 24 additions & 26 deletions Cargo.toml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ members = [
"precompiles/proxy", "precompiles/proxy",
"precompiles/referenda", "precompiles/referenda",
"precompiles/relay-encoder", "precompiles/relay-encoder",
"precompiles/utils", "precompiles/utils/xcm-codec",
"precompiles/utils/macro",
"precompiles/utils/tests-external",
"precompiles/xcm-transactor", "precompiles/xcm-transactor",
"precompiles/xtokens", "precompiles/xtokens",
"runtime/moonbase", "runtime/moonbase",
Expand Down Expand Up @@ -90,7 +88,7 @@ pallet-moonbeam-orbiters = { path = "pallets/moonbeam-orbiters", default-feature
pallet-parachain-staking = { path = "pallets/parachain-staking", default-features = false } pallet-parachain-staking = { path = "pallets/parachain-staking", default-features = false }
pallet-proxy-genesis-companion = { path = "pallets/proxy-genesis-companion", default-features = false } pallet-proxy-genesis-companion = { path = "pallets/proxy-genesis-companion", default-features = false }
pallet-xcm-transactor = { path = "pallets/xcm-transactor", default-features = false } pallet-xcm-transactor = { path = "pallets/xcm-transactor", default-features = false }
precompile-utils = { path = "precompiles/utils", default-features = false } precompile-utils-xcm-codec = { path = "precompiles/utils/xcm-codec", default-features = false }
xcm-primitives = { path = "primitives/xcm", default-features = false } xcm-primitives = { path = "primitives/xcm", default-features = false }


pallet-crowdloan-rewards = { git = "https://github.com/moonbeam-foundation/crowdloan-rewards", branch = "moonbeam-polkadot-v0.9.43", default-features = false } pallet-crowdloan-rewards = { git = "https://github.com/moonbeam-foundation/crowdloan-rewards", branch = "moonbeam-polkadot-v0.9.43", default-features = false }
Expand Down Expand Up @@ -220,33 +218,34 @@ ethereum-types = { version = "0.14", default-features = false }
evm = { git = "https://github.com/moonbeam-foundation/evm", branch = "tgm-record-external-cost", default-features = false } evm = { git = "https://github.com/moonbeam-foundation/evm", branch = "tgm-record-external-cost", default-features = false }
evm-gasometer = { git = "https://github.com/moonbeam-foundation/evm", branch = "tgm-record-external-cost", default-features = false } evm-gasometer = { git = "https://github.com/moonbeam-foundation/evm", branch = "tgm-record-external-cost", default-features = false }
evm-runtime = { git = "https://github.com/moonbeam-foundation/evm", branch = "tgm-record-external-cost", default-features = false } evm-runtime = { git = "https://github.com/moonbeam-foundation/evm", branch = "tgm-record-external-cost", default-features = false }
fp-ethereum = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v0.9.43", default-features = false } fp-ethereum = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cem-precompiles-moonbeam-polkadot-v0.9.43", default-features = false }
fp-evm = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v0.9.43", default-features = false } fp-evm = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cem-precompiles-moonbeam-polkadot-v0.9.43", default-features = false }
fp-rpc = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v0.9.43", default-features = false } fp-rpc = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cem-precompiles-moonbeam-polkadot-v0.9.43", default-features = false }
fp-self-contained = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v0.9.43", default-features = false } fp-self-contained = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cem-precompiles-moonbeam-polkadot-v0.9.43", default-features = false }
pallet-base-fee = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v0.9.43", default-features = false } pallet-base-fee = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cem-precompiles-moonbeam-polkadot-v0.9.43", default-features = false }
pallet-ethereum = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v0.9.43", default-features = false, features = [ "forbid-evm-reentrancy" ] } pallet-ethereum = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cem-precompiles-moonbeam-polkadot-v0.9.43", default-features = false, features = [ "forbid-evm-reentrancy" ] }
pallet-evm = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v0.9.43", default-features = false, features = [ pallet-evm = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cem-precompiles-moonbeam-polkadot-v0.9.43", default-features = false, features = [
"forbid-evm-reentrancy", "forbid-evm-reentrancy",
] } ] }
pallet-evm-precompile-blake2 = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v0.9.43", default-features = false } pallet-evm-precompile-blake2 = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cem-precompiles-moonbeam-polkadot-v0.9.43", default-features = false }
pallet-evm-precompile-bn128 = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v0.9.43", default-features = false } pallet-evm-precompile-bn128 = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cem-precompiles-moonbeam-polkadot-v0.9.43", default-features = false }
pallet-evm-precompile-dispatch = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v0.9.43", default-features = false } pallet-evm-precompile-dispatch = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cem-precompiles-moonbeam-polkadot-v0.9.43", default-features = false }
pallet-evm-precompile-modexp = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v0.9.43", default-features = false } pallet-evm-precompile-modexp = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cem-precompiles-moonbeam-polkadot-v0.9.43", default-features = false }
pallet-evm-precompile-sha3fips = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v0.9.43", default-features = false } pallet-evm-precompile-sha3fips = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cem-precompiles-moonbeam-polkadot-v0.9.43", default-features = false }
pallet-evm-precompile-simple = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v0.9.43", default-features = false } pallet-evm-precompile-simple = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cem-precompiles-moonbeam-polkadot-v0.9.43", default-features = false }


# Frontier (client) # Frontier (client)
fc-consensus = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v0.9.43" } fc-consensus = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cem-precompiles-moonbeam-polkadot-v0.9.43" }
fc-db = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v0.9.43" } fc-db = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cem-precompiles-moonbeam-polkadot-v0.9.43" }
fc-mapping-sync = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v0.9.43" } fc-mapping-sync = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cem-precompiles-moonbeam-polkadot-v0.9.43" }
fc-rpc = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v0.9.43", features = [ fc-rpc = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cem-precompiles-moonbeam-polkadot-v0.9.43", features = [
"rpc-binary-search-estimate", "rpc-binary-search-estimate",
] } ] }
fc-rpc-core = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v0.9.43" } fc-rpc-core = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cem-precompiles-moonbeam-polkadot-v0.9.43" }
fc-storage = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v0.9.43" } fc-storage = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cem-precompiles-moonbeam-polkadot-v0.9.43" }
fp-consensus = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v0.9.43" } fp-consensus = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cem-precompiles-moonbeam-polkadot-v0.9.43" }
fp-storage = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v0.9.43" } fp-storage = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cem-precompiles-moonbeam-polkadot-v0.9.43" }
precompile-utils = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cem-precompiles-moonbeam-polkadot-v0.9.43", default-features = false }


# Cumulus (wasm) # Cumulus (wasm)
cumulus-pallet-dmp-queue = { git = "https://github.com/moonbeam-foundation/cumulus", branch = "moonbeam-polkadot-v0.9.43", default-features = false } cumulus-pallet-dmp-queue = { git = "https://github.com/moonbeam-foundation/cumulus", branch = "moonbeam-polkadot-v0.9.43", default-features = false }
Expand Down Expand Up @@ -311,7 +310,6 @@ session-keys-primitives = { git = "https://github.com/Moonsong-Labs/moonkit", br
nimbus-consensus = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v0.9.43" } nimbus-consensus = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v0.9.43" }


# Other (wasm) # Other (wasm)
affix = "0.1.2"
async-trait = { version = "0.1.42" } async-trait = { version = "0.1.42" }
blake2-rfc = { version = "0.2.18", default-features = false } blake2-rfc = { version = "0.2.18", default-features = false }
derive_more = "0.99" derive_more = "0.99"
Expand Down
61 changes: 0 additions & 61 deletions precompiles/utils/Cargo.toml

This file was deleted.

33 changes: 0 additions & 33 deletions precompiles/utils/macro/Cargo.toml

This file was deleted.

199 changes: 0 additions & 199 deletions precompiles/utils/macro/docs/precompile_macro.md

This file was deleted.