Skip to content

Commit

Permalink
Slpx add ethereum call (#1097)
Browse files Browse the repository at this point in the history
* Slpx add ethereum call

* Optimising code
  • Loading branch information
hqwangningbo authored Dec 12, 2023
1 parent 62ca63e commit b2e030b
Show file tree
Hide file tree
Showing 11 changed files with 620 additions and 78 deletions.
128 changes: 119 additions & 9 deletions Cargo.lock

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

30 changes: 17 additions & 13 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -274,28 +274,32 @@ cumulus-primitives-utility = { git = "https://github.com/paritytech/p
parachain-info = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false }

# Other
paste = { version = "1.0.14" }
strum_macros = { version = "0.24.3" }
async-trait = { version = "0.1.73" }
bstringify = { version = "0.1.2" }
clap = { version = "4.4.2" }
hex-literal = { version = "0.4.1" }
similar-asserts = { version = "1.1.0" }
smallvec = { version = "1.11.0" }
static_assertions = { version = "1.1.0" }
async-trait = { version = "0.1.73" }
env_logger = { version = "0.10.0" }
jsonrpsee = { version = "0.16.3" }
ethabi = { version = "18.0.0", default-features = false }
ethereum = { version = "0.14.0", default-features = false, features = ["with-codec"] }
futures = { version = "0.3.28" }
parity-scale-codec = { version = "3.6.5", default-features = false }
hex = { version = "0.4.3", default-features = false }
hex-literal = { version = "0.4.1" }
impl-trait-for-tuples = { version = "0.2.2" }
jsonrpsee = { version = "0.16.3" }
log = { version = "0.4.20", default-features = false }
num-bigint = { version = "0.4.3", default-features = false }
num-traits = { version = "0.2.15", default-features = false }
parity-scale-codec = { version = "3.6.5", default-features = false }
paste = { version = "1.0.14" }
scale-info = { version = "2.10.0", default-features = false }
serde_json = { version = "1.0.105", default-features = false }
serde = { version = "1.0.188", default-features = false }
serde_json = { version = "1.0.105", default-features = false }
similar-asserts = { version = "1.1.0" }
smallvec = { version = "1.11.0" }
static_assertions = { version = "1.1.0" }
strum = { version = "0.24.1", default-features = false, features = ["derive"] }
num-traits = { version = "0.2.15", default-features = false }
num-bigint = { version = "0.4.3", default-features = false }
impl-trait-for-tuples = { version = "0.2.2" }
strum_macros = { version = "0.24.3" }
tiny-keccak = { version = "2.0", features = ["fips202"] }


[profile.dev]
split-debuginfo = "unpacked"
Expand Down
5 changes: 5 additions & 0 deletions pallets/slpx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ version = "0.8.0"
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
ethereum = { workspace = true, features = [ "with-codec" ] }
hex-literal = { workspace = true }
parity-scale-codec = { workspace = true, features = ["derive"] }
scale-info = { workspace = true, features = ["derive"] }
Expand All @@ -17,11 +18,14 @@ frame-benchmarking = { workspace = true, optional = true }
frame-support = { workspace = true }
frame-system = { workspace = true }
cumulus-primitives-core = { workspace = true }
polkadot-parachain-primitives = { workspace = true }
sp-std = { workspace = true }
cumulus-pallet-xcm = { workspace = true }
sp-core = { workspace = true }
ethabi = { workspace = true }
sp-runtime = { workspace = true }
xcm = { workspace = true }
tiny-keccak = { workspace = true }
orml-traits = { workspace = true }
orml-xtokens = { workspace = true }
zenlink-protocol = { workspace = true }
Expand All @@ -34,6 +38,7 @@ bifrost-stable-asset = { workspace = true }
orml-tokens = { workspace = true }

[dev-dependencies]
hex = { workspace = true }
sp-io = { workspace = true }
pallet-balances = { workspace = true }
bifrost-vtoken-minting = { workspace = true }
Expand Down
Loading

0 comments on commit b2e030b

Please sign in to comment.