Juan
68ab943c65
Remove deprecated pallet_balances's set_balance_deprecated and transfer dispatchables ( #1226 )
...
* remove deprecated dispatchables
* update test
* update tests
* update tests
* add prdocs
* add prdoc
* Update docs/prdoc/pr_1226.prdoc
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
* move prdoc file
---------
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
2023-09-06 16:06:47 +03:00
Cem Eliguzel
dc28df0b27
Fix the wasm runtime substitute caching bug ( #1416 )
2023-09-06 13:02:33 +03:00
Chevdor
7986b12624
fmt fixes ( #1413 )
2023-09-06 11:12:55 +03:00
Alexander Theißen
336916827f
Remove dynamic dispatch using Ext ( #1399 )
2023-09-05 13:24:19 +02:00
Marcin S
ec8949f624
Remove redundant calls to borrow() ( #1393 )
...
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
Co-authored-by: Francisco Aguirre <franciscoaguirreperez@gmail.com >
2023-09-05 12:11:30 +02:00
Dmitry Markin
12194445b2
Get rid of polling in WarpSync ( #1265 )
2023-09-05 12:34:50 +03:00
dependabot[bot]
711132c961
Bump thiserror from 1.0.47 to 1.0.48 ( #1396 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.47 to 1.0.48.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.47...1.0.48 )
---
updated-dependencies:
- dependency-name: thiserror
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>
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
2023-09-05 09:27:19 +02:00
Liam Aharon
7217a5da65
rust docs: add simple analytics ( #1377 )
...
* inject simple analytics
* comments
* fix chown
* comments
* doc features
2023-09-05 12:31:57 +10:00
PG Herveou
076529ea55
Contracts: Update read_sandbox ( #1390 )
...
* Update runtime.rs
* Fix
* Revert "Update runtime.rs"
This reverts commit 808f026a835b1f2707f640799454a50fd3a8be7b.
* nit mono-repo fixes
2023-09-04 21:33:20 +02:00
Dmitry Markin
01cdae878d
Extract block announce validation from ChainSync ( #1170 )
2023-09-04 18:27:53 +03:00
Oliver Tale-Yazdi
2f242e0792
Cleanup repo (a tiny bit) ( #1382 )
...
* Delete stale adoc files
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Convert adoc to md
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add adoc to gitignore
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Delete more random unmaintained files
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Markdown lint
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-09-04 15:45:33 +03:00
Chevdor
a30092ab42
Markdown linter ( #1309 )
...
* Add markdown linting
- add linter default rules
- adapt rules to current code
- fix the code for linting to pass
- add CI check
fix #1243
* Fix markdown for Substrate
* Fix tooling install
* Fix workflow
* Add documentation
* Remove trailing spaces
* Update .github/.markdownlint.yaml
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix mangled markdown/lists
* Fix captalization issues on known words
2023-09-04 12:02:32 +03:00
Oliver Tale-Yazdi
830fde2a60
Update fmt file and some authors ( #1379 )
...
* Include bridges into fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix some authors
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-09-04 09:19:41 +02:00
dependabot[bot]
a7ed6d2086
Bump the known_good_semver group with 1 update ( #1375 )
...
Bumps the known_good_semver group with 1 update: [syn](https://github.com/dtolnay/syn ).
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.29...2.0.31 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: known_good_semver
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 08:48:36 +03:00
dependabot[bot]
6322a76e36
Bump proc-macro-warning from 0.4.1 to 0.4.2 ( #1376 )
...
Bumps [proc-macro-warning](https://github.com/ggwpez/proc-macro-warning ) from 0.4.1 to 0.4.2.
- [Release notes](https://github.com/ggwpez/proc-macro-warning/releases )
- [Commits](https://github.com/ggwpez/proc-macro-warning/compare/v0.4.1...v0.4.2 )
---
updated-dependencies:
- dependency-name: proc-macro-warning
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-09-04 08:48:15 +03:00
yjh
4053bdac03
feat: add futures api to TransactionPool ( #1348 )
...
* feat: add futures api to `TransactionPool`
* fix clippy
2023-09-03 21:52:20 +02:00
Gavin Wood
bc6fca3c44
Ensure cumulus/bridges is ignored by formatter and run it ( #1369 )
2023-09-03 15:11:26 +02:00
Michal Kucharczyk
2c3e869c38
substrate: chain-spec paths corrected in zombienet tests ( #1362 )
...
* substrate: chain-spec paths corrected in zombienet tests
* fix chain-spec path in cumulus test
* disable beefy on validator
---------
Co-authored-by: Javier Viola <javier@parity.io >
2023-09-02 21:25:43 +02:00
Alexander Theißen
3f92be2cc2
contracts: Update to wasmi 0.31 ( #1350 )
...
* contracts: Update to wasmi 0.31
* ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts
---------
Co-authored-by: command-bot <>
2023-09-02 14:41:33 +02:00
Sacha Lansky
8cfaad4600
[improve docs]: Template pallet ( #1280 )
...
* add and refactor docs
* commit mistake
* improvements
* fixes
* Apply suggestions from code review
Co-authored-by: Squirrel <gilescope@gmail.com >
* fix: use markdown syntax
* from review: explain what generate_deposit does
* from review: add note about errors
* updates
* fix: bring back getter
---------
Co-authored-by: Squirrel <gilescope@gmail.com >
2023-09-02 03:34:46 +03:00
Sacha Lansky
ccdf636c49
fix typos ( #1339 )
2023-09-01 17:54:03 +02:00
Davide Galassi
0d6ef3e6c2
Use bandersnatch-vrfs with locked dependencies ref ( #1342 )
...
* Use bandersnatch-vrfs with locked dependencies ref
* Update ark-scale to 0.0.10
* Bump ark-substrate crates version
2023-09-01 15:58:46 +02:00
dependabot[bot]
a846813493
Bump bs58 from 0.4.0 to 0.5.0 ( #1293 )
...
Bumps [bs58](https://github.com/Nullus157/bs58-rs ) from 0.4.0 to 0.5.0.
- [Changelog](https://github.com/Nullus157/bs58-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Nullus157/bs58-rs/compare/0.4.0...0.5.0 )
---
updated-dependencies:
- dependency-name: bs58
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-01 16:44:14 +03:00
Cyrill Leutwiler
24c41f10bb
Contracts: seal0::balance should return the free balance ( #1254 )
2023-09-01 15:33:15 +03:00
dependabot[bot]
12443589e3
Bump the known_good_semver group with 1 update ( #1347 )
...
Bumps the known_good_semver group with 1 update: [clap](https://github.com/clap-rs/clap ).
- [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.4.1...v4.4.2 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: known_good_semver
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-01 03:22:35 -07:00
gupnik
16fe5be02f
Renames API ( #1186 )
...
Co-authored-by: Javier Viola <javier@parity.io >
2023-09-01 12:16:07 +05:30
Bastian Köcher
a33d7922f8
Rename polkadot-parachain to polkadot-parachain-primitives ( #1334 )
...
* Rename `polkadot-parachain` to `polkadot-parachain-primitives`
While doing this it also fixes some last `rustdoc` issues and fixes
another Cargo warning related to `pallet-paged-list`.
* Fix compilation
* ".git/.scripts/commands/fmt/fmt.sh"
* Fix XCM docs
---------
Co-authored-by: command-bot <>
2023-08-31 23:53:29 +02:00
Davide Galassi
f1f793718a
Sassafras primitives ( #1249 )
...
* Introduce Sassafras primitives
* Keystore workaround
* Fix doc
* Use in keystore
* Improve bandersnatch vrf docs
* Apply review suggestions
* Update README
* Docs improvement
* Docs fix
2023-08-31 13:38:11 +02:00
Juan
bdbe982970
Restructure dispatch macro related exports ( #1162 )
...
* restructure dispatch macro related exports
* moved Dispatchable to lib.rs
* fix .gitignore final newline
* ".git/.scripts/commands/fmt/fmt.sh"
* fix rustdocs
* wip
---------
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
Co-authored-by: command-bot <>
Co-authored-by: ordian <write@reusable.software >
2023-08-31 14:08:44 +03:00
dependabot[bot]
f1845f725d
Bump zstd from 0.11.2+zstd.1.5.2 to 0.12.4 ( #1326 )
...
Bumps [zstd](https://github.com/gyscos/zstd-rs ) from 0.11.2+zstd.1.5.2 to 0.12.4.
- [Release notes](https://github.com/gyscos/zstd-rs/releases )
- [Commits](https://github.com/gyscos/zstd-rs/commits )
---
updated-dependencies:
- dependency-name: zstd
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 12:48:59 +02:00
Oliver Tale-Yazdi
dfc0d1bc83
Remove substrate_test_utils::test ( #1321 )
...
* Directly use tokio::test
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove old code
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Delete substrate-test-utils-test-crate
Also not needed anymore.
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: Bastian Köcher <git@kchr.de >
2023-08-31 12:48:39 +02:00
Alexander Samusev
aabed6757e
[ci] add more jobs for pipeline cancel, cleanup ( #1314 )
2023-08-31 12:36:38 +03:00
Alexandru Gheorghe
5559b752b4
substrate: peer_store: log warn on disconnecting because of reputation ( #1299 )
...
* substrate: peer_store: log error on disconnecting because of reputation
Disconnecting and banning a peer because of negative reputation is
usually an indicative of one of two things:
1. We've got a bug that forces disconnects.
2. We've got malicious peers that try to attack us.
We both cases I don't think we should hide this behind a trace log
and we should log errors, so that things are easy to notice and
debug/mitigated.
Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io >
* Move from error to warn
Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io >
---------
Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io >
2023-08-31 09:40:40 +03:00
Ikko Eltociear Ashimine
5462409cc0
Fix typo in statement-store/README.md ( #1317 )
...
absense -> absence
2023-08-30 21:43:16 +02:00
Javier Viola
af432f0fc3
fix chain-spec path for substrate tests ( #1307 )
...
* fix chain-spec path for substrate tests
* update chain-spec path for cumulus test
2023-08-30 14:38:03 -03:00
Przemek Rzad
bfb241d7f3
Add missing licenses and tune the scanning workflow ( #1288 )
...
* Add missing Cumulus licenses
* Typo
* Add missing Substrate licenses
* Single job checking the sub-repos in steps
* Remove dates
* Remove dates
* Add missing (C)
* Update FRAME UI tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update more UI tests
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 >
2023-08-30 15:45:49 +03:00
Oliver Tale-Yazdi
7768b77d53
Remove old UI test ( #1289 )
...
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
2023-08-30 11:32:34 +02:00
dependabot[bot]
c5060a5d5a
Bump the known_good_semver group with 2 updates ( #1284 )
...
Bumps the known_good_semver group with 2 updates: [serde](https://github.com/serde-rs/serde ) and [clap](https://github.com/clap-rs/clap ).
Updates `serde` from 1.0.186 to 1.0.188
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.186...v1.0.188 )
Updates `clap` from 4.4.0 to 4.4.1
- [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/clap_complete-v4.4.0...v4.4.1 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: known_good_semver
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: known_good_semver
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-30 10:54:15 +02:00
Liam Aharon
2f49252bcd
Rename VersionedRuntimeUpgrade to VersionedMigration ( #1187 )
...
* rename VersionedRuntimeUpgrade to VersionedMigration
* doc lint
* rename test filename
---------
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-08-30 07:28:03 +03:00
dependabot[bot]
b4ee6f2aa9
Bump chrono from 0.4.26 to 0.4.27 ( #1286 )
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.26 to 0.4.27.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.26...v0.4.27 )
---
updated-dependencies:
- dependency-name: chrono
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-08-30 11:20:35 +10:00
Bastian Köcher
844eda7626
pallet-scheduler: Send CallUnavailable event if the call isn't present ( #1161 )
...
The event was already send before, but it was done at the wrong
position. The pull request all changes the `execute_dispatch` signature
to highlight that there is only one error type.
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Javier Viola <javier@parity.io >
2023-08-29 22:42:54 +02:00
Bastian Köcher
9acb06717e
Fix test-rustdoc ( #1266 )
...
* Fix `test-rustdoc`
* ".git/.scripts/commands/fmt/fmt.sh"
---------
Co-authored-by: command-bot <>
2023-08-29 21:23:38 +02:00
Nazar Mokrynskyi
430edd7535
Relax genesis config to not require Default impl ( #1221 )
...
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-08-29 20:36:45 +03:00
Alexandru Vasile
62f0a729cf
chainSpec: Stabilize chainSpec methods to V1 ( #1206 )
...
* chainSpec: Stabilize chainSpec methods to V1
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* chainSpec/api: Remove unstable documentation
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
---------
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
Co-authored-by: James Wilson <james@jsdw.me >
2023-08-29 18:49:16 +03:00
Adrian Catangiu
562557a948
sc-consensus-beefy: reuse instead of recreate GossipEngine ( #1262 )
...
"sc-consensus-beefy: restart voter on pallet reset #14821 " introduced
a mechanism to reinitialize the BEEFY worker on certain errors; but
re-creating the GossipEngine doesn't play well with
"Rework the event system of sc-network #14197 ".
So this PR slightly changes the re-initialization logic to reuse the original
GossipEngine and not recreate it.
Signed-off-by: Adrian Catangiu <adrian@parity.io >
2023-08-29 18:47:05 +03:00
Oliver Tale-Yazdi
cd10c46146
Cleanup some files ( #1166 )
...
* Remove .cargo folders
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove rustfmt.toml
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Hide rustfmt.toml file
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Merge .gitignore files
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update commit hash after history-rewrite
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Try to hot-fix license scanner
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update .gitignore
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
* Undo changes to check-license
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: Chevdor <chevdor@users.noreply.github.com >
2023-08-29 18:35:36 +03:00
Joyce Siqueira
7c69d14441
update contribution guidelines, remove redundant files ( #1181 )
...
* update contribution guidelines, remove redundant files
* removing doc ref labels, updating links on contribution
* add manifest formatting
* update title
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* update links to the new repo
* terminal friendly convention
* update doc guideline format
---------
Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-08-29 16:47:44 +03:00
Oliver Tale-Yazdi
dcda0e50f5
Fix build profiles ( #1229 )
...
* Fix build profiles
Closes https://github.com/paritytech/polkadot-sdk/issues/1155
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Manually set version to 1.0.0
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Use workspace repo
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* 'Authors and Edition from workspace
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-08-29 13:39:41 +02:00
Joyce Siqueira
c80f76f187
update polkadot, substrate, cumulus readme ( #1182 )
...
* update readmes
* temporary ReadMe for the Polkadot SDK
* delete welcome readme
* update links on substrate readme
* update links on polkadot readme
* update links on cumulus readme
* update overseer feature comment
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
* Update cumulus/README.md
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
* Update cumulus/README.md
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
* Update polkadot/README.md
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
* Update polkadot/README.md
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
* Update polkadot/README.md
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
* update gitlab links
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
* terminal friendly convention
---------
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
2023-08-29 14:37:16 +03:00
Nazar Mokrynskyi
b728724318
Make claim_slot take &mut self ( #1225 )
...
Co-authored-by: Bastian Köcher <git@kchr.de >
2023-08-29 11:37:02 +02:00