s0me0ne-unkn0wn
1cb1d03c08
Re-export current primitives in crate root ( #6487 )
...
* Re-export current primitives in crate root
* Add missing exports
* restart CI
2023-01-11 11:28:12 +00:00
alexgparity
6d83525b50
Replace parachain/parathread boolean by enum ( #6198 )
...
* Replace parachain/parathread boolean by enum
* Address PR comments
* Update dependencies
* ParaType -> ParaKind
* Swap enum field order to avoid migration
* Rename paratype field to parakind
* Manual en-/decocing of Parakind
* Manual TypeInfo for ParaKind
* rename field back to parachain
* minor
* Update runtime/parachains/src/paras/mod.rs
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
* Manual serde Serialize and Deserialize for ParaKind
* cargo fmt
* Update runtime/parachains/src/paras/mod.rs
Co-authored-by: Andronik <write@reusable.software >
* Add test for serde_json encoding/decoding
* Move serde_json dep to dev-deps
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
Co-authored-by: Andronik <write@reusable.software >
2022-11-01 18:34:16 +01:00
Aaro Altonen
2a9800f20a
Companion for paritytech/substrate#12264 ( #5973 )
...
* Companion for paritytech/substrate#12198
* Use `ProtocolName` from sc-network-common
* Update node service
* Revert Cargo.lock changes
* Fix node service test
* cargo-fmt
* disable cancel-pipeline-test-linux-stable to check companion
* update lockfile for {"substrate"}
Co-authored-by: alvicsam <alvicsam@gmail.com >
Co-authored-by: parity-processbot <>
2022-09-26 13:15:41 +00:00
ZhiYong
4262e80377
Companion for substrate#11983. ( #5992 )
...
* Companion for substrate#11983.
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-09-26 08:26:44 +00:00
Michal Kucharczyk
85f9ad25fe
Remove CanAuthorWith trait ( #5986 )
...
* Remove CanAuthorWith trait
CanAuthotWith trait removed. Also all dependencies, parameters, type
paramers were removed. This is related to removal of native runtime.
* update lockfile for {"substrate"}
* Ensure we use unique directories after the recent change to `new_temp_dir`
Co-authored-by: parity-processbot <>
Co-authored-by: Bastian Köcher <info@kchr.de >
2022-09-13 13:38:29 +00:00
Sergej Sakac
8ea6076fe5
Companion for #11981 ( #5915 )
...
* Companion for #11981
* more renaming
* fmt
* fixes
* add generic type
* Companion for #11831
* fix
* revert changes
* Delete rename-outer-enum.diff
* revert
* Update run_benches_for_runtime.sh
* rename type Call & type Event
* passing tests
* fmt
* small fixes
* commit
* fix
* fmt
* commit
* error fixes
* fix
* small fix in test
* Update lib.rs
* Update lib.rs
* Update lib.rs
* Update lib.rs
* Update lib.rs
* Update lib.rs
* Update lib.rs
* remove RuntimeCall from pallet_grandpa
* last fix
* commit
* rename
* merge fix
* update lockfile for {"substrate"}
* cargo +nightly fmt
* fix
Co-authored-by: parity-processbot <>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2022-09-12 23:03:47 +00:00
Bastian Köcher
c3404d109d
Companion for new Trie cache ( #5897 )
...
* Switch to Substrate branch
* Make everything compile
* Revert "Switch to Substrate branch"
This reverts commit cbbab7431a07cfd645428a9f4c130362a8e7588b.
* Remove stuff
* More fixes
* Fix branch
* Update Substrate
* FMT
2022-08-18 21:35:56 +00:00
Nazar Mokrynskyi
f1dce2f548
Trivial networking changes for Substrate PR #11940 ( #5841 )
...
* Trivial networking changes for Substrate PR https://github.com/paritytech/substrate/pull/11940
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-08-09 19:37:31 +00:00
Nikos Kontakis
8a947d4c5d
Renaming CLI prunning and keep-blocks flags ( #5863 )
...
* Renaming CLI prunning and keep-blocks flags
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-08-08 10:15:08 +00:00
Andronik
b1f8445d62
malus: add finality_delay cli flag ( #5770 )
...
* add malus_finality_delay flag
* cargo update -p sp-io
* no warnings when malus is disabled
* subpar workaround for feature unification problem
* remove malus_finality_delay from regular cli
* document finality_delay param, rename cli arg
2022-07-22 23:24:33 +00:00
Koute
d9eff4ecd4
Switch to pooling copy-on-write instantiation strategy for WASM (companion for Substrate#11232) ( #5337 )
...
* Switch to pooling copy-on-write instantiation strategy for WASM
* Fix compilation of `polkadot-test-service`
* Update comments
* Move `max_memory_size` to `Semantics`
* Rename `WasmInstantiationStrategy` to `WasmtimeInstantiationStrategy`
* Update a safety comment
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-05-19 13:06:34 +02:00
Niklas Adolfsson
804d0f38a5
companion for #8783 - jsonrpsee ( #4344 )
...
* add jsonrpsee glue code
* diener --substrate dp-jsonrpsee-integration-2
* cargo fmt
* update substrate
* fix build
* update substrate
* fix tests
* update substrate
* update substrate
* revert Cargo.toml
* revert changes in Cargo.toml
* jsonrpsee v0.11
* fix staking miner
* chore: update jsonrpsee v0.12
* update companion
* update companion
* fix changes in substrate
* revert requires_full_sync removal
* fix: read WS address from polkadot output
* fit nits
* fix more nits
* update lockfile for {"substrate"}
* cargo fmt
Co-authored-by: parity-processbot <>
2022-05-10 12:13:38 +02:00
Bernhard Schuster
abf882c591
dyn overseer channel capacity ( #5454 )
...
* allow runtime adjustment of signal channel size
Closes #5436
2022-05-05 17:22:17 +02:00
Koute
b049d4f1c9
Add hardware benchmark telemetry (Companion for Substrate#11062) ( #5206 )
...
* Align to changes in Substrate
* Align to the newest changes in substrate
* Rename `--disable-hardware-benchmarks` to `--no-hardware-benchmarks`
* Fix `polkadot-test-service` compilation
* Fix compilation of test parachains
2022-04-26 09:16:31 +00:00
Squirrel
c01a9ea524
polkadot-like testnets should be 10 decimal places ( #5369 )
...
* polkadot is 10 decimal places
* cargo fmt
* Update node/service/src/chain_spec.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* name change
* update test also
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-04-25 17:17:11 +00:00
Oliver Tale-Yazdi
eec58039f1
Parachain runtime dependent weights ( #5091 )
...
* Prepare for parachain runtime dependent weights
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Lockfile
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* CI
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* CI
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* CI
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-03-12 19:37:24 +00:00
Oliver Tale-Yazdi
2b8f6e9d0a
Runtime dependent weights ( #5064 )
...
* Copy Substrate weights into each runtime
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Define weights per runtime
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Do the same for test-runtime
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix CI
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Generate multiplier tests via macro
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix CI
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix imports
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix test
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix imports
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Change rococo tests to use ExtrinsicBaseWeight
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix imports
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Spellcheck on
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Spellcheck on
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Spellcheck
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Re-Export weight constants in the runtime
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Prepare for cumulus companion
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2022-03-11 16:36:08 +00:00
Robert Habermeier
49f7e5cce4
Finish migration to v2 primitives ( #5037 )
...
* remove v0 primitives from polkadot-primitives
* first pass: remove v0
* fix fallout in erasure-coding
* remove v1 primitives, consolidate to v2
* the great import update
* update runtime_api_impl_v1 to v2 as well
* guide: add `Version` request for runtime API
* add version query to runtime API
* reintroduce OldV1SessionInfo in a limited way
2022-03-09 14:01:13 -06:00
Arkadiy Paronyan
1bdcf537f0
Companion PR for storage changes ( #4837 )
...
* Update for latests substrate
* update substrate
2022-03-04 13:27:10 +01:00
Bernhard Schuster
aa2af6a460
allow overseer to be enabled anyways ( #4840 )
...
Closes #4763
2022-02-07 10:46:27 +01:00
Bastian Köcher
8756678a83
polkadot-test-service: Enable wasmtime feature ( #4762 )
...
We use the `Compiled` wasm execution and for that the `wasmtime` needs
to be enabled.
2022-01-21 15:18:21 +00:00
sandreim
0da05cac26
Remove sleep from tests ( #4639 )
...
* Remove sleep and use polkadot test service
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* updates
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fix other tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Run metrics tests separately
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* copy some substrate utilities
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* update runtime metric test
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Remove sleep from cli tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* cargo
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Polkadot companion for Substrate#10463 (#4519 )
* Grandpa and Beefy protocol names include chain id
Signed-off-by: acatangiu <adrian@parity.io >
* chain_spec: include fork id
* use simplified protocol name
* fix after merge
* avoid using hash default, even for protocol names
* update lockfile for substrate
Co-authored-by: parity-processbot <>
* configuration: Update upgrade validation delay doc (#4662 )
* typo
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* review feedback
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* cargo lock
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* use testnet profile
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Don't run with runtime-benchmark feature
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* conditional compile up one level
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
Co-authored-by: Sergei Shulepov <sergei@parity.io >
2022-01-10 11:00:46 +00:00
Adrian Catangiu
80606491e4
Polkadot companion for Substrate#10463 ( #4519 )
...
* Grandpa and Beefy protocol names include chain id
Signed-off-by: acatangiu <adrian@parity.io >
* chain_spec: include fork id
* use simplified protocol name
* fix after merge
* avoid using hash default, even for protocol names
* update lockfile for substrate
Co-authored-by: parity-processbot <>
2022-01-05 17:43:08 +00:00
Sergei Shulepov
72a92eaf9e
configuration: Rename validation_upgrade_{frequency -> cooldown} ( #4635 )
...
This just renames a member of `HostConfiguration` from
validation_upgrade_frequency to -//-_cooldown.
As was already pointed out in #4460 the existing name is a misnomer, the
member actually represents a minimum time period between upgrades, which
is neatly expressed by a word cooldown.
I've been planning this rename already for some time and the term is
already used in paras module:
https://github.com/paritytech/polkadot/blob/1394b70d493a3b4bea7a9ae14af094081bc84456/runtime/parachains/src/paras.rs#L1568-L1574
2021-12-30 20:24:47 +00:00
Sergei Shulepov
3c226d9dcf
configuration: Consistency checks for PVF pre-checking ( #4580 )
...
As was suggested by Alexander Popiak [here][comment], this commit
checks the consistency of the configuration.
[comment]:
https://github.com/paritytech/polkadot/pull/4420#discussion_r764796519
2021-12-28 14:53:52 +01:00
Gavin Wood
ca72ad636c
Companion #10403 : Remove Default for AccountId ( #4500 )
...
* Some work
* Fixes
* Tests builds
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Formatting
* Formatting
* Fix
* Fixes
* Fixes
* Fixes
* Fixes
* Update Cargo.lock
* Bump
* Fixes
2021-12-14 08:17:26 +01:00
Keith Yeung
54423f8b8a
Add CheckNonZeroSender to runtime configs ( #4493 )
...
* Add CheckNonZeroSender to runtime configs
* cargo fmt
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
2021-12-12 11:22:08 +01:00
Doordashcon
11d343e258
Extract Runtime Constants into Separate Crates ( #4456 )
...
* kusama-runtime-constants created
* polkadot_runtime_constants added
* runtime constants extracted
* update node
* cargo +nightly fmt
* Delete constants.rs
* update Cargo.toml
* 2021
* runtime constants update
* utils
* utils
* node test service
* Update runtime/rococo/constants/Cargo.toml
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* runtime-native
* bridge messages
* re-export DOLLARS
* Update runtime/westend/Cargo.toml
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update runtime/test-runtime/Cargo.toml
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* std feature
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2021-12-11 08:10:32 +01:00
Éloïs
916497e5db
Companion for #10177 (Make wasm runtime cache size configurable) ( #4466 )
...
* bind param runtime_cache_size
* upgrade substrate
* fix tests compilation
2021-12-09 20:42:00 +01:00
Kian Paimani
24823d93b6
companion for substrate/10013 ( #4078 )
...
* companion for substrate/10013
* remove in buffer
* update Substrate
Co-authored-by: parity-processbot <>
2021-10-14 12:20:00 +00:00
Bastian Köcher
53bc313f9d
Substrate companion for #9966 ( #4037 )
...
* Substrate companion for #9966
* Bump spec_versions
* Update Substrate
2021-10-08 17:29:16 +02:00
Andrew Jones
4c7539cab5
Companion for #8615 : enrich metadata with type information ( #3336 )
...
* Use beefy branch with scale-info
* Add patches
* Sprinkle some TypeInfo derives
* Add some TypeInfo deriv
* Cargo.lock
* Derive TypeInfo and skip type params for Xcm types
* Cargo.lock
* Fix up scale_info bounds attributes
* Fix up dependencies
* Use my own beefy-primitives branch
* Bump BEEFY
* Update patches
* Add some scale-info dependencies and TypeInfo derives
* More TypeInfo decoration
* Update scale-info
* Some TypeInfos and remove more Event pallet::metadata
* Moar TypeInfos
* TypeInfos galore, fix up metadata runtime API
* TypeInfo
* TypeInfos, update other runtime metadata APIs
* Fix up Kusama, comment out some `usize` QueueSize parameter types
* Remove local diener patches
* Cargo.lock
* Cargo.lock
* Update to scale-info crates.io release
* Update primitive-types branch
* Update pallet-beefy to use custom branch
* Update other parity-common deps
* Update parity-common patches
* bump a bunch of deps in parity-common
* Remove parity-common patches
* Bump finality-grandpa version
* Cargo.lock
* Update scale-info to 0.9.1
* Add recursion_limit for runtime-parachains
* Add some scale_info attributes
* Cargo.lock
* Revert finality-grandpa bump
* Cargo.lock, scale-info update
* cargo update
* Make sure using patched version of finality-grandpa
* Use patched scale-info
* Update to scale-info 0.10.0
* Update finality-grandpa
* Cargo.lock
* Update beefy deps
* Update beefy deps again
* Add scale-info dependency
* Remove deprecated pallet::metadata attributes.
* Add some missing scale-info deps and derives
* Use some variant struct call syntax
* Add missing TypeInfo impl
* Add some more TypeInfo impls
* Convert some call enum struct variant constructors
* More scale-info deps and derives
* Call enum struct variants
* TypeInfo derives
* Call enum variant structs
* scale-info deps and derives
* Call enum variant struct constructors
* Use beefy-primitives scale-info feature
* Use grandpa-bridge-gadget master branch
* Remove finality-grandpa patch
* Add missing scale_info dependency and derive
* Fix up some call variant constructors
* Add missing scale_info dependency
* Fix some test errors
* More TypeInfo derives
* More call variant structs
* Call variant structs in tests
* Cargo.lock
* Fmt
* Fix more call struct variants
* Another call struct variant
* add scale-info/std features explicitly
* More call struct variants
* Add missing scale-info dependency
* Fmt
* review: activate scale-info/std where missing
* Remove some duplicate std feature activation
* review: add scale_info bounds() attr
* More call variant structs
* Remove recursion limit
* Update beefy-primitives
* Update beefy-primitives
* Fix simnet call variant struct errors
* Fmt
* cargo update -p beefy-primitives
* Add some missing TypeInfo derives
* Fix some call variants
* Fix some call variant underscores
* Cargo.lock
* Cargo.lock
* Add missing TypeInfo derive
* Add some more missing TypeInfo derives
* Even more missing TypeInfo derives
* Add TypeInfo derives to new xcm types
* Fmt
* Cargo.lock
* Add missing TypeInfo impls
* Cargo.lock
* More missing TypeInfos
* Fixes
* Cargo.lock
* Cargo.lock
* Add TypeInfo impls to xcm v2
* Update to scale-info 1.0
* Update finality-grandpa 0.14.4, patch for now
* Update beefy
* Remove patched finality-grandpa
* Add TypeInfo impl to Outcome
* Fixes
* Call variant struct
* Call variant struct
* Fix test
* Add TypeInfo impl
* Cargo.lock
* Cargo.lock
* Cargo.lock
* git checkout master Cargo.lock
* update Substrate
* Add missing scale-info features for beefy-primitives
* Fmt
* Remove check for now
* Update beefy-primitives, removes scale-info feature
* Update beefy-primitives again
Co-authored-by: adoerr <0xad@gmx.net >
Co-authored-by: Andronik Ordian <write@reusable.software >
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
Co-authored-by: parity-processbot <>
Co-authored-by: Bastian Köcher <info@kchr.de >
2021-09-15 15:38:45 -05:00
Bastian Köcher
a2cea3a314
Substrate Companion #9737 ( #3830 )
...
Co-authored-by: parity-processbot <>
Co-authored-by: kianenigma <kian@parity.io >
2021-09-12 14:25:58 +01:00
Gavin Wood
8b80b283d4
XCM v2: Scripting, Query responses, Exception handling and Error reporting ( #3629 )
...
* Intoduce XCM v2
Also some minor fix for v0/v1
* Minor version cleanup
* Minor version cleanup
* Introduce SendError for XcmSend trait to avoid cycles with having Outcome in Xcm
* comment
* Corrent type
* Docs
* Fix build
* Fixes
* Introduce the basic impl
* Docs
* Add function
* Basic implementation
* Weighed responses and on_report
* Make XCM more script-like
* Remove BuyExecution::orders
* Fixes
* Fixes
* Fixes
* Formatting
* Initial draft and make pallet-xcm build
* fix XCM tests
* Formatting
* Fixes
* Formatting
* spelling
* Fixes
* Fixes
* spelling
* tests for translation
* extra fields to XCM pallet
* Formatting
* Fixes
* spelling
* first integration test
* Another integration test
* Formatting
* fix tests
* all tests
* Fixes
* Fixes
* Formatting
* Fixes
* Fixes
* Formatting
* Bump
* Remove unneeded structuring
* add instruction
* Fixes
* spelling
* Fixes
* Fixes
* Formatting
* Fixes
* Fixes
* Formatting
* Introduce and use VersionedResponse
* Introduce versioning to dispatchables' params
* Fixes
* Formatting
* Rest of merge
* more work
* Formatting
* Basic logic
* Fixes
* Fixes
* Add test
* Fixes
* Formatting
* Fixes
* Fixes
* Fixes
* Nits
* Simplify
* Spelling
* Formatting
* Return weight of unexecuted instructions in case of error as surplus
* Formatting
* Fixes
* Test for instruction count limiting
* Formatting
* Docs
2021-08-26 12:41:16 +02:00
Ashley
d88dec65fb
Companion PR for 'Make choosing an executor an explicit part of service construction' ( #9525 ) ( #3615 )
...
* Companion PR
* Update a few files
* Run cargo fmt
* Do better at renaming things
* More renamings
* More fixes
* oops
* Fix simnet problems
* fix compilation
* Update substrate
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
2021-08-18 13:26:30 +00:00
David
9607487442
Companion PR for 'Remove substrate-in-the-browser #9541 ' ( #3652 )
...
* Remove telemetry external transport member
* Make it compile
* Remove more
Co-authored-by: Bastian Köcher <info@kchr.de >
2021-08-17 22:54:10 +00:00
Ashley
5b54c8cae9
Companion PR for 'Simplify NativeExecutionDispatch and remove the native_executor_instance!' (9562) ( #3643 )
...
* Companion PR
* Add test executors
* Change comment to doc comment
* Update node/test/service/src/lib.rs
* Improve comments
* update Substrate
Co-authored-by: parity-processbot <>
2021-08-16 15:44:56 +00:00
Marek Kotewicz
276dc1981e
companion pr for substrate:auto_db ( #3590 )
...
* companion pr for substrate:auto_db
* update Substrate
Co-authored-by: parity-processbot <>
2021-08-09 13:59:48 +00:00
Bastian Köcher
2cfda98aca
Change pallet naming in test-runtime ( #3551 )
...
* Change pallet naming in test-runtime
This is required to make the `well_know_keys::ACTIVE_CONFIG` match the
`ActiveConfig` key.
* Use correct name
* 🤦
2021-08-02 10:54:54 +00:00
Shawn Tabrizi
ff5d56fb76
cargo +nightly fmt ( #3540 )
...
* cargo +nightly fmt
* add cargo-fmt check to ci
* update ci
* fmt
* fmt
* skip macro
* ignore bridges
2021-08-02 10:47:33 +00:00
Andronik Ordian
bd9b743872
enable disputes ( #3478 )
...
* initial integration and migration code
* fix tests
* fix counting test
* assume the current version on missing file
* use SelectRelayChain
* remove duplicate metric
* Update node/service/src/lib.rs
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
* remove ApprovalCheckingVotingRule
* address my concern
* never mode for StagnantCheckInterval
* REVERTME: some logs
* w00t
* it's ugly but it works
* Revert "REVERTME: some logs"
This reverts commit e210505a2e83e31c381394924500b69277bb042e.
* it's handle, not handler
* fix a few typos
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
2021-07-26 14:46:31 +02:00
Denis Pisarev
fc253e6e4d
WIP: CI: add spellcheck ( #3421 )
...
* CI: add spellcheck
* revert me
* CI: explicit command for spellchecker
* spellcheck: edit misspells
* CI: run spellcheck on diff
* spellcheck: edits
* spellcheck: edit misspells
* spellcheck: add rules
* spellcheck: mv configs
* spellcheck: more edits
* spellcheck: chore
* spellcheck: one more thing
* spellcheck: and another one
* spellcheck: seems like it doesn't get to an end
* spellcheck: new words after rebase
* spellcheck: new words appearing out of nowhere
* chore
* review edits
* more review edits
* more edits
* wonky behavior
* wonky behavior 2
* wonky behavior 3
* change git behavior
* spellcheck: another bunch of new edits
* spellcheck: new words are koming out of nowhere
* CI: finding the master
* CI: fetching master implicitly
* CI: undebug
* new errors
* a bunch of new edits
* and some more
* Update node/core/approval-voting/src/approval_db/v1/mod.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* Update xcm/xcm-executor/src/assets.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* Apply suggestions from code review
Co-authored-by: Andronik Ordian <write@reusable.software >
* Suggestions from the code review
* CI: scan only changed files
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-07-14 19:22:58 +02:00
Seun Lanlege
ab9c86d5e7
Introduce test runner biolerplate ( #2609 )
...
* adds test-runner boilerplate
* revert to master
* Update node/test/runtime/Cargo.toml
Co-authored-by: Andronik Ordian <write@reusable.software >
* fix warning
* use polkadot_development_config
* remove vestigial code
* ...
* remove unused dependencies
* adds simnet binary
* adds simnet binary
* merged with remote
* dummy to check pipeline
* add 2 docker files and a build cmd
* adds logging
* atempt to use binary from build host
* fix simnet-binary
* fix docker commands
* switch branches
* ...
* update docker file
* update the dockerfile 2
* add some message in the cheatsheet
* add repo to chaches stage also
* update paths
* do only 1 stage build
* add time when build cmd started
* remove debugg commands
* polkadot-simnet-substrate-working-version-v1
* reduce size of polkadot-simnet image
* update test runner api
* update test-runner
* ...
* revert to master
* Merge branch 'master' of github.com:paritytech/polkadot into substrate-test-runner
* bump impl version
* remove unused imports, fix test
* was_binary.to_vec()
* Apply suggestions from code review
Co-authored-by: Andronik Ordian <write@reusable.software >
* ...
* remove unused import
* remove unused import
* adds post upgrade test
* dry code
* revert spec_version
* update Cargo.lock
* tested and it works
* compare runtime spec version
* fix spaces, remove docker files
* replace spaces with tabs
* Update runtime/polkadot/src/lib.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* ...
* revert Cargo.lock
* bump cargo.lock
Co-authored-by: Andronik Ordian <write@reusable.software >
Co-authored-by: radupopa2010 <radupopa2010@yahoo.com >
Co-authored-by: CI system <>
2021-07-13 16:45:27 +01:00
Bernhard Schuster
3c9104daff
refactor overseer into proc-macro based pattern ( #2962 )
2021-07-08 21:09:26 +02:00
Andronik Ordian
373a545118
make it easier to dbg stalls ( #3351 )
...
* make it easier to dbg
* revert channel sizes
* BAnon
2021-07-02 21:09:18 +02:00
Shawn Tabrizi
6b1baba490
Use max_code_size and max_wasm_data_size from Parachains Configuration ( #3329 )
...
* use `configuration::config()` for max bytes
* Update integration_tests.rs
* Update paras_registrar.rs
* remove consts
* add asserts for non-zero
* more const clean up
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::paras_registrar --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_paras_registrar.rs
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_common::paras_registrar --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_paras_registrar.rs
* add checks to `MAX_CODE_SIZE`
* re-pot MAX_POV_SIZE
* check pov limit in runtime
* POV_BOMB_LIMIT multiplier
* fix compile
* Update configuration.rs
* Update node/primitives/src/lib.rs
* fix test
Co-authored-by: Parity Bot <admin@parity.io >
2021-06-21 17:24:49 +00:00
Zeke Mostov
6f8c8ec387
Companion #9019 (max rpc payload override) ( #3276 )
...
* Companion #9019 (max rpc payload override)
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-17 15:14:06 +00:00
Bernhard Schuster
44a8aa23d5
malus - mockable overseer mvp ( #3224 )
2021-06-16 12:45:21 +02:00
Keith Yeung
99d49ad7c9
Companion for #8990 ( #3194 )
...
* Use new naming scheme for all Event enums generated by construct_runtime
* Use new naming scheme for all GenesisConfig fields generated by construct_runtime
* Fix overlooked GenesisConfig field renaming
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-09 10:07:04 +00:00
Niklas Adolfsson
6b1f457078
Companion for #9036 ( #3191 )
...
* deps: cargo update -p rustls
* fix build
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-08 16:47:06 +00:00