mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-06 03:18:01 +00:00
99d164b5e7
* Erasure encoding availability initial commit * Modifications to availability store to keep chunks as well as reconstructed blocks and extrinsics. * Gossip messages containig signed erasure chunks. * Requesting eraure chunks with polkadot-specific messages. * Validation of erasure chunk messages. * Apply suggestions from code review Co-Authored-By: Luke Schoen <ltfschoen@users.noreply.github.com> * Fix build after a merge * Gossip erasure chunk messages under their own topic * erasure_chunks should use the appropriate topic * Updates Cargo.lock * Fixes after merge * Removes a couple of leftover pieces of code * Fixes simple stuff from review * Updates erasure and storage for more flexible logic * Changes validation and candidate receipt production. * Adds add_erasure_chunks method * Fixes most of the nits * Better validate_collation and validate_receipt functions * Fixes the tests * Apply suggestions from code review Co-Authored-By: Robert Habermeier <rphmeier@gmail.com> * Removes unwrap() calls * Removes ErasureChunks primitive * Removes redundant fields from ErasureChunk struct * AvailabilityStore should store CandidateReceipt * Changes the way chunk messages are imported and validated. * Availability store now stores a validator_index and n_validators for each relay_parent. * Availability store now also stores candidate receipts. * Removes importing chunks in the table and moves it into network gossip validation. * Validation of erasure messages id done against receipts that are stored in the availability store. * Correctly compute topics for erasure messages * Removes an unused parameter * Refactors availability db querying into a helper * Adds the apis described in the writeup * Adds a runtime api to extract erasure roots form raw extrinsics. * Adds a barebone BlockImport impl for avalability store * Adds the implementation of the availability worker * Fix build after the merge with master. * Make availability store API async * Bring back the default wasmtime feature * Lines width * Bump runtime version * Formatting and dead code elimination * some style nits (#1) * More nits and api cleanup * Disable wasm CI for availability-store * Another nit * Formatting
44 lines
2.8 KiB
TOML
44 lines
2.8 KiB
TOML
[package]
|
|
name = "polkadot-validation"
|
|
version = "0.7.5"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
futures = "0.1.17"
|
|
futures03 = { package = "futures", version = "0.3.1", features = ["compat"] }
|
|
futures-timer = "2.0"
|
|
async-std = { version = "1.0.1", features = ["unstable"] }
|
|
parking_lot = "0.9.0"
|
|
tokio = "0.1.22"
|
|
derive_more = "0.14.1"
|
|
log = "0.4.8"
|
|
exit-future = "0.1.4"
|
|
tokio-executor = { version = "0.2.0-alpha.6", features = ["blocking"] }
|
|
codec = { package = "parity-scale-codec", version = "1.1.0", default-features = false, features = ["derive"] }
|
|
availability_store = { package = "polkadot-availability-store", path = "../availability-store" }
|
|
parachain = { package = "polkadot-parachain", path = "../parachain" }
|
|
polkadot-primitives = { path = "../primitives" }
|
|
polkadot-erasure-coding = { path = "../erasure-coding" }
|
|
polkadot-runtime = { path = "../runtime" }
|
|
table = { package = "polkadot-statement-table", path = "../statement-table" }
|
|
grandpa = { package = "sc-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
|
|
inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
|
|
consensus = { package = "sp-consensus", git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
|
|
primitives = { package = "sp-core", git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
|
|
txpool-api = { package = "sp-transaction-pool-api", git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
|
|
client = { package = "sc-client-api", git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
|
|
sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
|
|
sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
|
|
sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
|
|
block-builder = { package = "sc-block-builder", git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
|
|
trie = { package = "sp-trie", git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
|
|
runtime_primitives = { package = "sp-runtime", git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
|
|
bitvec = { version = "0.15.2", default-features = false, features = ["alloc"] }
|
|
runtime_babe = { package = "pallet-babe", git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
|
|
babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
|
|
keystore = { package = "sc-keystore", git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
|
|
|
|
[dev-dependencies]
|
|
sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
|