mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-12 20:25:49 +00:00
be27bd5e97
* batch transactions in message relay: API prototype * get rid of Box<dyn BatchTransaction> and actually submit it * test batch transactions * message_lane_loop_works_with_batch_transactions * removed logger * BatchConfirmationTransaction + BatchDeliveryTransaction * more prototyping * fmt * continue with batch calls * impl BatchCallBuilder for () * BatchDeliveryTransaction impl * BundledBatchCallBuilder * proper impl of BundledBatchCallBuilder + use it in RialtoParachain -> Millau * impl prove_header in OnDemandHeadersRelay * impl OnDemandParachainsRelay::prove_header (needs extensive tests) * added a couple of TODOs * return Result<Option<BatchTx>> when asking for more headers * prove headers when reauire_* is called && return proper headers from required_header_id * split parachains::prove_header and test select_headers_to_prove * more traces and leave TODOs * use finality stream in SubstrateFinalitySource::prove_block_finality * prove parachain head at block, selected by headers relay * const ANCIENT_BLOCK_THRESHOLD * TODO -> proof * clippy and spelling * BatchCallBuilder::build_batch_call() returns Result * read first proof from two streams * FailedToFindFinalityProof -> FinalityProofNotFound * changed select_headers_to_prove to version from PR review
51 lines
2.3 KiB
TOML
51 lines
2.3 KiB
TOML
[package]
|
|
name = "relay-substrate-client"
|
|
version = "0.1.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2021"
|
|
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
|
|
|
[dependencies]
|
|
async-std = { version = "1.6.5", features = ["attributes"] }
|
|
async-trait = "0.1"
|
|
codec = { package = "parity-scale-codec", version = "3.1.5" }
|
|
futures = "0.3.7"
|
|
jsonrpsee = { version = "0.15", features = ["macros", "ws-client"] }
|
|
log = "0.4.17"
|
|
num-traits = "0.2"
|
|
rand = "0.7"
|
|
tokio = { version = "1.8", features = ["rt-multi-thread"] }
|
|
thiserror = "1.0.26"
|
|
|
|
# Bridge dependencies
|
|
|
|
bp-header-chain = { path = "../../primitives/header-chain" }
|
|
bp-messages = { path = "../../primitives/messages" }
|
|
bp-polkadot-core = { path = "../../primitives/polkadot-core" }
|
|
bp-runtime = { path = "../../primitives/runtime" }
|
|
pallet-bridge-messages = { path = "../../modules/messages" }
|
|
finality-relay = { path = "../finality" }
|
|
relay-utils = { path = "../utils" }
|
|
|
|
# Substrate Dependencies
|
|
|
|
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-storage = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-version = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
|
|
[features]
|
|
default = []
|
|
test-helpers = []
|