Luke Schoen
59b4ae53a1
Fix typo ( #12900 )
2022-12-11 23:10:18 +01:00
Gavin Wood
c6de7e2806
OpenGov: Tweak parameters further ( #6416 )
...
* Tweak parameters further
* Further tweaks to deposits
2022-12-11 12:44:10 +00:00
Ankan
1320daa33e
Safe desired targets call ( #12826 )
...
* checked call for desired targets
* fix compile
* fmt
* fix tests
* cleaner with and_then
2022-12-10 23:52:23 +01:00
Bastian Köcher
2f2e481d72
Ensure that we inform all tasks to stop before starting the 60 seconds shutdown ( #12897 )
...
* Ensure that we inform all tasks to stop before starting the 60 seconds shutdown
The change of waiting in maximum 60 seconds for the node to shutdown actually introduced a bug. We
were actually waiting always 60 seconds as we didn't informed our tasks to shutdown. The solution to
this problem is to drop the task manager as this will then inform all tasks to end. It also adds
tests to ensure that the behaviors work as expected. (This should already have been done in the
first pr! :()
* ".git/.scripts/fmt.sh" 1
Co-authored-by: command-bot <>
2022-12-10 13:28:36 +00:00
Aaro Altonen
4922b91ad7
Companion for paritytech/substrate#12764 ( #1930 )
...
* Companion for paritytech/substrate#12764
* Remove `async-trait`
* Fix trait
* update lockfile for {"substrate", "polkadot"}
Co-authored-by: parity-processbot <>
2022-12-10 09:26:02 +01:00
Muharem Ismailov
4d3895a167
Collectives runtime: add query call info api ( #1976 )
2022-12-09 20:27:40 +00:00
tgmichel
699d9980cf
Trace response payload in default jsonrpsee middleware ( #12886 )
...
* Trace result in default `jsonrpsee` middleware
* `rpc_metrics::extra`
Co-authored-by: Bastian Köcher <git@kchr.de >
Co-authored-by: Bastian Köcher <git@kchr.de >
2022-12-09 19:55:56 +00:00
Aaro Altonen
d6827185c3
Move import queue out of sc-network ( #12764 )
...
* Move import queue out of `sc-network`
Add supplementary asynchronous API for the import queue which means
it can be run as an independent task and communicated with through
the `ImportQueueService`.
This commit removes removes block and justification imports from
`sc-network` and provides `ChainSync` with a handle to import queue so
it can import blocks and justifications. Polling of the import queue is
moved complete out of `sc-network` and `sc_consensus::Link` is
implemented for `ChainSyncInterfaceHandled` so the import queue
can still influence the syncing process.
* Fix tests
* Apply review comments
* Apply suggestions from code review
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/network/sync/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
Co-authored-by: Bastian Köcher <git@kchr.de >
2022-12-09 19:50:57 +00:00
Michal Kucharczyk
225c260e07
zombienet timings adjusted ( #12890 )
...
* zombinet tests: add some timeout to allow net spin-up
Sometimes tests are failing at first try, as the pods were not up yet.
Adding timeout should allow the network to spin up properly.
* initial timeout increased to 30s
2022-12-09 12:47:04 +00:00
Gavin Wood
6f3d1a8143
General Message Queue Pallet ( #12485 )
...
* The message queue
* Make fully generic
* Refactor
* Docs
* Refactor
* Use iter not slice
* Per-origin queues
* Multi-queue processing
* Introduce MaxReady
* Remove MaxReady in favour of ready ring
* Cleanups
* ReadyRing and tests
* Stale page reaping
* from_components -> from_parts
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Move WeightCounter to sp_weights
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add MockedWeightInfo
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Deploy to kitchensink
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Use WeightCounter
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Small fixes and logging
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add service_page
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Typo
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Move service_page below service_queue
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add service_message
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Use correct weight function
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Overweight execution
* Refactor
* Missing file
* Fix WeightCounter usage in scheduler
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix peek_index
Take into account that decoding from a mutable slice modifies it.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add tests and bench service_page_item
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add debug_info
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add no-progress check to service_queues
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add more benches
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Bound from_message and try_append_message
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add PageReaped event
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Rename BookStateOf and BookStateFor
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update tests and remove logging
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove redundant per-message origins; add footprint() and sweep_queue()
* Move testing stuff to mock.rs
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add integration test
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix no-progress check
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix debug_info
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fixup merge and tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix footprint tracking
* Introduce
* Formatting
* OverweightEnqueued event, auto-servicing config item
* Update tests and benchmarks
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Clippy
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Provide change handler
* Add missing BookStateFor::insert and call QueueChangeHandler
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Docs
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update benchmarks and weights
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* More tests...
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Use weight metering functions
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* weightInfo::process_message_payload is gone
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add defensive_saturating_accrue
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Rename WeightCounter to WeightMeter
Ctr+Shift+H should do the trick.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Test on_initialize
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add module docs
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove origin from MaxMessageLen
The message origin is not encoded into the heap and does
therefore not influence the max message length anymore.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add BoundedVec::as_slice
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Test Page::{from_message, try_append_message}
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fixup docs
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Docs
* Do nothing in sweep_queue if the queue does not exist
... otherwise it inserts default values into the storage.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Test ring (un)knitting
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Upgrade stress-test
Change the test to not assume that all queued messages will be
processed in the next block but split it over multiple.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* More tests...
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Beauty fixes
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* clippy
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Rename BoundedVec::as_slice to as_bounded_slice
Conflicts with deref().as_slice() otherwise.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix imports
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove ReadyRing struct
Was used for testing only. Instead use 'fn assert_ring' which also
check the service head and backlinks.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Beauty fixes
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix stale page watermark
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Cleanup
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix test feature and clippy
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* QueueChanged handler is called correctly
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update benches
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Abstract testing functions
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* More tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Cleanup
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Clippy
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Simplify tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Make stuff compile
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Extend overweight execution benchmark
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove TODOs
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Test service queue with faulty MessageProcessor
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update pallet ui tests to 1.65
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* More docs
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Review doc fixes
Co-authored-by: Robert Klotzner <eskimor@users.noreply.github.com >
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add weight_limit to extrinsic weight of execute_overweight
* Correctly return unused weight
* Return actual weight consumed in do_execute_overweight
* Review fixes
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Set version 7.0.0-dev
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Make it compile
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Switch message_size to u64
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Switch message_count to u64
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix benchmarks
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Make CI green
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Docs
* Update tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* ".git/.scripts/bench-bot.sh" pallet dev pallet_message_queue
* Dont mention README.md in the Cargo.toml
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove reference to readme
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
Co-authored-by: Robert Klotzner <eskimor@users.noreply.github.com >
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
2022-12-09 10:38:24 +00:00
Bastian Köcher
487ed143df
Don't indefinitely block on shutting down Tokio ( #12885 )
...
* Don't indefinitely on shutting down Tokio
Now we wait in maximum 60 seconds before we shutdown the node. Tasks are may be leaked and leading
to some data corruption.
* Drink less :thinking_face:
2022-12-09 10:31:57 +00:00
Anthony Alaribe
96902eae48
Revert "Move LockableCurrency trait to fungibles::Lockable and deprecate LockableCurrency ( #12798 )" ( #12882 )
...
This reverts commit 9a014d1ecd .
2022-12-09 09:40:59 +00:00
Alexandru Vasile
8a24e27377
cli: Improve pruning documentation ( #12819 )
...
* cli: Improve pruning documentation
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* cli: Keep `finalized` notation and remove `canonical` one
* cli: Fix cargo doc
* cli: `PruningModeClap` IR enum
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* cli: Convert PruningModeClap into pruning modes
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* cli: Use `PruningModeClap`
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* cli: Rename to `DatabasePruningMode`
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* cli: Implement `FromStr` instead of `clap::ValueEnum`
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Update client/cli/src/params/pruning_params.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Fix clippy
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* cli: Add option documentation back
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Apply suggestions from code review
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
Co-authored-by: Bastian Köcher <git@kchr.de >
2022-12-08 20:15:14 +00:00
Vlad
e8b48f3b9b
Checkout to the branch HEAD explicitly in build-linux-substrate ( #12876 )
2022-12-08 20:58:52 +03:00
Keith Yeung
8979aaa9d0
Companion for paritytech/substrate#12868 ( #1970 )
...
* Replace WEIGHT_PER_* with WEIGHT_REF_TIME_PER_*
* Fixes
* Fixes
* update lockfile for {"substrate", "polkadot"}
Co-authored-by: parity-processbot <>
2022-12-08 17:36:30 +00:00
Keith Yeung
6f666a07b4
Companion for paritytech/substrate#12868 ( #6406 )
...
* Replace WEIGHT_PER_* with WEIGHT_REF_TIME_PER_*
* cargo fmt
* Update substrate
2022-12-08 16:56:37 +00:00
Keith Yeung
51db8c77a7
Introduce sensible weight constants ( #12868 )
...
* Introduce sensible weight constants
* cargo fmt
* Remove unused import
* Add missing import
* ".git/.scripts/bench-bot.sh" pallet dev pallet_lottery
Co-authored-by: command-bot <>
2022-12-09 01:18:51 +09:00
Oliver Tale-Yazdi
e17130cd13
Feature gate test benchmark_storage_works ( #6376 )
...
* Feature gate storage bench test
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* typo
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
2022-12-08 14:12:04 +00:00
dharjeezy
200f49d66d
[pallet-assets] add asset_exists(id: AssetId) function ( #12782 )
...
* check if an asset exists via loose coupling
* Update frame/support/src/traits/tokens/fungibles.rs
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
Co-authored-by: parity-processbot <>
2022-12-08 14:09:17 +00:00
Mara Robin B
0185170137
update weights (sync with 0.9.33) ( #6362 )
...
* update weights (0.9.33) (#6299 )
* kusama: update weights
* polkadot: update weights
* rococo: update weights
* westend: update weights
* fix deps
* Resolve merge
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Reset Kusama whitelist weights
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-12-08 13:23:24 +00:00
Anthony Alaribe
9a014d1ecd
Move LockableCurrency trait to fungibles::Lockable and deprecate LockableCurrency ( #12798 )
...
* WIP move LockableCurrency to fungibles
* rename Lockable and LockIdentifier to funginbles::*
* fix imports further
* change Lockable from fungible to fungibles
* reintroduce LockableCurrency but marked as deprecated
* fix imports
* fix imports
* cargo fmt
* add allow deprecated warnings
* remove unused benchmark import
* fix some of the docs
* fix failing doctest check
* reexport LockIdentifier and LockableCurrency from support/traits
* reexport LockIdentifier and LockableCurrency from support/traits
* allow using deprecated re-export
* replace LockableCurrency and LockIdentifier with a module alias
* Update frame/support/src/traits/tokens/fungibles/lockable.rs
* Update frame/staking/src/pallet/mod.rs
Co-authored-by: Squirrel <gilescope@gmail.com >
* Update frame/support/src/traits.rs
Co-authored-by: Squirrel <gilescope@gmail.com >
* REVERT removing fungibles::Lockable import
Co-authored-by: parity-processbot <>
Co-authored-by: Squirrel <gilescope@gmail.com >
2022-12-08 12:47:13 +00:00
Squirrel
5263f269da
[benchmarks] pr with weights ( #1946 ) ( #1971 )
...
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
Co-authored-by: Egor_P <egor@parity.io >
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
2022-12-08 12:38:58 +00:00
Alexander Samusev
896d1c2c3b
[ci] Adjust check-runtime-migration job ( #6107 )
...
* [WIP][ci] Add node to check-runtime-migration job
* add image
* remove sscache from before_script
* add nodes
* restart pipeline
* restart pipeline2
* disable other jobs
* debug
* remove debug
* add ports
* restart pipeline
* restart pipeline
* restart pipeline
* try kusama first
* run polkadot 1st
* disable some jobs
* try command from command bot
* cargo run
* test passing variables
* run without condition
* adjust kusama and westend
* fix
* return jobs
* fix small nits
* split check-runtime-migration
Co-authored-by: parity-processbot <>
2022-12-08 13:26:18 +01:00
Alexander Samusev
24937d180b
[ci] new ci runners ( #1967 )
...
* [DNM] test ci runners
* restart pipeline
* switch to c2 runners
* restart pipeline
* change runner tag
2022-12-08 13:10:11 +01:00
Egor_P
c6a3ed5ed4
[Backport] version bumps from 9330 ( #1956 )
...
* Bump crate versions
* Bump spec_version to 9330
* bump rococo and penpal spec_version (#1926 )
* bump txn versions (#1941 )
* bump txn versions
* bump rococo txn version
* bump bridge-hub-kusama spec_version
2022-12-08 11:11:34 +00:00
Squirrel
435d1b4e8d
Backport collective weights from v9330 to master ( #1959 )
...
* [benchmarks] pr with weights (#1945 )
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
* Use master for some methods
Co-authored-by: Egor_P <egor@parity.io >
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
2022-12-08 10:30:48 +00:00
Javier Viola
7a0a3c29a0
zombienet, store node's logs as artifacts ( #1969 )
2022-12-08 00:45:49 +00:00
Michal Kucharczyk
39cb3b06cd
zombienet: warp-sync integration test added ( #12675 )
...
* zombienet: warp-sync integration test added
* spelling
* Readme corrected
* dir name updated
* Check second phase of warp sync
* zombienet pipeline enable + naive test network
* zombienet stage added
* paritypr/substrate-debug image added for zombienet testing
* debugs added
* debugs added
* buildah problem fixed
* rollback
* runner tag
* test name corrected
* dir renamed (regex problem)
* common code clean up
* common code clean up
* fix
* warp sync test improvements
* full sha used
as short is too short (https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2051228#L38 )
* disable tracing for nodes
* COMMON_USER -> DOCKERIO_USER
* refs reworked
* paritypr/substrate image used
* DOCKERIO -> DOCKER
* generate-ws-db toml cleanup
* improvements
* fix
* raw chain spec used
* zombienet v1.3.18 used
* zombienet: warp sync test enabled
* chain-spec path corrected
* log parsing improved
Checking if log does not container error or verification failed messages
* warp sync test: removed validators
* fix
* review remarks applied
* dir test name changed: 0000_block_building -> 0000-block-building
* transaction finalized test added
* transaction finalized test: error handling improved
* trigger CI job
* trigger CI job
* trigger CI job
* trigger CI job
* Explicitly touch `version.rs` to invalidate the related cache
* zombienet add logs as artifacts
* Revert "Explicitly touch `version.rs` to invalidate the related cache"
This reverts commit 9d00ccfe897a280581156c281961a32665dba6d5.
* file naming changed
Co-authored-by: parity-processbot <>
Co-authored-by: Vladimir Istyufeev <vladimir@parity.io >
Co-authored-by: Javier Viola <javier@parity.io >
2022-12-07 22:44:40 +00:00
Egor_P
a7d86345a7
add collective runtime upgrade to the checklist ( #1966 )
2022-12-07 19:44:32 +00:00
João Paulo Silva de Souza
8751f88fc7
Implement crate publishing on CI ( #12768 )
...
* implement crate publishing from CI
* fix indentation
* use resource_group for job exclusivity
ensure that at most one instance of the publish-crates job is running at any given time to prevent race conditions
* correct publish = false
* Remove YAML anchors as GitLab's `extends:` doesn't need it
* Temporarily force cache upload for the new jobs
* Revert `RUSTY_CACHIER_FORCE_UPLOAD`
* pin libp2p-tcp=0.37.0 for sc-telemetry
* Revert "pin libp2p-tcp=0.37.0 for sc-telemetry"
This reverts commit 29146bfad6c31e8cf0e2f17ad92a71bb81a373af.
* always collect generated crates
* increase timeout for publish-crates-template
* Force upload the new job cache again
* Revert "Force upload the new job cache again"
This reverts commit 5a5feee1b2c51fdef768b25a76be4c3949ec1c99.
* reformat
* improve timeout explanation
* s/usual/average
Co-authored-by: Vladimir Istyufeev <vladimir@parity.io >
2022-12-07 18:08:48 +00:00
Bradley Olson
ff935b806c
Refactoring to condense disputes tests ( #6395 )
...
* Refactoring to condense disputes tests
* Removing unhelpful comment lines
* Addressing Tsveto's suggestions
* Fixing formatting nit
2022-12-07 17:55:30 +00:00
eskimor
c748250748
Make sure to preserve backing votes ( #6382 )
...
* Guide updates
* Consider more dead forks.
* Ensure backing votes don't get overridden.
* Fix spelling.
* Fix comments.
* Update node/primitives/src/lib.rs
Co-authored-by: Tsvetomir Dimitrov <tsvetomir@parity.io >
Co-authored-by: eskimor <eskimor@no-such-url.com >
Co-authored-by: Tsvetomir Dimitrov <tsvetomir@parity.io >
2022-12-07 17:14:13 +00:00
Muharem Ismailov
1b9f62cd73
Companion for paritytech/substrate#12788 ( #6360 )
...
* Companion for paritytech/substrate#12788
* migrations
* rustfmt
* update lockfile for {"substrate"}
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-12-07 14:48:43 +00:00
dependabot[bot]
428e2a8168
Bump ruby/setup-ruby from 1.120.1 to 1.127.0 ( #1951 )
...
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) from 1.120.1 to 1.127.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Commits](https://github.com/ruby/setup-ruby/compare/f2c070bbf74632495b403899c87610cd4cb99dbe...ee2113536afb7f793eed4ce60e8d3b26db912da4 )
---
updated-dependencies:
- dependency-name: ruby/setup-ruby
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-07 14:22:14 +00:00
Muharem Ismailov
3b9d781afc
bench assert update ( #12866 )
2022-12-07 13:57:41 +00:00
Alexander Theißen
32578cb010
Remove sandboxing host function interface ( #12852 )
...
* Remove sandboxing interface
* Remove unused struct
2022-12-07 12:48:30 +00:00
Muharem Ismailov
198faaa6f9
Refund referendum submission deposit ( #12788 )
...
* optinal submission deposit and migration
* refund submission deposit call, test, bench
* try runtime fixes
* assert for bench
* Only refund cancelled/approved referenda deposits
* update storage version
Co-authored-by: Gav <gavin@parity.io >
2022-12-07 12:20:48 +00:00
Adrian Catangiu
1657feae3b
Mmr persist state ( #12822 )
...
client/mmr: persisting gadget state across runs
Fixes #12780
* client/mmr: on init do canonicalization catch-up
* client/mmr: add more tests
* client/mmr: persist gadget progress in aux db
* client/mmr: add more tests
* client/mmr: replace async_std with tokio
* remove leftover comment
* address review comments
Signed-off-by: acatangiu <adrian@parity.io >
2022-12-07 12:19:46 +02:00
Bastian Köcher
915d841c9e
dependabot: Ignore rococo deps ( #1963 )
2022-12-06 23:40:58 +01:00
Marcin S
ff9c01d585
Remove parity-util-mem ( #1958 )
...
Fully removes the `parity-util-mem` dependency. This just required upgrading to the latest versions
of the polkadot crates.
2022-12-06 17:05:33 -05:00
dependabot[bot]
c051ed6bdb
Bump serde from 1.0.148 to 1.0.149 ( #1948 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.148 to 1.0.149.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.148...v1.0.149 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-06 21:47:46 +00:00
Marcin S
ab090ab7d5
Let the PVF host kill the worker on timeout ( #6381 )
...
* Let the PVF host kill the worker on timeout
* Fix comment
* Fix inaccurate comments; add missing return statement
* Fix a comment
* Fix comment
2022-12-06 13:03:18 -05:00
Marcin S
3f951cce16
Companion for paritytech/substrate#12795 ( #6374 )
...
* Begin removing `parity-util-mem`; remove `collect_memory_stats`
* Update some dependencies that were using `parity-util-mem`
* Remove `trie-memory-tracker` feature
* Update Cargo.lock
* Update `kvdb-shared-tests`
* Add back jemalloc
* Add missing license header
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
Co-authored-by: Andronik <write@reusable.software >
2022-12-06 16:41:00 +00:00
Gavin Wood
800a928ab0
Bump ( #6404 )
2022-12-06 15:03:08 +00:00
Bastian Köcher
72a7fa035b
frame-support: Introduce EnsureOriginOrHigherPrivilege ( #12844 )
...
* frame-support: Introduce `EnsureOriginOrHigherPrivilege`
This adds a new `EnsureOrigin` implementation that checks if a given origin matches or if the origin
is has a higher or equal origin matches or if the origin is has a higher or equal privilege.
* FMT
2022-12-06 14:58:52 +00:00
Marcin S
aa21e56744
Remove mem_info and references to parity-util-mem ( #12795 )
...
* Remove mem_info and some references to parity-util-mem
* [Draft] Finish removing references to `parity-util-mem`
* Upgrade dependencies
* Update scripts/ci/deny.toml
Co-authored-by: ordian <write@reusable.software >
* Fix Cargo.lock (remove unwanted dependency changes)
* Removed unused argument
* Run cargo fmt (didn't have pre-commit set up)
* Fix some CI errors
* Fix another CI error
* Remove unused dependency
Co-authored-by: ordian <write@reusable.software >
2022-12-06 14:55:10 +00:00
Muharem Ismailov
aebe87ee30
kusama whitelist pallet preimage dep upgrade ( #6392 )
2022-12-06 14:51:16 +00:00
Muharem Ismailov
07117e7913
Whitelist pallet preimage provider upgrade ( #12834 )
...
* whitelist preimage provider upgrade
* rustdocs unresolved link error fix
* ".git/.scripts/bench-bot.sh" pallet dev pallet_whitelist
* PreimageHash alias, remove type annotation
Co-authored-by: command-bot <>
2022-12-06 14:51:03 +00:00
João Paulo Silva de Souza
1ca371da61
Companion of Substrate PR 12837 ( #1944 )
...
* remove reference to remote-externalities
* update reference to remote-externalities
* s/remote-ext/frame-remote-externalities
* copy the fix from https://github.com/paritytech/cumulus/pull/1917/commits/747400a0d7876a605290103b5d4341072b4e0868
* update cargo.lock
2022-12-06 13:11:59 +00:00
Gavin Wood
432384cdea
Make submission deposit reasonable ( #6402 )
2022-12-06 13:03:03 +00:00