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

Add pallet connectors gateway #1376

Closed
wants to merge 35 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
951aac3
connectors-gateway: Add initial pallet and traits
cdamian May 5, 2023
5468d59
wip: Copy XCM transactor logic from connectors
cdamian May 9, 2023
c43e663
gateway: Move domain routers to separate crate (#1341)
cdamian May 16, 2023
f80b70d
connectors-gateway: Rename moonbeam to ethereum_xcm
cdamian May 17, 2023
3b0e9eb
gateway-routers: Add first version of Axelar EVM router
cdamian May 17, 2023
fea0da1
gateway-routers: Clean-up TODOs
cdamian May 24, 2023
4386a63
connectors-gateway: Add tests for pallet, prepare setup for router te…
cdamian May 25, 2023
ea961cf
runtime: Fix imports
cdamian May 30, 2023
97c29a9
wip: WIP
cdamian Jun 7, 2023
ff3f315
task: Rebase on latest main
cdamian Jun 13, 2023
b626199
pallets: Add Ethereum Transaction pallet (#1403)
cdamian Jun 21, 2023
2d0bc1c
connectors-gateway: Add more unit tests
cdamian Jun 22, 2023
e680c96
runtime: Add pallet-ethereum-transaction
cdamian Jun 22, 2023
8a69030
libs: Add pallet-ethereum-transaction mocks, update router mock
cdamian Jun 22, 2023
f9292da
gateway-routers: Add more tests
cdamian Jun 23, 2023
b76f5fe
test: Prepare integration test setup
cdamian Jun 27, 2023
25f57e4
first draft (#1423)
mustermeiszer Jul 3, 2023
2bb7b31
precompile: Fix typos and func args
cdamian Jul 3, 2023
1997216
connectors-gateway: Use BoundedVec when processing incoming messages
cdamian Jul 3, 2023
3ec794f
tests: Add connectors-gateway integration test, fix imports, rename vars
cdamian Jul 6, 2023
931f2cd
connectors-gateway: Add more tests
cdamian Jul 6, 2023
2a4998e
tests: Add more EVM related integration tests
cdamian Jul 10, 2023
233f74a
runtime: Add OnCreate for EVM pallet
cdamian Jul 10, 2023
2d643e8
ethereum-transaction: Add Executed event for ethereum-transaction pallet
cdamian Jul 10, 2023
105eff0
evm: Remove unnecessary OnCreate logic
cdamian Jul 11, 2023
6eb0dc5
test: Fix unit and integration tests.
cdamian Jul 11, 2023
ca5982e
gateway-routers: Add check for contract code in Axelar router
cdamian Jul 12, 2023
4316165
gateway: Use StorageDoubleMap for ConnectorsAllowlist
cdamian Jul 12, 2023
23e41ac
gateway: Update precompile
cdamian Jul 13, 2023
dff40c6
taplo: Obey
cdamian Jul 13, 2023
3706f52
deps: Use moonbeam EVM-related deps instead of parity
cdamian Jul 13, 2023
612a5dd
gatway: Fix docs link
cdamian Jul 13, 2023
1ad7120
taplo: Fix
cdamian Jul 13, 2023
ac8cb63
clippy: Fix warning
cdamian Jul 13, 2023
8d9dd50
docs: Add more docs around gateway pallets and routers
cdamian Jul 13, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
156 changes: 154 additions & 2 deletions Cargo.lock

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

4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,14 @@ members = [
"pallets/bridge",
"pallets/block-rewards",
"pallets/connectors",
"pallets/connectors-gateway",
"pallets/connectors-gateway/connectors-gateway-routers",
"pallets/connectors-gateway/connectors-gateway-axelar-precompile",
"pallets/claims",
"pallets/collator-allowlist",
"pallets/crowdloan-claim",
"pallets/crowdloan-reward",
"pallets/ethereum-transaction",
"pallets/fees",
"pallets/interest-accrual",
"pallets/investments",
Expand Down
7 changes: 7 additions & 0 deletions libs/mocks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" }
sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.38" }

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" }

cfg-primitives = { path = "../primitives", default-features = false }
cfg-traits = { path = "../traits", default-features = false }
cfg-types = { path = "../types", default-features = false }
Expand All @@ -42,6 +45,8 @@ std = [
"sp-io/std",
"sp-runtime/std",
"orml-traits/std",
"pallet-xcm-transactor/std",
"xcm/std",
]
runtime-benchmarks = [
"frame-support/runtime-benchmarks",
Expand All @@ -50,6 +55,7 @@ runtime-benchmarks = [
"cfg-traits/runtime-benchmarks",
"cfg-types/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"pallet-xcm-transactor/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
Expand All @@ -58,4 +64,5 @@ try-runtime = [
"cfg-primitives/try-runtime",
"cfg-traits/try-runtime",
"sp-runtime/try-runtime",
"pallet-xcm-transactor/try-runtime",
]
Loading