Shawn Tabrizi
d9f33dc7e9
Create Script to Run All Benchmarks ( #11493 )
...
* Create run_all_benchmarks.sh
* Update run_all_benchmarks.sh
* Update run_all_benchmarks.sh
* Review fixes
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update scripts/run_all_benchmarks.sh
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* typo
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* add default for $1
* Typo
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update run_all_benchmarks.sh
* new weights on benchmarking machine
* prefer `--chain=dev`
* fix compile
* fix command
* fmt
* dont use square brackets
* Extend doc
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove +nightly
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add error file an run execute everything optimistically
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: Bastian Köcher <bkchr@users.noreply.github.com >
2022-05-23 16:56:42 +00:00
Keith Yeung
8d3f692e0c
Introduce #[pallet::call_index] attribute to dispatchables ( #11381 )
...
* Introduce #[pallet::call_index] attribute to dispatchables
* cargo fmt
* Add more docs and prevent duplicates of call indices
* Add UI test for conflicting call indices
* cargo fmt
Co-authored-by: parity-processbot <>
2022-05-23 16:47:36 +00:00
Chevdor
86e777d646
Node bump to v0.9.220 ( #1284 )
...
* Node bump to v0.9.220
* Runtime version bump to 922 (#1283 )
* Runtime version bump to 922
* Switch to 9220
* Update cargo.lock
2022-05-23 14:03:39 +00:00
João Paulo Silva de Souza
c92fb61e44
use API for pr-custom-review ( #1279 )
2022-05-23 15:14:35 +02:00
João Paulo Silva de Souza
1ccd68dd15
use API for pr-custom-review ( #5576 )
2022-05-23 15:14:28 +02:00
João Paulo Silva de Souza
3122c4fb3c
Use API for pr-custom-review ( #11487 )
...
* use API for pr-custom-review
* bump action tag
* temporary: disable draft skip
* temporary: use staging
* try it with the prod instance
* revert draft skip
2022-05-23 15:14:20 +02:00
Chevdor
c2abd7bde5
Runtime version bump to 922 ( #1283 )
...
* Runtime version bump to 922
* Switch to 9220
2022-05-23 14:37:20 +02:00
Shawn Tabrizi
c980c39026
Fix State Trie Migration Benchmarks ( #11502 )
...
* enable signed migrations in benchmarks
* T instead of Test
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove 'mut'
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-05-23 10:10:23 +00:00
Squirrel
c7ef5f6a6b
Use named events in cumulus pallets ( #1260 )
...
* Use named events
* For now standardise on message_id
* cargo fmt
* reverting xcm changes
* remove superfluous comments
* renaming
* updating benches
2022-05-23 08:23:27 +00:00
Bastian Köcher
7ff7457f4b
Make --dev listen by default on /ip4/0.0.0.0/tcp/30333 ( #11492 )
...
If `--validator` is passed we also listen on this address and as `--dev` is a shortcut for multiple
CLI args, including `--validator`, we should make it consistent.
2022-05-22 09:19:07 +02:00
Qinxuan Chen
12221cb534
Companion for polkadot#5569 ( #1281 )
...
* Companion for polkadot#5569
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* update lockfile for {"polkadot"}
Co-authored-by: parity-processbot <>
2022-05-21 09:14:02 +00:00
Niklas Adolfsson
c75474f7b8
rpc servers CLI: add --max--subscriptions--per--connection + fix a few bugs ( #11461 )
...
* cli: fix RPC CLI nits
* remove needless lines
* cargo fmt
* Update client/service/src/lib.rs
Co-authored-by: James Wilson <james@jsdw.me >
Co-authored-by: James Wilson <james@jsdw.me >
2022-05-21 08:45:57 +00:00
Qinxuan Chen
e4f6f8d76a
Companion for substrate#11469 ( #5569 )
...
* Comanion for substrate#11469
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Remove extra Rpc naming in the structs
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Update Substrate
Co-authored-by: Bastian Köcher <info@kchr.de >
2022-05-21 08:37:55 +00:00
Qinxuan Chen
5497069d54
Unify rpc api and implementation name ( #11469 )
...
* Unify rpc api and implementation name
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* MauanlSeal ==> ManualSealRpc
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Remove extra Rpc naming in the structs
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Update doc
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* fix merge
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2022-05-21 08:13:09 +02:00
Bastian Köcher
dcb8a8504e
InMemoryBackend: Make it generic over the key hasher ( #11488 )
...
* InMemoryBackend: Make it generic over the key hasher
* Update primitives/state-machine/src/in_memory_backend.rs
Co-authored-by: cheme <emericchevalier.pro@gmail.com >
* Update primitives/state-machine/src/in_memory_backend.rs
Co-authored-by: cheme <emericchevalier.pro@gmail.com >
* FMT
Co-authored-by: cheme <emericchevalier.pro@gmail.com >
2022-05-21 07:24:24 +02:00
Bisola Olasehinde
5409510510
Migrate brigdes pallet to named events ( #5575 )
...
* bridges-dispatch
* bridges-messages
* bridges-token-swap
2022-05-20 21:11:59 +00:00
Alexandru Vasile
87de1e7e0d
RPC: Mark storage methods as blocking ( #11459 )
...
* client/api: Make `storage_keys` blocking
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* client/api: Ensure `state_*` RPC methods are blocking
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* client/rpc: Ensure `childstate_*` RPC methods are blocking
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* client/rpc: `ChainApi` make RPC methods sync
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Remove unused async-traits
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* client/rpc-api: Make chain RPC methods blocking
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Update client/rpc/src/state/state_full.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Add `blocking` to `state_getKeysPaged` RPC call
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Fix build and warning
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Remove `async_trait` tidyup
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-05-20 19:16:35 +00:00
dependabot[bot]
909f65d0cd
Bump actions/upload-artifact from 2 to 3 ( #5547 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 17:39:30 +03:00
dependabot[bot]
6691f8ec29
Bump docker/build-push-action from 2 to 3 ( #5548 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 2 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 17:39:17 +03:00
dependabot[bot]
229b289b5d
Bump docker/login-action from 1 to 2 ( #5550 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 17:35:47 +03:00
dependabot[bot]
4a71017dd3
Bump gaurav-nelson/github-action-markdown-link-check from 1.0.9 to 1.0.14 ( #11464 )
...
* Bump gaurav-nelson/github-action-markdown-link-check
Bumps [gaurav-nelson/github-action-markdown-link-check](https://github.com/gaurav-nelson/github-action-markdown-link-check ) from 1.0.9 to 1.0.14.
- [Release notes](https://github.com/gaurav-nelson/github-action-markdown-link-check/releases )
- [Commits](https://github.com/gaurav-nelson/github-action-markdown-link-check/compare/7481451f70251762f149d69596e3e276ebf2b236...58f84fd654812d0d8da4e4d4a559eda087daf8ce )
---
updated-dependencies:
- dependency-name: gaurav-nelson/github-action-markdown-link-check
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update .github/workflows/md-link-check.yml
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Denis Pisarev <denis.pisarev@parity.io >
2022-05-20 16:22:01 +02:00
dependabot[bot]
5db6491add
Bump actions/upload-artifact from 2 to 3 ( #1271 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 16:20:52 +02:00
dependabot[bot]
441fc17847
Bump actions/download-artifact from 2 to 3 ( #5574 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 16:20:30 +02:00
dependabot[bot]
136127b799
Bump docker/login-action from 1 to 2 ( #1272 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 16:11:37 +03:00
dependabot[bot]
ac9ef74463
Bump actions/download-artifact from 2 to 3 ( #1273 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 14:52:54 +02:00
dependabot[bot]
fc7959a871
Bump actions/cache from 2 to 3 ( #5549 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 15:49:54 +03:00
dependabot[bot]
6c020492f3
Bump actions/cache from 2 to 3 ( #1274 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 15:49:08 +03:00
dependabot[bot]
7ce079a6fd
Bump actions/checkout from 2 to 3 ( #11463 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 15:48:27 +03:00
Squirrel
bc0c98884f
dir restructure to support more CGP ( #1266 )
...
* rerame res to chain-specs
* split polkadot-parachains dir
* rename dir parachains-common to common
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
Co-authored-by: Wilfried Kopp <wilfried@parity.io >
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
2022-05-20 13:43:04 +01:00
Kian Paimani
a6f02a9dc3
companion to substrate 11411 ( #5524 )
...
* companion to substrate 11411
* update substrate
* fmt
* fmt
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2022-05-20 11:20:54 +00:00
Alexander Gryaznov
c0fb033206
Stabilize ecdsa_ functions ( #11486 )
2022-05-20 11:20:41 +00:00
dependabot[bot]
66316bb501
Bump docker/setup-buildx-action from 1 to 2 ( #5551 )
...
* Bump docker/setup-buildx-action from 1 to 1.7
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Denis Pisarev <denis.pisarev@parity.io >
2022-05-20 13:50:52 +03:00
girazoki
77558aacc9
fix pallet-xcm toml related to runtime-benchmarks ( #5561 )
...
* fix tomls
* Remove xcm-builder from runtime-benchmarks
* Maintain order in toml
2022-05-20 07:32:58 +02:00
Shawn Tabrizi
9d88e462f0
Fix Cumulus Compile (into_account_truncating) ( #1277 )
...
* fix cumulus compile
* Update Cargo.lock
2022-05-19 19:38:57 +00:00
Shawn Tabrizi
b61c7515d7
Rename BagsList to VoterList and Add Score ( #5463 )
...
* add migration for simple pallet rename
* fmt
* also add score migration
* add try-runtime feature to bags list
* add pre_upgrade to pallet rename
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-05-19 14:33:24 -04:00
Andrei Sandu
4060017059
Availability: provisioner bitfield metrics ( #5484 )
...
* Add histogram for inherent data bitfields
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* -500ms bitfield sign job delay, +500ms bitfield gossip
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Revert "-500ms bitfield sign job delay, +500ms bitfield gossip"
This reverts commit 3d3f2c0fae651653ffdca50c1ad38c5757166edc.
* fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Update node/core/provisioner/src/metrics.rs
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
Co-authored-by: Andronik <write@reusable.software >
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
2022-05-19 18:53:43 +02:00
Shawn Tabrizi
927019a734
Add Score to Bags List ( #11357 )
...
* Add Score to Bags List
* fix ordering
* make compile
* in progress migration
* make migration compile
* remove old check
* remove runtime specific migration
* fix warning
* Apply suggestions from code review
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* improve migration
* fix
* fix merge
* fmt
* Update migrations.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
2022-05-19 16:40:31 +00:00
Jegor Sidorenko
807a95230b
Fix renaming artifacts ( #11455 )
2022-05-19 13:39:43 +00:00
Bernhard Schuster
450ca2baca
overseer becomes orchestra ( #5542 )
...
* rename overseer-gen to orchestra
Also drop `gum` and use `tracing`.
* make orchestra compile as standalone
* introduce Spawner trait to split from sp_core
Finalizes the independence of orchestra from polkadot-overseer
* slip of the pen
* other fixins
* remove unused import
* Update node/overseer/orchestra/proc-macro/src/impl_builder.rs
Co-authored-by: Vsevolod Stakhov <vsevolod.stakhov@parity.io >
* Update node/overseer/orchestra/proc-macro/src/impl_builder.rs
Co-authored-by: Vsevolod Stakhov <vsevolod.stakhov@parity.io >
* orchestra everywhere
* leaky data
* Bump scale-info from 2.1.1 to 2.1.2 (#5552 )
Bumps [scale-info](https://github.com/paritytech/scale-info ) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/paritytech/scale-info/releases )
- [Changelog](https://github.com/paritytech/scale-info/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/scale-info/compare/v2.1.1...v2.1.2 )
---
updated-dependencies:
- dependency-name: scale-info
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>
* Add missing markdown code block delimiter (#5555 )
* bitfield-signing: remove util::jobs usage (#5523 )
* 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 <>
* Fix build
Co-authored-by: Vsevolod Stakhov <vsevolod.stakhov@parity.io >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Malte Kliemann <mail@maltekliemann.com >
Co-authored-by: Chris Sosnin <48099298+slumber@users.noreply.github.com >
Co-authored-by: Koute <koute@users.noreply.github.com >
2022-05-19 13:42:02 +01:00
Kian Paimani
20ef36f1b2
add missing events to elections fallback ( #11436 )
...
* add missing events to elections fallback
* Update frame/election-provider-multi-phase/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update frame/election-provider-multi-phase/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* add test
* fix
* fmt
* Update frame/support/src/storage/types/nmap.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-05-19 11:54:40 +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
Chris Sosnin
f1006f5a43
bitfield-signing: remove util::jobs usage ( #5523 )
2022-05-19 13:01:22 +02:00
kostekIV
ba1f31d040
Make fields of EraRewardPoints public ( #11422 )
2022-05-19 11:10:49 +02:00
Malte Kliemann
32770a4383
Add missing markdown code block delimiter ( #5555 )
2022-05-19 11:09:49 +02:00
dependabot[bot]
2906ee1bcb
Bump scale-info from 2.1.1 to 2.1.2 ( #5552 )
...
Bumps [scale-info](https://github.com/paritytech/scale-info ) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/paritytech/scale-info/releases )
- [Changelog](https://github.com/paritytech/scale-info/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/scale-info/compare/v2.1.1...v2.1.2 )
---
updated-dependencies:
- dependency-name: scale-info
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>
2022-05-19 10:51:25 +02:00
Koute
dd854c16e2
Switch to pooling copy-on-write instantiation strategy for WASM ( #11232 )
...
* Switch to pooling copy-on-write instantiation strategy for WASM
* Fix benchmark compilation
* Fix `cargo fmt`
* Fix compilation of another benchmark I've missed
* Cleanups according to review comments
* Move `max_memory_size` to `Semantics`
* Set `memory_guaranteed_dense_image_size` to `max_memory_size`
* Rename `wasm_instantiation_strategy` to `wasmtime_instantiation_strategy`
* Update the doc-comments regarding the instantiation strategy
* Extend the integration tests to test every instantiation strategy
* Don't drop the temporary directory until the runtime is dropped in benchmarks
* Don't drop the temporary directory until the runtime is dropped in tests
2022-05-19 07:32:53 +00:00
Alexander Theißen
b3b7b4ddc7
contracts: Add set_code root dispatchable ( #11451 )
...
* Add `set_code` dispatchable
* cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark pallet --chain=dev --steps=50 --repeat=20 --pallet=pallet_contracts --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs
Co-authored-by: Parity Bot <admin@parity.io >
2022-05-18 23:50:22 +00:00
Sergejs Kostjucenko
bd225c7938
add GHA support to dependabot ( #11448 )
...
* add GHA support to dependabot
* fix formatting
* add labels
* add label
2022-05-19 00:26:44 +03:00
Bastian Köcher
516a8fa433
trie: Optimize keys function ( #11457 )
...
* trie: Optimize `keys` function
Instead of iterating the entire state and collecting all keys that match the given prefix, we can
directly use the optimized prefix iterator.
* Add a test
2022-05-18 21:20:47 +02:00
Sebastian Kunert
b32764ff99
Create binary for cumulus testing node #1128 ( #1158 )
...
* Create binary for cumulus testing node
* Fix call to wrong method
* Fix iterator bug
* Add real networking to polkadot node
* Allow using of file chain specs
* Implement export of wasm blob and genesis state
* Add parachain id to test service export
* Remove debug logs
* Fix main.rs
* Do not use cli from polkadot-collator
* Add tracing dependency
* Improve cli structure
* Use struct instead of enum for export commands
* Add missing license header
* Fix benchmark
* add build-spec subcommand (#19 )
* add build-spec subcommand
* reorder args
* Fix formatting
* Add zombienet test (#26 )
* add migrated tests
* rename test files
* uncomment args and remove extra collator node
* Fix indentation (#27 )
* add migrated tests
* rename test files
* uncomment args and remove extra collator node
* fix identation
* Review comments
* Remove unwanted version changes
Co-authored-by: Sebastian Kunert <skunert@Sebastians-MacBook-Pro.fritz.box >
Co-authored-by: Javier Viola <pepoviola@gmail.com >
2022-05-18 16:41:48 +02:00