mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-23 21:15:41 +00:00
Squashed commit of Rust-ifying the repo:
commit e31c1965a2e6b9a21ce68be63b81915b2b090f1d Author: Hernando Castano <castano.ha@gmail.com> Date: Sun Feb 2 21:15:42 2020 -0500 Get Ethereum bridge module compiling commit a497fc1640e68682f61b39414ffb15206c6120e2 Author: Hernando Castano <castano.ha@gmail.com> Date: Thu Jan 30 12:15:43 2020 -0500 Make the toml file look a bit better commit 898fb7b06cfac7cf866e1a28fed9a4f02bd246a7 Author: Hernando Castano <castano.ha@gmail.com> Date: Thu Jan 30 12:06:27 2020 -0500 Get substrate bridge module compiling commit 81e1547e6bec9f590cad9ffba0ee5dfa82cda1c1 Author: Hernando Castano <castano.ha@gmail.com> Date: Thu Jan 30 11:40:29 2020 -0500 Create workspace and move more files around
This commit is contained in:
committed by
Bastian Köcher
parent
c06777a42a
commit
fbaa803034
@@ -0,0 +1,76 @@
|
||||
[package]
|
||||
name = "pallet-bridge"
|
||||
version = "0.1.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
edition = "2018"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false }
|
||||
serde = { version = "1.0", optional = true }
|
||||
|
||||
# Substrate Based Dependencies
|
||||
[dependencies.frame-support]
|
||||
version = "2.0.0"
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
default-features = false
|
||||
|
||||
[dependencies.frame-system]
|
||||
version = "2.0.0"
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
default-features = false
|
||||
|
||||
[dependencies.hash-db]
|
||||
version = "0.15.2"
|
||||
default-features = false
|
||||
|
||||
[dependencies.pallet-session]
|
||||
version = "2.0.0"
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
default-features = false
|
||||
|
||||
[dependencies.sp-core]
|
||||
version = "2.0.0"
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
default-features = false
|
||||
|
||||
[dependencies.sp-finality-grandpa]
|
||||
version = "2.0.0"
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
default-features = false
|
||||
|
||||
[dependencies.sp-runtime]
|
||||
version = "2.0.0"
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
default-features = false
|
||||
|
||||
[dependencies.sp-trie]
|
||||
version = "2.0.0"
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
default-features = false
|
||||
|
||||
# Dev Dependencies
|
||||
[dev-dependencies.sp-io]
|
||||
version = "2.0.0"
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
default-features = false
|
||||
|
||||
[dev-dependencies.sp-state-machine]
|
||||
version = "0.8.0"
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"serde",
|
||||
"codec/std",
|
||||
"frame-support/std",
|
||||
"frame-system/std",
|
||||
"pallet-session/std",
|
||||
"sp-core/std",
|
||||
"sp-finality-grandpa/std",
|
||||
"sp-runtime/std",
|
||||
"sp-trie/std",
|
||||
"sp-io/std",
|
||||
]
|
||||
@@ -85,7 +85,7 @@ decl_storage! {
|
||||
|
||||
/// Maps a bridge id to a bridge struct. Allows a single
|
||||
/// `bridge` module to manage multiple bridges.
|
||||
pub TrackedBridges get(tracked_bridges): map BridgeId => Option<BridgeInfo<T>>;
|
||||
pub TrackedBridges get(tracked_bridges): map hasher(blake2_256) BridgeId => Option<BridgeInfo<T>>;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user