-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
connectors-gateway: Add gateway routers (#1475)
* connectors-gateway: Add Ethereum Transaction pallet * connectors-gateway: Add gateway routers * gateway-routers: Add generic routers, Axelar XCM router, update tests * runtime: Remove duplicate dep entries * gateway-routers: Use specific types when getting Axelar encoded contract * gateway-routers: Change folder structure * deps: Update dependencies * gateway-routers: Re-structure routers * axelar-evm: Add Goerli to EVMChain
- Loading branch information
Showing
14 changed files
with
2,410 additions
and
28 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
[package] | ||
authors = ["Centrifuge <[email protected]>"] | ||
description = "Centrifuge Connectors Gateway Routers" | ||
edition = "2021" | ||
license = "LGPL-3.0" | ||
name = "connectors-gateway-routers" | ||
repository = "https://github.com/centrifuge/centrifuge-chain" | ||
version = "0.0.1" | ||
|
||
[package.metadata.docs.rs] | ||
targets = ["x86_64-unknown-linux-gnu"] | ||
|
||
[dependencies] | ||
codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } | ||
frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.38" } | ||
frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.38" } | ||
scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } | ||
sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.38" } | ||
|
||
# Substrate | ||
sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.38" } | ||
sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.38" } | ||
|
||
# XCM | ||
pallet-xcm-transactor = { git = "https://github.com/PureStake/moonbeam", default-features = false, rev = "00b3e3d97806e889b02e1bcb4b69e65433dd805d" } | ||
xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.38" } | ||
xcm-primitives = { git = "https://github.com/PureStake/moonbeam", default-features = false, rev = "00b3e3d97806e889b02e1bcb4b69e65433dd805d" } | ||
|
||
# EVM | ||
ethabi = { version = "16.0", default-features = false } | ||
pallet-ethereum = { git = "https://github.com/PureStake/frontier", default-features = false, branch = "moonbeam-polkadot-v0.9.38" } | ||
pallet-evm = { git = "https://github.com/PureStake/frontier", default-features = false, branch = "moonbeam-polkadot-v0.9.38" } | ||
|
||
# Custom crates | ||
cfg-traits = { path = "../../../libs/traits", default-features = false } | ||
cfg-types = { path = "../../../libs/types", default-features = false } | ||
|
||
# Local pallets | ||
pallet-connectors-gateway = { path = "../.", default-features = false } | ||
pallet-ethereum-transaction = { path = "../../ethereum-transaction", default-features = false } | ||
|
||
[dev-dependencies] | ||
cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.38", default-features = false } | ||
|
||
xcm-builder = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.38", default-features = false } | ||
xcm-executor = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.38", default-features = false } | ||
|
||
pallet-evm-chain-id = { git = "https://github.com/PureStake/frontier", default-features = false, branch = "moonbeam-polkadot-v0.9.38" } | ||
pallet-evm-precompile-simple = { git = "https://github.com/PureStake/frontier", default-features = false, branch = "moonbeam-polkadot-v0.9.38" } | ||
pallet-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.38" } | ||
|
||
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } | ||
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } | ||
|
||
orml-traits = { git = "https://github.com/purestake/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.38", default-features = false } | ||
|
||
cfg-mocks = { path = "../../../libs/mocks" } | ||
cfg-primitives = { path = "../../../libs/primitives" } | ||
pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } | ||
|
||
[features] | ||
default = ["std"] | ||
runtime-benchmarks = [ | ||
"cfg-traits/runtime-benchmarks", | ||
"cfg-types/runtime-benchmarks", | ||
"frame-support/runtime-benchmarks", | ||
"frame-system/runtime-benchmarks", | ||
"pallet-connectors-gateway/runtime-benchmarks", | ||
"pallet-ethereum/runtime-benchmarks", | ||
"pallet-ethereum-transaction/runtime-benchmarks", | ||
"pallet-xcm-transactor/runtime-benchmarks", | ||
"xcm-primitives/runtime-benchmarks", | ||
] | ||
std = [ | ||
"codec/std", | ||
"cfg-types/std", | ||
"cfg-traits/std", | ||
"frame-support/std", | ||
"frame-system/std", | ||
"sp-std/std", | ||
"sp-core/std", | ||
"xcm/std", | ||
"pallet-connectors-gateway/std", | ||
"pallet-xcm-transactor/std", | ||
"pallet-ethereum/std", | ||
"pallet-ethereum-transaction/std", | ||
"xcm-primitives/std", | ||
"ethabi/std", | ||
"scale-info/std", | ||
] | ||
try-runtime = [ | ||
"frame-support/try-runtime", | ||
"frame-system/try-runtime", | ||
"cfg-traits/try-runtime", | ||
"cfg-types/try-runtime", | ||
"pallet-connectors-gateway/try-runtime", | ||
"pallet-ethereum/try-runtime", | ||
"pallet-ethereum-transaction/try-runtime", | ||
"pallet-xcm-transactor/try-runtime", | ||
] |
Oops, something went wrong.