André Silva
fbd2ac8f3b
grandpa: report equivocations ( #3868 )
...
* session: runtime api for generating session membership proofs
* grandpa: add runtime api for creating equivocation report txs
* grandpa: submit signed equivocation report transactions
* grandpa: use proper equivocation report type
* grandpa: report equivocations
* grandpa: validate equivocation proof
* grandpa: update to finality-grandpa 0.9.1
* grandpa: fix encoding of session membership proof
* grandpa: initialize set id session mapping for genesis session
* grandpa: fix bug in set_id session validation
* fix compilation
* cleanup from merge conflicts
* cleanup crate tomls
* grandpa: refactor equivocation handling to separate trait
* node-template: fix compilation
* fix test compilation
* bump finality-grandpa to v0.10.2
* rpc: fix runtime version test
* CHERRY-PICK #4200 : Add documentation to SubmitSignedTransaction and actually make it work
Squashed commit of the following:
commit 4f2cb0b1c588a06f2f3b478bb4b28b5cb29d54b9
Author: Tomasz Drwięga <tomasz@parity.io >
Date: Tue Dec 3 16:29:33 2019 +0100
Split the method to avoid confusing type error message.
commit c5bf24eeaaf902add89ed1b046b22c4a4aaeb2cd
Author: Tomasz Drwięga <tomasz@parity.io >
Date: Tue Dec 3 16:19:55 2019 +0100
Make accounts optional, fix logic.
commit 97db1ef556e023cf6847e5ffdb036c0e3ea6fb0a
Author: Tomasz Drwięga <tomasz@parity.io >
Date: Tue Dec 3 10:06:20 2019 +0100
Remove warning.
commit 535f5c116d1a2e826eaf90c3f7e6798e443d61d8
Merge: 516257217 0f1a5f651
Author: Tomasz Drwięga <tomasz@parity.io >
Date: Tue Dec 3 07:08:05 2019 +0100
Merge branch 'master' into td-signed-transactions
commit 516257217bac89fcebd083712f4ea68b7b23b55a
Merge: ac98248c6 2e68c80c2
Author: Tomasz Drwięga <tomasz@parity.io >
Date: Mon Dec 2 13:57:25 2019 +0100
Merge branch 'master' into td-signed-transactions
commit ac98248c6c56cff381130645a82a13d29933cf83
Author: Tomasz Drwięga <tomasz@parity.io >
Date: Mon Nov 25 17:34:52 2019 +0100
Forgotten import.
commit 67a3c19031506c28e31c6bc4a90fff62d467dd58
Author: Tomasz Drwięga <tomasz@parity.io >
Date: Mon Nov 25 17:32:10 2019 +0100
Fix naming and bounds.
commit 93e768ea9df97a4629fca1f9bc4b108fdb33f876
Author: Tomasz Drwięga <tomasz@parity.io >
Date: Mon Nov 25 17:01:05 2019 +0100
Add documentation to signed transactions and actually make them work.
* grandpa: skip block initialization on report submission method
* primitives: allow transaction pool access by default for offchain calls
* grandpa: unused parameters
* grandpa: remove unused method
* grandpa: enable equivocation reporting
* grandpa: add workaround for parameter encoding
* grandpa: fix localized_payload calls in tests
* fix submit_report_equivocation_extrinsic in runtimes
* node: fix submit transaction test compilation
* node: bump spec_version
* rpc: fix api version test
* grandpa: allow custom equivocation offence type
* grandpa: add test for authorities::next_change_height
* grandpa: cleanup report_equivocation function
* node: move reporting app crypto to node-primitives
* grandpa: move equivocation traits to own module
* grandpa: rename app-crypto crate import
* grandpa: export equivocation types
* node: bump spec_version
* grandpa: rename EquivocationReport to EquivocationProof
* grandpa: add missing docs to primitives
* grandpa: add missing docs to equivocation
* node: fix compilation
* grandpa: add missing docs to pallet
* node: bump spec_version
* fix whitespace
* grandpa: return error on offence reporting
* grandpa: expose session and validator count in proofs through traits
* grandpa: use strong key in module KeyOwnerProofSystem
* grandpa: move key ownership proof to grandpa runtime api
* grandpa: remove unnecessary cloning when checking equivocation proof
* grandpa: make report_equivocation a method in Environment
* support: implement KeyOwnerProofSystem for ()
* grandpa: move KeyOwnerProofSystem to module trait
* test-utils: fix runtime compilation
* grandpa: fix test compilation
* grandpa: fix test compilation after merge
* grandpa: simplify transaction submission types
* grandpa: validate equivocation report in signed extension
* client: fix test
* node: use ValidateEquivocationReport signed extension
* grandpa: expose key ownership proof under opaque type
* grandpa: better docs on key ownership proofs
* grandpa: add note about signed extension
* grandpa: add ValidateEquivocationReport::new
* grandpa: remove skip_initialize_block from runtime api
* grandpa: use new offchain transaction submission API
* grandpa: take set_id in generate_key_ownership_proof
* grandpa: update to finality-grandpa v0.12.2
* grandpa: cleanup usages of AuthoritySet::current
* grandpa: fix test
* grandpa: add mocking utilities for equivocation reporting
* grandpa: add test for equivocation reporting
* grandpa: move SetIdSession initialization
* grandpa: add more tests
* node: enable historical session manager
* node: bump spec_version
* node: use strong key types in KeyOwnerProofSystem definitions
* grandpa: export GrandpaEquivocationOffence type
2020-05-06 17:25:51 +01:00
Marcio Diaz
a1127f8f9d
Fix saturating_mul ( #5925 )
2020-05-06 17:37:02 +02:00
Nikolay Volf
d3d0ccff12
add state trace ( #5924 )
2020-05-06 17:33:48 +02:00
Tomasz Drwięga
66c02fe651
Benchmarks for offences pallet. ( #5851 )
...
* really rough mock runtime
* start to work on offences
* Make sure to start the session.
* Update to latest master.
* Add verify.
* Fix on_initialize benchmark.
* Add grandpa offence.
* Add Babe offence benchmarking.
* Enable babe test.
* Address review grumbles.
* Address review grumbles.
* Address review grumbles part 1/2
* use currency trait
* features
* Check events explicitly.
* Auto-impl tuple converter.
* Removed dead code.
* add test feature flag
* dont use std
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2020-05-06 14:27:47 +02:00
Max Inden
d40bf3cf36
client/authority-discovery: Do not double encode signature ( #5901 )
...
Previously, when publishing ones address onto the DHT, the signature
signing those addresses would be SCALE encoded twice.
This commit removes the second encoding and adjusts the tests
to catch future regressions.
2020-05-06 10:52:44 +02:00
Benjamin Kampmann
3860999ea3
post release dev reset ( #5911 )
2020-05-05 22:08:31 +01:00
Benjamin Kampmann
45886bd197
Release of Alpha.7 ( #5904 )
2020-05-05 20:50:46 +02:00
Joshy Orndorff
c844ba9163
Remove extra backtick in comments ( #5898 )
2020-05-05 15:35:56 +02:00
Bastian Köcher
bc9707b4c5
Use storage::append in the implementation of the storage types ( #5889 )
...
* Start improving `storage_append`
* Fix some stuff
* Fix compilation
* Update docs and add new test
* More tests
* Test kill + append
2020-05-05 15:09:07 +02:00
Kian Paimani
16af2642ff
Fix Reduce Equalise order in offhchain phragmen ( #5892 )
2020-05-05 13:50:42 +02:00
Wei Tang
a00a4ca551
Correct BABE randomness by calculating InOut bytes directly in pallet ( #5876 )
...
* vrf: remove Raw* types
* babe: remove Raw* types
* pallet-babe: switch representation of RawVRFOutput to Randomness
* pallet-babe: calculate inout within the pallet
* Remove make_transcript duplication
* Bump spec version
* Fix frame tests
* and_then -> map
* Always enable u64_backend
* Fix nostd compile
* fix import: should not use std
* Remove unused definition of RawVRFOutput
* Remove unused import of RuntimeDebug
Co-authored-by: Gavin Wood <gavin@parity.io >
2020-05-04 19:51:47 +02:00
Bastian Köcher
9c5536e01a
Expose that BasicQueue expects blocking spawn ( #5860 )
...
* Expose that `BasicQueue` expects blocking spawn
Up to now `BasicQueue` expected a closure that to spawn a `Future`.
This was expected to be a closure that spawns a blocking future.
However, this wasn't documented anywhere. This pr introduces a new trait
`SpawnBlocking` that exposes this requirement to the outside.
* Feedback
2020-05-04 19:40:29 +02:00
Arkadiy Paronyan
4151dc6bfe
Use header cache when creating state. ( #5868 )
...
* Use header cache for state_at
* Fixed warnings
* Update client/db/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2020-05-04 13:47:23 +00:00
Bastian Köcher
51db82bdb9
Fix clippy warnings in generated runtime api code ( #5874 )
2020-05-03 15:31:31 +02:00
Nikolay Volf
34d5db0de6
Another state machine test ( #5875 )
...
* another state machine test
* add more asserts and remove 'remov_then_append'
2020-05-03 15:30:42 +02:00
Bastian Köcher
5b8d3607e9
Adds export-state subcommand ( #5842 )
...
* Export state cli
* More work
* Fix tests
* Make it work
* Fix compilation
* Apply suggestions from code review
2020-04-30 15:44:40 +02:00
Nikolay Volf
c09bb1f350
Use mem::take instead of mem::replace where appropriate ( #5846 )
...
* replace replace with take
* Update client/api/src/cht.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/api/src/cht.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2020-04-30 12:53:36 +00:00
Bastian Köcher
db2e916904
We should panic on division by zero ( #5844 )
2020-04-30 14:01:48 +02:00
cheme
c05ec630ff
Avoid changing overlay committed layer. ( #5839 )
...
* Avoid changing overlay committed layer.
* basic test
* Add some tx in the test.
* only update from backend value on missing entry in both layer.
deleted entry is replace by empty vec.
* test and review changes
* additional test and review change
* remove test on changing existing value, it does not always panic
depending on existing content
* Update primitives/state-machine/src/overlayed_changes.rs
* Update primitives/state-machine/src/overlayed_changes.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2020-04-30 13:59:21 +02:00
Nikolay Volf
a9261cf0ef
use background task to batch for optimum size ( #5832 )
2020-04-30 12:22:52 +02:00
pscott
0f401e4699
Move spawning tasks from thread pools to Service's TaskManager for block importing ( #5647 )
...
Co-Authored-By: Pierre Krieger <pierre.krieger1708@gmail.com >
2020-04-29 18:46:39 +02:00
Wei Tang
521f8ff427
Add support for modules to require inherent to be present ( #5792 )
...
* Add support for modules to require inherent to be present
* Bump node impl version
* Allow is_inherent_required itself to return error
This handles the case if runtime fails to check the inherent data (if the
inherent data is invalid, etc).
* typo: &module -> $module
* fix: iter
2020-04-29 12:05:35 +02:00
Nikolay Volf
986246a102
Replace Condvars with blocking channel ( #5815 )
...
* remove condvars
* return false on lost sender
* fix
* Update primitives/io/src/batch_verifier.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2020-04-28 17:54:52 +02:00
Stanislav Tkach
d870eb23e1
Remove sp-runtime dependency from sp-phragmen ( #5786 )
...
* Remove sp-runtime dependency from sp-phragmen
* Use regular derive(Debug) instead of RuntimeDebug
2020-04-28 17:21:10 +02:00
Seun Lanlege
4fa5941f44
Move sc-client into sc-service ( #5502 )
...
* Drop client from sc-network and sc-client-db, move LongestChain to sc-client-api
* move leaves, cht, in_mem to sc-client-api, drop client from sc-finality-grandpa
* drop sc-service from sc-rpc
* drop sc-service from sc-consensus-aura
* drop sc-client from manual-seal and babe
* drop sc-client from utils/frame/rpc/system and utils/frame/benchmarking-cli
* drop sc-client from bin/node and bin/node-template
* drop sc-client
* fix tests
* remove check -p sc-client from gitlab.yml
* fix warnings
* fixes ui test
* fix light client tests
* adds associated Client type to AbstractService
* adds UsageProvider to Client
* fixed ui test, again
* tried and failed to get node-cli to compile for wasm
* thanks to tomaka for helping me get node-cli to compile for wasmm
* ui test pls pas 🙏🏾
* all tests passing 🪄
* no_run documentation code
* rm -f documentation code
* ClientProvider
* fix mega trait
* move LongestChain to sc-consensus, use adds minimal bounds to AbstractService::Client
* adds license to sc-consensus
Co-authored-by: Benjamin Kampmann <ben@parity.io >
2020-04-28 11:59:31 +00:00
Wei Tang
7784bdeffe
Versioned NextConfigDescriptor for BABE ( #5789 )
2020-04-28 11:50:40 +01:00
Kian Paimani
00378d4092
Fix flaky staking test ( #5812 )
...
* Fix flaky staking test
* Better doc
* Update frame/staking/src/tests.rs
Co-Authored-By: Benjamin Kampmann <ben@gnunicorn.org >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Benjamin Kampmann <ben@gnunicorn.org >
2020-04-28 12:04:23 +02:00
Arkadiy Paronyan
bf61cece1c
Fixed race in batch signature verification ( #5805 )
2020-04-28 00:10:21 +02:00
Kian Paimani
ee54eff488
Enable Offchain Equalise ( #5683 )
...
* Master.into()
* Remove debug stuff
* Better license
* Migrate away from SimpleDispatchInfo
* Fix test
* Revert "Migrate away from SimpleDispatchInfo"
This reverts commit dbdd27fa19948f16bd17defdc01d3dd32986df11.
* Move to offchain randomness
* Fix tests
* Fix tests more
2020-04-27 18:51:46 +02:00
Nikolay Volf
33d00692d8
Add append api and use it to deposit events ( #5795 )
...
* use append api to deposit events
* use optimized append
* one more optimization
* fix bug
* fix issues
* address review
2020-04-27 18:06:59 +02:00
Arkadiy Paronyan
64ed36d093
Support reference-counting state backend. ( #5769 )
...
* Optimize pinning
* Ref counting state backend
* Style
Co-Authored-By: Wei Tang <hi@that.world >
* Update Cargo.lock
* Handle empty node
Co-authored-by: Wei Tang <hi@that.world >
2020-04-27 12:24:50 +02:00
Xiliang Chen
fbc4e7f055
fix Fixed64 ( #5784 )
...
* fix fixed64
* improve
* bump version
2020-04-26 19:39:16 +02:00
Wei Tang
969720c2ad
babe: secondary blocks with VRF ( #5501 )
...
* babe: secondary blocks with VRF
* Fix node runtime compile
* Fix test-utils runtime interface
* Fix babe tests
* typo: v == 2
* babe: support online configuration upgrades
* Fix rpc tests
* Fix runtime version tests
* Switch to use NextConfigDescriptor instead of changing runtime interface
* Fix tests
* epoch-changes: map function that allows converting with different epoch types
* Add migration script for the epoch config change
* Fix docs for PrimaryAndSecondaryVRFSlots
* Add docs of `SecondaryVRF` in babe crate
* babe-primitives: Secondary -> SecondaryPlain
* babe-client: Secondary -> SecondaryPlain
* Fix migration tests
* test-utils-runtime: Secondary -> SecondaryPlain
* Fix missing name change in test-utils-runtime
* Fix migration: Epoch should be EpochV0
* Update client/consensus/babe/src/lib.rs
Co-Authored-By: André Silva <123550+andresilva@users.noreply.github.com >
* Fix new epochChanges version
* Fix babe-primitives naming changes
* Fix merge issues in babe-client
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
Co-authored-by: André Silva <andre.beat@gmail.com >
2020-04-24 16:03:03 +01:00
Bernhard Schuster
72ee7d5797
feat/ocw/bookkeeping ( #5200 )
...
Co-Authored-By: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-Authored-By: Tomasz Drwięga <tomusdrw@users.noreply.github.com >
2020-04-24 16:46:19 +02:00
Wei Tang
770cc24c47
babe: support online configuration upgrades ( #5514 )
...
* babe: support online configuration upgrades
* Switch to use NextConfigDescriptor instead of changing runtime interface
* Fix tests
* epoch-changes: map function that allows converting with different epoch types
* Add migration script for the epoch config change
* Fix migration tests
* Fix migration: Epoch should be EpochV0
* Update client/consensus/babe/src/lib.rs
Co-Authored-By: André Silva <123550+andresilva@users.noreply.github.com >
* Fix new epochChanges version
* Fix unused imports
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
2020-04-24 14:59:14 +01:00
Nikolay Volf
a01e608dff
rename state-trace to storage ( #5766 )
2020-04-24 15:47:00 +02:00
Benjamin Kampmann
37bbe2a319
Exclude sp-*-fuzzer from release process ( #5749 )
2020-04-24 15:34:22 +02:00
Arkadiy Paronyan
59f13e6e0d
Refactored in-mem backed to use the actual trie ( #5730 )
2020-04-23 19:00:36 +02:00
Dan Forbes
ca3f54b4af
Document crypto key identifiers ( #5750 )
2020-04-23 17:10:13 +01:00
Bastian Köcher
46677555ac
Allow missing functions when checking the new runtime's version ( #5741 )
2020-04-23 14:54:52 +02:00
Nikolay Volf
1a41b88430
Full block import benchmark ( #5745 )
2020-04-23 12:55:57 +02:00
Rakan Alhneiti
25751c0562
Offchain signing ( #5182 )
...
* New approach to offchain signing.
* Use in im-online
* Rewrite to use Account<T>
* DRY signing.
* Implement send_raw_unsigned_transaction
* WiP
* Expunge LocalCall
* Expunge LocalCall
* Fix compilation.
* Solve call.
* Make it compile again.
* Finalize implementation.
* Change CreateTransaction
* Clear CreateTransaction.
* Add price payload
* Send raw transaction
* Submit signed payload / unsigned transaction (WIP)
* Supertrait requirements on T::Signature
* Validate signature of payload on an unsigned transaction
* Fix encoding - part 1
* Make it compile.
* Fix compilation of unsigned validator.
* Pass price payload to the transaction
* Make block number part of the signed payload
* Send signed transaction
* Implement all_accounts, any_account
* Fix formatting
* Implement submit_transaction
* Submit signed transaction (ForAll, ForAny)
* Fix formatting
* Implement CreateSignedTransaction
* Move sign and verify to AppCrypto
* Sign transaction
* Call `use_encoded`
* Remove SubmitAndSignTransaction
* Implement runtime using new SigningTypes
* Adapt offchain example to changes
* Fix im-online pallet
* Quick fix: rename AuthorityId2
* Fix offchain example tests
* Add a comment on why keystore is required in unsigned transaction test
* Use UintAuthorityId instead of u64
* WIP
* Remove IdentifyAccount from UintAuthorityId
* Implement PublicWrapper type
* Fix im-online tests
* Fix runtime test
* Bump spec version
* Fix executor tests
* Rename ImOnlineAuthId -> ImOnlineAuthorityId and formatting
* Fix merge
* Documentation
* Revert u64 -> UintAuthorityId conversion
* Fix string errors
* Document public members in offchain module
* Introduce SubmitTransaction
* Update pallets to use SubmitTransaction
* WIP
* Use SubmitTransaction in offchain
* Use `submit_unsigned_transaction`
* Fix tests
* Update docs
* Remove SigningTypes requirement from `SendTransactionTypes`
* Fix tests
* Update frame/system/src/offchain.rs
Co-Authored-By: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Update frame/system/src/offchain.rs
Co-Authored-By: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Update frame/example-offchain-worker/src/tests.rs
Co-Authored-By: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Update frame/system/src/offchain.rs
Co-Authored-By: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Update frame/system/src/offchain.rs
Co-Authored-By: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Remove leftover from previous iterations
* Change enum to struct
* Remove public
* Move mock to node/executor/tests
* Cleanup test-helpers
* Make `application-crypto` `std` feature internal
The macros should not generate code that requires that the calling crate
has a feature with the name `std` defined.
* Revert cargo lock update
* Use TestAuthorityId from common
* Restore members of account to public
* Tidy up imports
* Fix benchmarking pallet
* Add tests demonstrating ForAll, ForAny on signer
* Move definition of AppCrypto
in example-offchain-worker
from tests to mod::crypto
* Cleanup stray comment
* Fix ValidTransaction
* Re-fix CreateSignedTransaction
* Address PR feedback
* Add can_sign method to signer
* Propagate error
* Improve documentation
* Fix vec! macro not available
* Document SendTransactiontypes
* Add some docs.
* Split signing examples
* Add tests for signing examples
* WIP can_sign - PR feedback
* WIP
* Split for_any / for_all into different calls
* Verify payload and signature in test
* Fix can_sign implementation
* Fix impl_version
* Import Box from sp_std
* Create issues for TODOs
* Ignore doctest.
* Add test directly to system. Adjust UintTypes.
* Add some tests to account filtering.
* Remove code samples and point to example offchain worker
* Fix doc links
* Fix im-online tests using signatures.
Co-authored-by: Tomasz Drwięga <tomasz@parity.io >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: Bastian Köcher <git@kchr.de >
2020-04-21 14:55:05 +02:00
Vladimir Komendantskiy
0ce9657db2
added the Polymath subkey ID ( #5705 )
2020-04-20 21:05:45 +02:00
cheme
4ffcf98d8d
Child trie api changes BREAKING ( #4857 )
...
Co-Authored-By: thiolliere <gui.thiolliere@gmail.com >
2020-04-20 15:21:22 +02:00
Bastian Köcher
1d1caed335
Improve tracing ( #5698 )
...
* Improve tracing implementation
* Enable tracing in runtime interfaces
* Switch to `TRACE` level
2020-04-20 14:37:27 +02:00
Pierre Krieger
bc6ebabf23
Force libp2p 0.18.1 ( #5689 )
2020-04-17 23:00:44 +02:00
Gavin Wood
fd2cb9ca83
Transaction versioning in the RuntimeVersion ( #5582 )
...
* Add transaction_version
* Semantic versioning for runtimes
* Move new field to bottom
* Versioning
* Runtime versioning stuff.
* Fix test
* Adds tests and fixes bugs
* Bump runtime
Co-authored-by: Bastian Köcher <git@kchr.de >
2020-04-17 12:10:31 +02:00
Shawn Tabrizi
276b27a7d4
Add migration for transaction-payment ( #5673 )
2020-04-17 09:56:17 +02:00
Kian Paimani
762c741c55
Clean Phragmén Equlise API ( #5452 )
...
* Clean phragmen API and equalise()
* Stabilize new api
* Fix phragmen fuzzers
* More fixes
* Make fuzzers reproducible
* improvements
* Make equalize update assignments as well.
* total function for staked_assignment.
* Fix fuzzer build
* remvoe TODO
* Fix a bunch more.
* clean stray debug stuff
* Update primitives/phragmen/src/lib.rs
Co-Authored-By: thiolliere <gui.thiolliere@gmail.com >
* fix range function
* fix number generator
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
2020-04-17 09:53:30 +02:00
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