PG Herveou
99ad485101
Contracts: Tweak test ( #14579 )
2023-07-20 16:43:35 +00:00
Dmitry Markin
0b2e7d4df5
Fix crash when --in-peers & --out-peers both 0 ( #14598 )
2023-07-20 18:19:19 +03:00
Michal Kucharczyk
14b086263e
chain-spec-builder: redundant file removed src/main.rs (#14600 )
...
* chain-spec-builder: redundant functions removed from main
* src/main.rs removed
2023-07-20 12:22:29 +00:00
georgepisaltu
9ec80090f5
Use benchmarking::v2 in collator selection pallet ( #2904 )
...
* Use benchmarking v2 in collator selection pallet
Signed-off-by: georgepisaltu <george.pisaltu@parity.io >
* Use extrinsic_call syntax
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Replace `block` with `extrinsic_call` syntax
Signed-off-by: georgepisaltu <george.pisaltu@parity.io >
---------
Signed-off-by: georgepisaltu <george.pisaltu@parity.io >
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-07-20 12:09:12 +00:00
Aaro Altonen
6ee66e9895
Improve logging for the request-response protocol ( #14596 )
...
Co-authored-by: parity-processbot <>
2023-07-20 10:40:52 +03:00
Andrei Sandu
a200d4c9d7
uncompressed pov metrics ( #7524 )
...
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
2023-07-20 07:40:47 +00:00
Oliver Tale-Yazdi
daa9ecf77d
Introduce Pallet paged-list ( #14120 )
...
* Prototype StoragePagedList
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add drain
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove stale docs
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add fuzzer tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Review
Co-authored-by: Koute <koute@users.noreply.github.com >
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Docs and clippy
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Sum docs
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Cleanup
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Undo WIP
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add pallet-paged-list
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Move code to pallet
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Move fuzzer
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Cleanup
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* docs
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Rename Appendix -> Appender
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Rename clear -> delete
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Feature gate testing stuff
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Docs review
Co-authored-by: Koute <koute@users.noreply.github.com >
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Cleanup
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* doc review
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Review renames
Co-authored-by: Koute <koute@users.noreply.github.com >
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add docs
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix fuzzer
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Docs + examples
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove hasher
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove empty Event and Call
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove MaxPages
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix docs
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Test eager page removal
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Cleanup
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update frame/paged-list/src/paged_list.rs
Co-authored-by: Koute <koute@users.noreply.github.com >
* Fix docs
Co-authored-by: Koute <koute@users.noreply.github.com >
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove as_*_vec
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update versions
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Rename ValuesPerPage -> ValuesPerNewPage
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update lockfile
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix mock
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: Koute <koute@users.noreply.github.com >
Co-authored-by: parity-processbot <>
2023-07-19 20:14:56 +00:00
tugy
86f3f640bf
add missing syscalls ( #7521 )
2023-07-19 21:42:52 +02:00
Kian Paimani
817c97d65d
add doc-only substrate entry point crate ( #14581 )
...
* add doc-only substrate entry point crate
* document a few more things
* add more
* fix width
* Update primitives/io/src/lib.rs
Co-authored-by: Gonçalo Pestana <g6pestana@gmail.com >
* add link
* update cargo toml file
* fix sp-io docs
* improve
* small update
* add license
* satisfy license job
* add a line about FRAME
* CI happy now
* make CI more happy
* Let the check run for the whole workspace
* Forward the substrate node again as default run
* update binary names
* upate verison test
* Fix fix fix
* Fix
* rename to substrate-node in more places
* Revert "rename to substrate-node in more places"
This reverts commit 66960f84a1b6f1f7c638b4040e28e9fbabb8adf5.
* fix
* Fix build pipeline
* Fix properly plus add some docs
---------
Co-authored-by: Gonçalo Pestana <g6pestana@gmail.com >
Co-authored-by: Bastian Köcher <info@kchr.de >
2023-07-19 18:36:50 +00:00
Svyatoslav Nikolsky
948f80733e
Update bridges subtree ( #2903 )
...
* Squashed 'bridges/' changes from 0417308a48..3c4ada921b
3c4ada921b Update dependecies (#2277 ) (#2281 )
3e195c9e76 GRANDPA: optimize votes_ancestries when needed (#2262 ) (#2264 )
7065bbabc6 Implement RuntimeDebug for GrandpaJustification (#2254 )
8c9e59bcbc Define generate_grandpa_key_ownership_proof() (#2247 ) (#2248 )
0b46956df7 Deduplicate Grandpa consensus log reading logic (#2245 ) (#2246 )
96c9701710 Fix deps from Cumulus (#2244 )
git-subtree-dir: bridges
git-subtree-split: 3c4ada921bbdbdba945c3aa85d76ce316f7baab3
* removed extra files
* post-merge fixes
* also post-merge fixes
2023-07-19 19:29:12 +03:00
dependabot[bot]
913b789416
Bump dyn-clone from 1.0.11 to 1.0.12 ( #2897 )
...
Bumps [dyn-clone](https://github.com/dtolnay/dyn-clone ) from 1.0.11 to 1.0.12.
- [Release notes](https://github.com/dtolnay/dyn-clone/releases )
- [Commits](https://github.com/dtolnay/dyn-clone/compare/1.0.11...1.0.12 )
---
updated-dependencies:
- dependency-name: dyn-clone
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 17:53:54 +02:00
dependabot[bot]
781b9326da
Bump quote from 1.0.30 to 1.0.31 ( #2895 )
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.30 to 1.0.31.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.30...1.0.31 )
---
updated-dependencies:
- dependency-name: quote
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 16:34:09 +02:00
Francisco Aguirre
cc9f8129af
Change Fixed to WeightInfoBounds for Polkadot ( #7077 )
...
* Add polkadot XCM benchmarks
* Add temp
* ".git/.scripts/commands/bench/bench.sh" xcm polkadot pallet_xcm_benchmarks::fungible
* ".git/.scripts/commands/bench/bench.sh" xcm polkadot pallet_xcm_benchmarks::generic
* Add weights to XCM on Polkadot
* Make CI fail on old files
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update template
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add reserve_asset_deposited benchmark
* ".git/.scripts/commands/bench/bench.sh" xcm kusama pallet_xcm_benchmarks::generic
* Update weights
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Change initiate_reserve_deposit in runtime weights
* Update weights
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove trusted reserves from runtimes
* Fix pallet-xcm-benchmarks mock
* Fix test
* Change pallet xcm weigher in kusama
* Fix
* Remove merge conflict artifact
* Remove initiate_reserve_withdraw from generic benchmarks
* Add missing implementation to XCM benchmark
* Fix failing karura test
* Remove dbg!
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
* Fix fmt
* Revert "Fix fmt"
This reverts commit 676f2d8db07d7427750c79f95494d4988d06fda5.
* Fix fmt
* Remove duplicated template code
* Add back part of the template
* ".git/.scripts/commands/bench-vm/bench-vm.sh" xcm polkadot pallet_xcm_benchmarks::fungible
* Don't skip reserve asset deposited benchmark
* Remove call to non-generated benchmark yet
* Underscore unused parameter
* Skip not supported benchmarks and hardcode value
* Remove ReserveAssetDeposited benchmark
* ".git/.scripts/commands/bench-vm/bench-vm.sh" xcm polkadot pallet_xcm_benchmarks::fungible
* Add back ReserveAssetDeposited
* ".git/.scripts/commands/bench-vm/bench-vm.sh" xcm polkadot pallet_xcm_benchmarks::fungible
* Use default benchmark for ReserveAssetDeposited
* Add missing parameter
* Revert reserve asset deposited benchmark
* ".git/.scripts/commands/bench-vm/bench-vm.sh" xcm kusama pallet_xcm_benchmarks::fungible
* ".git/.scripts/commands/bench-vm/bench-vm.sh" xcm westend pallet_xcm_benchmarks::fungible
* ".git/.scripts/commands/bench/bench.sh" xcm rococo pallet_xcm_benchmarks::fungible
* Add 'real' benchmarks
* Add TrustedReserve to actual XcmConfig
* Add TrustedReserve to actual XcmConfig (fix)
* Whitelist from benchmarking XCM storage keys read each block (#6871 )
* Whitelist from benchmarking XCM storage keys read each block
* ".git/.scripts/commands/bench/bench.sh" runtime polkadot pallet_xcm
* ".git/.scripts/commands/bench/bench.sh" runtime polkadot pallet_xcm
* ".git/.scripts/commands/bench/bench.sh" runtime westend pallet_xcm
* ".git/.scripts/commands/bench/bench.sh" runtime rococo pallet_xcm
* Remove XcmPallet SupportedVersion from the benchmark whitelist
* ".git/.scripts/commands/bench/bench.sh" runtime polkadot pallet_xcm
* ".git/.scripts/commands/bench/bench.sh" runtime kusama pallet_xcm
* ".git/.scripts/commands/bench/bench.sh" runtime westend pallet_xcm
* ".git/.scripts/commands/bench/bench.sh" runtime rococo pallet_xcm
* WIP
* Add necessary traits, remove unnecessary whitelisted keys
* Fix tests
* Remove unused file
* Remove unused import
---------
Co-authored-by: command-bot <>
* ".git/.scripts/commands/bench/bench.sh" xcm kusama pallet_xcm_benchmarks::fungible
* ".git/.scripts/commands/bench/bench.sh" xcm kusama pallet_xcm_benchmarks::fungible
* ".git/.scripts/commands/bench/bench.sh" xcm kusama pallet_xcm_benchmarks::fungible
* ".git/.scripts/commands/bench/bench.sh" xcm rococo pallet_xcm_benchmarks::fungible
* ".git/.scripts/commands/bench/bench.sh" xcm westend pallet_xcm_benchmarks::fungible
* Fix spellchecker issues
* Remove unused migration code
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: command-bot <>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
2023-07-19 14:18:03 +00:00
Chris Sosnin
c63b557e50
paras: count upgrade delay from inclusion ( #7486 )
...
* paras: count upgrade delay from inclusion
* fix warning
* rename check cause block number field
* rename inclusion_parent -> included_at
2023-07-19 12:06:58 +00:00
Sebastian Kunert
5b5942ef60
Use trie-cache for validate_block ( #2813 )
...
* Simple cache
* Fix node insertion
* Switch to hashbrown hashmap
* Remove unused phantomdata
* Return error when fetch_node fails
* Remove cargo patches
* Move trie cache to extra module
* Add ReadOnceBackend
* Add readonlybackend
* Improve naming and get_or_insert
* Stylistic improvements
* Improve naming, add docs
* Revert unwanted changes
* Remove unused dependencies
* Improve docs
* Use RefCell
* lockfile
* Remove ReadOnceBackend
* Apply suggestions from code review
Co-authored-by: Bastian Köcher <git@kchr.de >
* Code review
* Do not use value cache when calculating storage roots
* Apply suggestions from code review
Co-authored-by: Davide Galassi <davxy@datawok.net >
* Remove hash-db dep
* Update pallets/parachain-system/src/validate_block/trie_cache.rs
Co-authored-by: Anton <anton.kalyaev@gmail.com >
---------
Co-authored-by: Bastian Köcher <git@kchr.de >
Co-authored-by: Davide Galassi <davxy@datawok.net >
Co-authored-by: Anton <anton.kalyaev@gmail.com >
2023-07-19 11:46:58 +00:00
Oliver Tale-Yazdi
3bbb336ea7
Remove Executed Migrations ( #7495 )
...
* Polkadot is at .42
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Kusama is on .43
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Westend is at .43
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Rococo is at .42
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Make UMP limits migration more idempotentish
Already 100% idempotent per design, but not it wont try to schedule
an unneeded upgrade. Note that the case that the new upgrade is
already scheduled is not checked. In that case it will still upgrade
the same thing again, but should be no problem.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Clippy
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Delete old migration code
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove old tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Polkadot is at .43
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove a ton of shit
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove more
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove unused code
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Rococo is NOT yet at .43, but remove anyway
Rococo is the only runtime that is not yet at .43, but keeping
the migration code just for it is not worth it since devops
can just apply it at any time.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove old test
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 <>
2023-07-19 13:04:11 +02:00
dependabot[bot]
18340b304b
Bump paste from 1.0.13 to 1.0.14 ( #2896 )
...
Bumps [paste](https://github.com/dtolnay/paste ) from 1.0.13 to 1.0.14.
- [Release notes](https://github.com/dtolnay/paste/releases )
- [Commits](https://github.com/dtolnay/paste/compare/1.0.13...1.0.14 )
---
updated-dependencies:
- dependency-name: paste
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 11:48:09 +02:00
dependabot[bot]
70151644c6
Bump clap from 4.3.14 to 4.3.16 ( #2898 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.3.14 to 4.3.16.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.3.14...v4.3.16 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 11:45:30 +02:00
Tsvetomir Dimitrov
a1eadbff3b
Bump HostConfig storage version to 7 ( #7516 )
2023-07-19 09:37:20 +00:00
Branislav Kontur
e913579d97
Added construct_benchmark_partials for BridgeHubs ( #2901 )
2023-07-19 08:55:19 +00:00
Muharem Ismailov
20e677bf28
use ext_wrapper instead execute_with ( #2893 )
2023-07-19 08:53:15 +00:00
Gonçalo Pestana
bc84e1b838
Staking e2e test - Add case when ledger active balance falls below ED ( #14247 )
...
* Staking e2e test - case when ledger active balance falls below ED
* Update frame/election-provider-multi-phase/test-staking-e2e/src/lib.rs
Co-authored-by: Ankan <10196091+Ank4n@users.noreply.github.com >
* Simplifies test assertions; tests events
---------
Co-authored-by: Ankan <10196091+Ank4n@users.noreply.github.com >
Co-authored-by: parity-processbot <>
2023-07-18 20:01:36 +00:00
Vladimir Istyufeev
ad58e59a5e
Disable spellcheck CI job ( #7512 )
...
* Disable `spellcheck` CI job
* Mention explicitly when the job was disabled
2023-07-18 19:56:39 +00:00
André Silva
eb9b414644
Companion for substrate#14471 ( #7432 )
...
* Companion for substrate#14471
* add missing MaxNominators constant
* missing MaxNominators in test-runtime
* missing MaxNominators in runtime/integration_tests
* Dont use deprecated functions
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fixup
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* update lockfile for {"substrate"}
* Update Substrate dep
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 >
Co-authored-by: parity-processbot <>
2023-07-18 16:03:38 +00:00
Sebastian Kunert
b6b1952fc6
Make trie-cache resettable from backend ( #14516 )
...
* Add ability to reset trie-cache
* comment
* Update client/db/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
---------
Co-authored-by: Bastian Köcher <git@kchr.de >
2023-07-18 17:05:40 +02:00
Oliver Tale-Yazdi
892831e55c
WeightMeter: more consistent naming (#14586 )
...
* Rename WeightMeter functions
* Fixes
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fixup and doc + tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* One more test
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fixup pallets
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Use correct function 🤦
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Apply suggestions from code review
Co-authored-by: Juan <juangirini@gmail.com >
* Update primitives/weights/src/weight_meter.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update primitives/weights/src/weight_meter.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update primitives/weights/src/weight_meter.rs
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Juan <juangirini@gmail.com >
Co-authored-by: Bastian Köcher <git@kchr.de >
2023-07-18 14:38:44 +00:00
Evgeny Snitko
68ea60525b
Move CI_IMAGE to external snippet via !reference #2890
2023-07-18 18:25:01 +04:00
Evgeny Snitko
1dc6610524
Move CI_IMAGE to external snippet via !reference #14595
2023-07-18 18:24:42 +04:00
Evgeny Snitko
2d4ec84a96
Move CI_IMAGE to external snippet via !reference #7511
2023-07-18 16:23:43 +02:00
André Silva
50a63c30d9
Don't use fixed nominator count for report_equivocation weight calculation ( #14471 )
...
* babe: fix report_equivocation weight calculation
* grandpa: fix report_equivocation weight calculation
* beefy: fix report_equivocation weight calculation
* runtime: add missing MaxNominators constant
2023-07-18 14:11:00 +00:00
Gonçalo Pestana
a3a04c7e4d
Improves the EPM/Staking e2e test setup ( #14292 )
...
* Adds onchainify to e2e tests; Adds try-runtime checks at the end of the tests
* Refactors OCW to be more realistic and to submit solutions during unsigned phase
* Uses config palllet Default impl in mock
* Improves OCW progression vode
* simplified OCW tests
2023-07-18 11:09:07 +00:00
Michal Kucharczyk
b15a56972b
chain-spec: polkadot_staging_testnet config removed (#7509 )
...
* chain-spec: polkadot_staging_testnet config removed
The config has empty initial authority test. It is unusable.
```
$ polkadot export-blocks --chain polkadot-staging --from=0 --to=0
...
Thread 'main' panicked at 'Empty validator set for session 0 in genesis block!',
/home/miszka/.cargo/git/checkouts/substrate-7e08433d4c370a21/c446786/frame/session/src/lib.rs:463
```
* warning fix
2023-07-18 10:58:08 +00:00
Oliver Tale-Yazdi
5b89f47df2
Run integrity_test in Externalities ( #14546 )
...
* Run integrity_test in RO externalities
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* frame-support: Export RO externalities
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix bench tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update docs
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Rename to __private
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Run in TestExternalities
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix other pallets
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update docs
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fixes
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update frame/support/src/dispatch.rs
Co-authored-by: Muharem Ismailov <ismailov.m.h@gmail.com >
* Fixup merge
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 <>
Co-authored-by: Muharem Ismailov <ismailov.m.h@gmail.com >
2023-07-18 10:10:56 +00:00
Jegor Sidorenko
26d8e65910
Handle the AllowMultiAssetPools=false case in benchmarks ( #14590 )
...
* Handle the AllowMultiAssetPools=false case in benchmarks
* ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_asset_conversion
---------
Co-authored-by: command-bot <>
2023-07-18 09:38:03 +00:00
Arkadiy Paronyan
2f66661a33
Bump crypto-common ( #2876 )
...
* bump crypto-common
* update lockfile for {"substrate", "polkadot"}
* Update Substrate & Polkadot
---------
Co-authored-by: parity-processbot <>
Co-authored-by: Bastian Köcher <info@kchr.de >
2023-07-18 08:44:46 +00:00
André Silva
9f760192de
companion for substrate#14423 ( #7484 )
...
* companion for substrate#14423
* update lockfile for {"substrate"}
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-07-18 08:06:39 +00:00
André Silva
856727bf52
client: fix invalid node name pattern regex ( #14593 )
...
* client: fix invalid name pattern regex
* Update client/cli/src/commands/run_cmd.rs
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* client: test node name is non-empty
* client: add more tests to is_node_name_valid
---------
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-07-18 05:56:40 +00:00
dependabot[bot]
b1cd6bcd39
Bump quote from 1.0.29 to 1.0.30 ( #2887 )
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.29 to 1.0.30.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.29...1.0.30 )
---
updated-dependencies:
- dependency-name: quote
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-17 23:02:38 +00:00
dependabot[bot]
2870dd39d6
Bump syn from 2.0.25 to 2.0.26 ( #2888 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.25 to 2.0.26.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.25...2.0.26 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-17 22:21:05 +00:00
dependabot[bot]
ddbbbb9ce3
Bump serde_json from 1.0.102 to 1.0.103 ( #2885 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.102 to 1.0.103.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.102...v1.0.103 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-17 23:36:20 +02:00
dependabot[bot]
18bc118285
Bump clap from 4.3.12 to 4.3.14 ( #2886 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.3.12 to 4.3.14.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.3.12...v4.3.14 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-17 23:31:53 +02:00
Arkadiy Paronyan
d6d9bd9ea3
Encryption support for the statement store ( #14440 )
...
* Added ECIES encryption
* tweaks
* fmt
* Make clippy happy
* Use local keystore
* qed
2023-07-17 18:41:41 +00:00
André Silva
c761d4c39e
grandpa: avoid importing unnecessary justifications ( #14423 )
...
* grandpa: avoid importing unnecessary justifications
* grandpa: make justification_import_period configurable
* grandpa: keep the first justification
* grandpa: add test for justification import period
* grandpa: fix test
2023-07-17 17:38:34 +00:00
Evgeny Snitko
f92d54e677
ci-unified:bullseye-1.70.0-2023-05-23 image for ci ( #2840 )
2023-07-17 19:34:25 +04:00
Evgeny Snitko
b2bc4c1917
ci-unified:bullseye-1.70.0-2023-05-23 image for ci ( #7478 )
2023-07-17 19:34:22 +04:00
Evgeny Snitko
58bbe568cb
ci-unified:bullseye-1.70.0-2023-05-23 image for ci ( #14532 )
2023-07-17 19:34:14 +04:00
Andrei Eres
174f23d1cc
Alert on frequent network errors ( #7410 )
...
* Introduce is_frequent util
* Add dirty warn_if_frequent! implementation
* Add freq
* Fix order in condition
* Update
* Update docs
* Fix
* Remove old impl
* Fix errors
* Add wif to av-distr
* Add wif to col prot
* Rename
* Add wif to state-distr
* Address review comments
* Change Freq implementation
* Remove the zero division check
* Make rate explicit
* Fix typo
* Update rate constant
* Introduce explicit rates
* Update docs
* Split errors freq
* Downgrade coarsetime
2023-07-17 12:05:57 +00:00
Kian Paimani
6479764161
improve pallet hooks docs ( #14578 )
...
* improve pallet hooks docs
* Update frame/support/src/traits/hooks.rs
Co-authored-by: Sam Johnson <sam@durosoft.com >
* Update frame/support/src/traits/hooks.rs
Co-authored-by: Sam Johnson <sam@durosoft.com >
* Update frame/support/src/traits/hooks.rs
Co-authored-by: Sam Johnson <sam@durosoft.com >
* fix mastekn removal
* Apply suggestions from code review
Co-authored-by: Juan <juangirini@gmail.com >
* add diagram
* fix all links
* fix diagram
* improve diagram with some notes
* update
---------
Co-authored-by: Sam Johnson <sam@durosoft.com >
Co-authored-by: parity-processbot <>
Co-authored-by: Juan <juangirini@gmail.com >
2023-07-17 10:37:01 +00:00
Kian Paimani
1a2d59b1af
basic improvements to sp-runtime docs ( #14583 )
2023-07-17 11:36:37 +02:00
joe petrowski
dd7d2f924b
Put HRMP Channel Management on General Admin Track ( #7477 )
...
* create ManagerOrigin for HRMP
* missed one
* fix mock
* update GeneralAdmin docs
2023-07-17 08:32:52 +02:00