Files
pezkuwi-subxt/substrate/bin/node/testing/Cargo.toml
T
Nikolay Volf 372f8b2c7e Batch signature verification (#5023)
* create parallel tasks extension

* make type system happy

* basic externalities

* test for dynamic extensions

* batching test

* remove premature verify_batch

* shnschnorrkel batch

* alter test

* shnschnorrkel test

* executive batching

* some docs

* also multi/any signatgures

* error propagation

* styling

* make verification extension optional

* experimental ed25519 parallelization

* some merge fallout

* utilize task executor

* merge fallout

* utilize task executor more

* another merge fallout

* feature-gate sp-io

* arrange toml

* fix no-std

* sr25519 batching and refactoring

* add docs

* fix name

* add newline

* fix block import test

* long sr25519 test

* blocking instead of parking

* move everything in crypto

* return batch_verify to check :)

* use condvars

* use multi-threaded executor for benches

* don't call via host interface

* try no spawning

* add true

* cleanup

* straighten batching

* remove signature check from this test (?)

* remove now pointless test

* remove another now useless test

* fix warnings

* Revert "remove another now useless test"

This reverts commit bbdec24bb67ed4373072daef7c863e1a8825bd8b.

* rethink the sp-io-part

* Revert "remove now pointless test"

This reverts commit 4d553066322e65782264caa6053d4cd5538df977.

* fix wording

* add  wording

* add todo and fix

* return check and fix

* add logging in sp-io

* Update primitives/io/src/batch_verifier.rs

Co-Authored-By: cheme <emericchevalier.pro@gmail.com>

* address review and use std condvar

* account for early exit

* address reivew

* address review

* more suggestions

* add docs for batch verification

* remove unused

* more review suggestions

* move to sp-runtime

* add expects

* remove blocks

* use entry

* Update primitives/io/src/batch_verifier.rs

Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>

* Update primitives/externalities/src/extensions.rs

Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>

* update overlooked note

* remove stupid return

* Update primitives/io/src/lib.rs

Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>

* Update primitives/io/src/lib.rs

Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>

* fix wording

* bump spec_version

Co-authored-by: cheme <emericchevalier.pro@gmail.com>
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
2020-04-16 21:40:04 +02:00

59 lines
3.2 KiB
TOML

[package]
name = "node-testing"
version = "2.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Test utilities for Substrate node."
edition = "2018"
license = "GPL-3.0"
homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"
publish = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
pallet-balances = { version = "2.0.0-dev", path = "../../../frame/balances" }
sc-client = { version = "0.8.0-dev", path = "../../../client/" }
sc-client-db = { version = "0.8.0-dev", path = "../../../client/db/", features = ["kvdb-rocksdb", "parity-db"] }
sc-client-api = { version = "2.0.0-dev", path = "../../../client/api/" }
codec = { package = "parity-scale-codec", version = "1.3.0" }
pallet-contracts = { version = "2.0.0-dev", path = "../../../frame/contracts" }
pallet-grandpa = { version = "2.0.0-dev", path = "../../../frame/grandpa" }
pallet-indices = { version = "2.0.0-dev", path = "../../../frame/indices" }
sp-keyring = { version = "2.0.0-dev", path = "../../../primitives/keyring" }
node-executor = { version = "2.0.0-dev", path = "../executor" }
node-primitives = { version = "2.0.0-dev", path = "../primitives" }
node-runtime = { version = "2.0.0-dev", path = "../runtime" }
sp-core = { version = "2.0.0-dev", path = "../../../primitives/core" }
sp-io = { version = "2.0.0-dev", path = "../../../primitives/io" }
frame-support = { version = "2.0.0-dev", path = "../../../frame/support" }
pallet-session = { version = "2.0.0-dev", path = "../../../frame/session" }
pallet-society = { version = "2.0.0-dev", path = "../../../frame/society" }
sp-runtime = { version = "2.0.0-dev", path = "../../../primitives/runtime" }
pallet-staking = { version = "2.0.0-dev", path = "../../../frame/staking" }
sc-executor = { version = "0.8.0-dev", path = "../../../client/executor", features = ["wasmtime"] }
sp-consensus = { version = "0.8.0-dev", path = "../../../primitives/consensus/common" }
frame-system = { version = "2.0.0-dev", path = "../../../frame/system" }
substrate-test-client = { version = "2.0.0-dev", path = "../../../test-utils/client" }
pallet-timestamp = { version = "2.0.0-dev", path = "../../../frame/timestamp" }
pallet-transaction-payment = { version = "2.0.0-dev", path = "../../../frame/transaction-payment" }
pallet-treasury = { version = "2.0.0-dev", path = "../../../frame/treasury" }
wabt = "0.9.2"
sp-api = { version = "2.0.0-dev", path = "../../../primitives/api" }
sp-finality-tracker = { version = "2.0.0-dev", default-features = false, path = "../../../primitives/finality-tracker" }
sp-timestamp = { version = "2.0.0-dev", default-features = false, path = "../../../primitives/timestamp" }
sp-block-builder = { version = "2.0.0-dev", path = "../../../primitives/block-builder" }
sc-block-builder = { version = "0.8.0-dev", path = "../../../client/block-builder" }
sp-inherents = { version = "2.0.0-dev", path = "../../../primitives/inherents" }
sp-blockchain = { version = "2.0.0-dev", path = "../../../primitives/blockchain" }
log = "0.4.8"
tempfile = "3.1.0"
fs_extra = "1"
futures = "0.3.1"
[dev-dependencies]
criterion = "0.3.0"
sc-cli = { version = "0.8.0-dev", path = "../../../client/cli" }
sc-service = { version = "0.8.0-dev", path = "../../../client/service", features = ["db"] }