Juan
7c87d61f5a
Macros to use path instead of ident ( #1474 )
2023-10-14 08:26:19 +02:00
David Emett
a808a3a091
Mixnet integration ( #1346 )
...
See #1345 , <https://github.com/paritytech/substrate/pull/14207 >.
This adds all the necessary mixnet components, and puts them together in
the "kitchen-sink" node/runtime. The components added are:
- A pallet (`frame/mixnet`). This is responsible for determining the
current mixnet session and phase, and the mixnodes to use in each
session. It provides a function that validators can call to register a
mixnode for the next session. The logic of this pallet is very similar
to that of the `im-online` pallet.
- A service (`client/mixnet`). This implements the core mixnet logic,
building on the `mixnet` crate. The service communicates with other
nodes using notifications sent over the "mixnet" protocol.
- An RPC interface. This currently only supports sending transactions
over the mixnet.
---------
Co-authored-by: David Emett <dave@sp4m.net >
Co-authored-by: Javier Viola <javier@parity.io >
2023-10-09 14:56:30 +01:00
Oliver Tale-Yazdi
1835c091c4
Revive Substrate Crate ( #1477 )
...
Closes https://github.com/paritytech/polkadot-sdk/issues/1450
Bringing back the Substrate crate that was forgotten in the monorepo
import 😅 .
It is a doc-only crate. Version number is set to `1.0.0` and publishing
is enabled (so that we can link to docs.rs).
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Bastian Köcher <git@kchr.de >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
2023-10-06 10:08:09 +02:00
Svyatoslav Nikolsky
d80171ec22
Update bridges subtree ( #1740 )
...
Co-authored-by: Branislav Kontur <bkontur@gmail.com >
2023-10-04 01:14:01 +03:00
Bastian Köcher
bf90cb0b73
Remove kusama and polkadot runtime crates ( #1731 )
...
This pull request is removing the Kusama and Polkadot runtime crates. As
still some crates dependent on the runtime crates, this pull request is
doing some more changes.
- It removes the `hostperfcheck` CLI command. This CLI command could
compare the current node against the standard hardware by doing some
checks. Later we added the hardware benchmark feature to Substrate. This
hardware benchmark is running on every node startup and prints a warning
if the current node is too slow. This makes this CLI command a duplicate
that was also depending on the kusama runtime.
- The pull request is removing the emulated integration tests that were
requiring the Kusama or Polkadot runtime crates.
2023-09-29 09:54:11 +02:00
s0me0ne-unkn0wn
2c8021f998
Retire puppet workers ( #1449 )
...
Closes #583
After the separation of PVF worker binaries, dedicated puppet workers
are not needed for tests anymore. The production workers can be used
instead, avoiding some code duplication and decreasing complexity.
The changes also make it possible to further refactor the code to
isolate workers completely.
2023-09-11 19:14:07 +02:00
Oliver Tale-Yazdi
4b8bd9060e
Delete staking miner ( #1480 )
...
* Delete staking miner
New repo should be used instead https://github.com/paritytech/staking-miner-v2
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove staking-miner CI jobs
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-09-11 17:54:27 +02:00
Serban Iorga
142a11ad95
Update bridges subtree ( #1392 )
...
* Move the bridges subtree under root
* Squashed 'bridges/' changes from 277f0d5496..e50398d1c5
e50398d1c5 bridges subtree fixes (#2528 )
99af07522d Markdown linter (#1309 ) (#2526 )
733ff0fe7a `polkadot-staging` branch: Use polkadot-sdk dependencies (#2524 )
e8a59f141e Fix benchmark with new XCM::V3 `MAX_INSTRUCTIONS_TO_DECODE` (#2514 )
62b185de15 Backport `polkadot-sdk` changes to `polkadot-staging` (#2518 )
d9658f4d5b Fix equivocation detection containers startup (#2516 ) (#2517 )
d65db28a8f Backport: building images from locally built binaries (#2513 )
5fdbaf45f6 Start the equivocation detection loop from the complex relayer (#2507 ) (#2512 )
7fbb67de46 Backport: Implement basic equivocations detection loop (#2375 )
cb7efe245c Manually update deps in polkadot staging (#2371 )
d17981fc33 #2351 to polkadot-staging (#2359 )
git-subtree-dir: bridges
git-subtree-split: e50398d1c594e4e96df70b0bd376e565d17e8558
* Reapply diener workspacify
* Fix Cargo.toml
* Fix test
* Adjustments
2023-09-11 11:47:45 +03:00
s0me0ne-unkn0wn
9bfb6529d1
Introduce default-members to the workspace root ( #1420 )
2023-09-09 11:35:26 +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
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
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
Alexander Samusev
e49493442a
Add CI for monorepo ( #1145 )
...
* Add CI for monorepo
* fix frame tests
* Format features
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* add note for skipping tests and disable test-linux-stable-all
* Fix tests and compile issues (#1152 )
* Fix feature dependant import
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Bump test timeout
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove feature gate
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add resolver 2
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove old lockfile
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Format features
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix check-dependency-rules
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* rm test-runtime
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Actually fix script
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* enable cargo-check-each-crate-macos
* Run check-each-crate on 6 machines (#1163 )
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-08-25 16:35:22 +02:00
Liam Aharon
1a38d6d6be
fix [workspace.package] repository ( #1150 )
2023-08-25 20:41:52 +10:00
alvicsam
7c681f51d6
Add package metadata to workspace
...
Signed-off-by: alvicsam <alvicsam@gmail.com >
2023-08-25 11:05:17 +02:00
alvicsam
f441a5fc93
Diener workspacify
...
Signed-off-by: alvicsam <alvicsam@gmail.com >
2023-08-25 11:05:17 +02:00