Marek Kotewicz
f6f0f1cc16
remove unnecessary block-builder dependency ( #4351 )
2019-12-10 17:53:23 +01:00
Benjamin Kampmann
7120c6e0a9
remove unnecessary client-db dependency ( #4348 )
2019-12-10 17:50:15 +01:00
Weiliang Li
4f2cdb20c1
Rename: primitives/sr-io -> primitives/sp-io ( #4328 )
...
* primitives/sr-io -> primitives/io
* fix
* rename
* runtime-io -> sp-io
* git mv
* fix ci
* remove package name
* fix
* fix
* try minimizing diff
* try minimizing diff again
* try minimizing diff again
2019-12-10 16:08:35 +01:00
Tomasz Drwięga
1f84d6d41d
Fix warnings when compiling runtime. ( #4332 )
...
* Remove warnings when compiling runtime.
* Remove dispatch::Result imports.
* Add missing imports.
* Fix missing vecs. #4333
* Fix oom function.
* Remove superfluous import.
* More warnings.
2019-12-10 14:21:34 +01:00
Bastian Köcher
057e298b1f
Remove cycling dependency from sp-api ( #4343 )
2019-12-10 12:02:10 +01:00
Ashley
25aa988f9b
Update futures and tokio for browser light client ( #673 )
...
* Make availability-store compile for WASM
* Use --manifest-path instead
* Make validation work on wasm!
* Switch to Spawn trait
* Migrate validation to std futures
* Migrate network to std futures
* Final changes to validation
* Tidy up network
* Tidy up validation
* Switch branch
* Migrate service
* Get polkadot to compile via wasm!
* Add browser-demo
* Add initial browser file
* Add browser-demo
* Tidy
* Temp switch back to substrate/master
* tidy
* Fix wasm build
* Re-add release flag
* Switch to polkadot-master
* Revert cli tokio version to avoid libp2p panic
* Update tokio version
* Fix availability store tests
* Fix validation tests
* Remove futures01 from availability-store
* Fix network tests
* Small changes
* Fix collator
* Fix typo
* Revert removal of tokio_executor that causes tokio version mismatch panic
* Fix adder test parachain
* Revert "Revert removal of tokio_executor that causes tokio version mismatch panic"
This reverts commit cfeb50c01d8df5e209483406a711e64761b44ae9.
* Update availability-store/src/worker.rs
Co-Authored-By: Pierre Krieger <pierre.krieger1708@gmail.com >
* Update network/src/lib.rs
Co-Authored-By: Pierre Krieger <pierre.krieger1708@gmail.com >
* Update network/src/lib.rs
Co-Authored-By: Pierre Krieger <pierre.krieger1708@gmail.com >
* Box pin changes
* Asyncify network functions
* Clean up browser validation worker error
* Fix av store test
* Nits
* Fix validation test
* Switch favicon
* Fix validation test again
* Revert "Asyncify network functions"
This reverts commit f20ae6548dc482cb1e75bc80641cfe55c6131a53.
* Add async blocks back in
2019-12-10 11:58:22 +01:00
h4x3rotab
ddfdd091ba
Wrong feature name disable_allocator in sr-io ( #4342 )
...
This fixes the inconsistency:
- Cargo.toml: `disable_allocator`
- lib.rs: `disable_global_allocator`
2019-12-10 10:31:02 +01:00
Weiliang Li
6da9f59d72
Rename: primitives/sr-std -> primitives/sp-std ( #4327 )
...
* primitives/sr-std -> primitives/std
* fix
* fix conflict
* rstd -> sp-std
* git mv
* fix review
* fix merge
2019-12-10 08:26:27 +01:00
Weiliang Li
448dbc89a5
Fix check-polkadot ( #4341 )
...
Follows #4317
2019-12-10 07:39:21 +01:00
Weiliang Li
ac15976b9b
Fix build for full_crypto ( #4339 )
...
* fix tests for full_crypto
* fix
* bump libsecp256k1
* try fixing polkadot
* Update .gitlab-ci.yml
* Update .gitlab-ci.yml
2019-12-10 07:38:43 +01:00
Tomasz Drwięga
638e32fa8f
Remove depenendcy on sc-consensus-slots ( #4321 )
2019-12-09 23:37:33 +01:00
Gavin Wood
df3ea965e7
Bump Substrate, add Identity module ( #676 )
...
* Bump Substrate, add Identity module
* Bump Substrate again
2019-12-09 23:35:42 +01:00
Bastian Köcher
a868fcbbbf
Fix compilation of sp-authorship ( #4337 )
2019-12-09 21:18:29 +01:00
thiolliere
e5b6935c2a
Introduce prefixed storage with enumeration ( #4185 )
...
* Introduce storage_next allowing iteration. (without childtries)
* Implement prefixed storage
* impl cache in client_storage_cache (needs test)
* switch overlay change to btreemap
* Revert "impl cache in client_storage_cache"
This reverts commit c91a4848916eba87184b3dc4722cea81aec9339d.
the storage cache cannot be used this way
* Revert "Implement prefixed storage"
This reverts commit 4931088126a427082d7310ed7e83b8eea966bc20.
* Impl StoragePrefixedMap for all map storages
* remove comment
* Move all overlays to BTreeMap
* btreemap iteration improvment
* impl for child tries
* impl tests for childs
* fix
* remove cache comment
* Fix grumble
2019-12-09 20:55:11 +01:00
Pierre Krieger
fb1eb9d9e4
Fix panic in telemetry ( #4336 )
2019-12-09 20:40:52 +01:00
Bastian Köcher
2cb4e8db4d
Don't assume a fixed length for endowed_accounts ( #4330 )
2019-12-09 20:26:12 +01:00
Marcio Diaz
d4c19c0652
Limit number of uncles that can be provided. ( #4298 )
...
* Limit number of uncles that can be provided.
* Check length of uncles vector on inherent.
* Set fatal error to true for too many uncles.
* Take max uncles in create_inherent.
2019-12-09 20:10:41 +01:00
Andrew Jones
f1b8ee4e6e
sp-transaction-pool-api: make default std, remove unused sp-core dependency ( #4335 )
...
* transaction-pool-api: use primitives/std
* transaction-pool-api: make primitives default-features = false
* transaction-pool-api: make default feature std
* transaction-pool-api: remove redundant primitives dependency
2019-12-09 18:47:57 +01:00
Leo Arias
ef562cd70c
Fix typo in comment ( #671 )
2019-12-09 17:08:05 +01:00
Stanislav Tkach
ba2dd3a4b5
Replace Substrate mentions in license headers with Polkadot ( #674 )
2019-12-09 17:07:35 +01:00
Gavin Wood
697b480bac
More comprehensive identity system ( #4326 )
...
* Initial prototype
* Work on test harness.
* Minor removal
* Add some tests
* Fix tests
* More tests
* Final tests
* General documentation
* Function-level docs.
* Function-level docs.
* Identity fields.
* Fix dependency
* Docs
* Spelling nits
* Address grumbles.
2019-12-09 16:28:20 +01:00
Benjamin Kampmann
8e4b40278c
Remove slog-async Github ( #4329 )
...
* add local copy of async-record
* Minor clean ups to latest rust and necessity
* styling fixes
* nitpicky fixes
2019-12-09 15:47:29 +01:00
Marcio Diaz
d82e4b7761
Use header metadata in state full and refactor. ( #3757 )
...
* Use header metadata in state full and refactor.
* better log
Co-Authored-By: Tomasz Drwięga <tomusdrw@users.noreply.github.com >
* Apply review suggestions.
2019-12-09 14:47:46 +01:00
Weiliang Li
04fcc71809
Rename folder: primitives/sr-primitives -> primitives/runtime ( #4280 )
...
* primitives/sr-primitives -> primitives/runtime
* update
2019-12-09 08:49:32 +01:00
Bastian Köcher
7fa1d0e5ae
Merge pull request #32 from paritytech/CI_optimizations
...
CI optimizations
2019-12-08 14:31:46 +01:00
Bastian Köcher
94b6921d03
Fix check_polkadot CI check ( #4317 )
...
* Fix `check_polkadot` CI check
* Another try
* Use path overrides
* Last fix
* Update .gitlab-ci.yml
* Fix wasm builder
* Update wasm_project.rs
2019-12-07 23:36:47 +01:00
thiolliere
b8ac094649
allow storage value build to put no value ( #4319 )
2019-12-07 15:30:57 +01:00
ddorgan
cbd85e65b6
New protocolid for flaming fir ( #4323 )
2019-12-07 15:30:05 +01:00
Ashley
3d7ad6fb28
Disable record_metrics_slice in grafana macro on wasm ( #4312 )
...
* Disable record_metrics_slice in grafana macro on wasm
* Update client/grafana-data-source/src/lib.rs
* Revert "Update client/grafana-data-source/src/lib.rs"
This reverts commit 888009a8e0b7051bd4bfbbfdb0448bcf2e2aae93.
2019-12-07 15:29:50 +01:00
Tomasz Drwięga
3805393a13
Merge txpool-runtime-api with txpool-api ( #4320 )
...
* Remove transaction-pool-runtime-api
* Merge runtime-api with transaction-pool.
2019-12-06 17:24:17 +01:00
Max Inden
70db5da6c4
client/authority-discovery: Warn when specifying too many sentry nodes ( #4314 )
2019-12-06 13:42:28 +01:00
Denis P
1194e68166
CI optomizations
2019-12-06 10:13:21 +01:00
Shaopeng Wang
c2e6b91794
Perthings: derive PartialOrd and Ord under no_std. ( #4309 )
2019-12-06 09:52:42 +01:00
Gavin Wood
533c80ad21
Bump Substrate ( #664 )
2019-12-05 22:09:34 +01:00
Gavin Wood
5e664ede13
Fix order of operation in membership ( #4306 )
2019-12-05 21:35:12 +01:00
Tomasz Drwięga
145086722d
Fix Contracts rpc output format. ( #4304 )
2019-12-05 21:04:19 +01:00
Gavin Wood
e4fd321c75
Increase nick deposit (10 KSM) and require 2 councillors to slash ( #663 )
2019-12-05 20:18:51 +01:00
Gavin Wood
37ed154535
Allow members of groups to change their key ( #4300 )
2019-12-05 16:57:25 +01:00
Shawn Tabrizi
5e6f339a97
Change order of events emitted from transfer. ( #4301 )
2019-12-05 16:05:54 +01:00
Max Inden
af3fc1d95a
client/authority-discovery: Limit the amount of sentries per authority ( #4302 )
...
When receiving more addresses for a given authority than a defined
threshold (5), the authority discovery drops the remaining in order to
prevent a single authority to fill all priority group slots.
2019-12-05 16:05:42 +01:00
Pierre Krieger
2231c06294
Move legacy_proto to protocol ( #4296 )
...
* Move legacy_proto to protocol
* Edition 2018ize legacy_proto
* Some basic documentation
2019-12-05 14:02:48 +01:00
Max Inden
e126ca9b2c
client/authority-discovery: Increase margins for interval test ( #4297 )
...
`interval_at_is_queuing_ticks` test shows to be flaky. This commit
increases the time margins while also reducing the amount of necessary
time ticks.
2019-12-05 14:01:59 +01:00
Tomasz Drwięga
7714bfca8e
Tone down warnings when resubmitting to the pool. ( #4294 )
...
* Tone down warnings.
* Fix the fix.
* Add some debug info.
* More logs.
* Update logging.
2019-12-05 13:02:21 +01:00
Tomasz Drwięga
c42cdf185c
Use balance capped to u64 for transaction payment RPC. ( #4290 )
...
* Use balance capped to u64
* Add debug.
2019-12-05 13:01:40 +01:00
Yuanchao Sun
e2bf02f138
Minor fix toml files ( #4291 )
2019-12-05 13:00:45 +01:00
Spencer Judge
0a3f326e56
Expose some of session module's storage as public, as well as the set_keys transaction ( #4175 )
...
* Expose some of session's storage as public, as well as set_keys
Seemingly there's no reason not to do this, as anyone can always do
it the "hard way" by constructing storage keys or extrinsics.
* Use trait to expose `is_registered` function
* Missed removing a pub keyword
* Move trait to support, add docstrings
2019-12-05 10:42:42 +01:00
Drew Stone
03a3993541
Add linear back-off for aura slot workers ( #4293 )
...
* Add linear back-off for aura slot workers
* logging
* Use slot from header
2019-12-05 10:07:58 +01:00
Gavin Wood
040b0dbea2
Update Substrate ( #661 )
...
* Make compat with exit-future updates
* Update exit-future entirely
* Tidy
* Bump Substrate
2019-12-04 19:56:16 +01:00
Max Inden
3c04635176
client/authority-discovery: Fix interval_at to fire on start ( #4274 )
...
* client/authority-discovery: Add smoke tests for intervall_at
* client/authority-discovery: Fix interval_at to fire on start
2019-12-04 19:19:52 +01:00
Tomasz Drwięga
1628ba3388
Revalidate some transactions on every block import. ( #4292 )
...
* Revalidate some transactions on every block import.
* Fix endless loop in revalidate_ready.
* Clean up logging a bit.
* More clean ups.
* Print status after resubmitting.
* Remove env_logger.
* Remove redundant log.
2019-12-04 19:16:00 +01:00