-
Notifications
You must be signed in to change notification settings - Fork 726
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix_typo2
- Loading branch information
Showing
2,768 changed files
with
167,427 additions
and
152,910 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/sh | ||
|
||
# Wrapper for building with musl. | ||
# | ||
# See comments for musl-gcc in this repo. | ||
|
||
g++ "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/sh | ||
|
||
# Wrapper for building with musl. | ||
# | ||
# musl unfortunately requires a musl-enabled C compiler (musl-gcc) to be | ||
# installed, which can be kind of a pain to get installed depending on the | ||
# distro. That's not a very good user experience. | ||
# | ||
# The real musl-gcc wrapper sets the correct system include paths for linking | ||
# with musl libc library. Since this is not actually used to link any binaries | ||
# it should most likely work just fine. | ||
|
||
gcc "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Config file for lychee link checker: <https://github.com/lycheeverse/lychee> | ||
# Run with `lychee -c .config/lychee.toml ./**/*.rs ./**/*.prdoc` | ||
|
||
cache = true | ||
max_cache_age = "1d" | ||
max_redirects = 10 | ||
max_retries = 6 | ||
|
||
# Exclude localhost et.al. | ||
exclude_all_private = true | ||
|
||
# Treat these codes as success condition: | ||
accept = [ | ||
# Ok | ||
200, | ||
|
||
# Rate limited - GitHub likes to throw this. | ||
429, | ||
] | ||
|
||
exclude_path = ["./target"] | ||
|
||
exclude = [ | ||
# Place holders (no need to fix these): | ||
"http://visitme/", | ||
"https://visitme/", | ||
|
||
# TODO <https://github.com/paritytech/polkadot-sdk/issues/134> | ||
"https://docs.substrate.io/main-docs/build/custom-rpc/#public-rpcs", | ||
"https://docs.substrate.io/rustdocs/latest/sp_api/macro.decl_runtime_apis.html", | ||
"https://github.com/ipfs/js-ipfs-bitswap/blob/", | ||
"https://github.com/paritytech/polkadot-sdk/substrate/frame/timestamp", | ||
"https://github.com/paritytech/substrate/frame/fast-unstake", | ||
"https://github.com/zkcrypto/bls12_381/blob/e224ad4ea1babfc582ccd751c2bf128611d10936/src/test-data/mod.rs", | ||
"https://polkadot.network/the-path-of-a-parachain-block/", | ||
"https://research.web3.foundation/en/latest/polkadot/BABE/Babe/#6-practical-results", | ||
"https://research.web3.foundation/en/latest/polkadot/NPoS/3.%20Balancing.html", | ||
"https://research.web3.foundation/en/latest/polkadot/Token%20Economics.html#inflation-model", | ||
"https://research.web3.foundation/en/latest/polkadot/block-production/Babe.html", | ||
"https://research.web3.foundation/en/latest/polkadot/block-production/Babe.html#-6.-practical-results", | ||
"https://research.web3.foundation/en/latest/polkadot/networking/3-avail-valid.html#topology", | ||
"https://research.web3.foundation/en/latest/polkadot/overview/2-token-economics.html", | ||
"https://research.web3.foundation/en/latest/polkadot/overview/2-token-economics.html#inflation-model", | ||
"https://research.web3.foundation/en/latest/polkadot/slashing/npos.html", | ||
"https://rpc.polkadot.io/", | ||
"https://w3f.github.io/parachain-implementers-guide/node/approval/approval-distribution.html", | ||
"https://w3f.github.io/parachain-implementers-guide/node/index.html", | ||
"https://w3f.github.io/parachain-implementers-guide/protocol-chain-selection.html", | ||
"https://w3f.github.io/parachain-implementers-guide/runtime/session_info.html", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# all options https://taplo.tamasfe.dev/configuration/formatter-options.html | ||
|
||
# ignore zombienet as they do some deliberate custom toml stuff | ||
exclude = [ | ||
"cumulus/zombienet/**", | ||
"polkadot/node/malus/integrationtests/**", | ||
"polkadot/zombienet_tests/**", | ||
"substrate/zombienet/**", | ||
] | ||
|
||
# global rules | ||
[formatting] | ||
reorder_arrays = true | ||
inline_table_expand = false | ||
array_auto_expand = false | ||
array_auto_collapse = false | ||
indent_string = " " # tab | ||
|
||
# don't re-order order-dependent deb package metadata | ||
[[rule]] | ||
include = ["polkadot/Cargo.toml"] | ||
keys = ["package.metadata.deb"] | ||
|
||
[rule.formatting] | ||
reorder_arrays = false | ||
|
||
# don't re-order order-dependent rustflags | ||
[[rule]] | ||
include = [".cargo/config.toml"] | ||
keys = ["build", "target.'cfg(feature = \"cargo-clippy\")'"] | ||
|
||
[rule.formatting] | ||
reorder_arrays = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
version: | ||
format: 1 | ||
# Minimum version of the binary that is expected to work. This is just for printing a nice error | ||
# message when someone tries to use an older version. | ||
binary: 0.13.2 | ||
|
||
# The examples in this file assume crate `A` to have a dependency on crate `B`. | ||
workflows: | ||
check: | ||
- [ | ||
'lint', | ||
# Check that `A` activates the features of `B`. | ||
'propagate-feature', | ||
# These are the features to check: | ||
'--features=try-runtime,runtime-benchmarks,std', | ||
# Do not try to add a new section into `[features]` of `A` only because `B` expose that feature. There are edge-cases where this is still needed, but we can add them manually. | ||
'--left-side-feature-missing=ignore', | ||
# Ignore the case that `A` it outside of the workspace. Otherwise it will report errors in external dependencies that we have no influence on. | ||
'--left-side-outside-workspace=ignore', | ||
# Some features imply that they activate a specific dependency as non-optional. Otherwise the default behaviour with a `?` is used. | ||
'--feature-enables-dep=try-runtime:frame-try-runtime,runtime-benchmarks:frame-benchmarking', | ||
# Auxillary flags: | ||
'--offline', | ||
'--locked', | ||
'--show-path', | ||
'--quiet', | ||
] | ||
# Same as `check`, but with the `--fix` flag. | ||
default: | ||
- [ $check.0, '--fix' ] | ||
|
||
# Will be displayed when any workflow fails: | ||
help: | ||
text: | | ||
Polkadot-SDK uses the Zepter CLI to detect abnormalities in the feature configuration. | ||
It looks like one more more checks failed; please check the console output. You can try to automatically address them by running `zepter`. | ||
Otherwise please ask directly in the Merge Request, GitHub Discussions or on Matrix Chat, thank you. | ||
links: | ||
- "https://github.com/paritytech/polkadot-sdk/issues/1831" | ||
- "https://github.com/ggwpez/zepter" |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Bug Report | ||
description: Let us know about an issue you experienced with this software | ||
labels: [ I2-bug, I10-unconfirmed ] | ||
|
||
body: | ||
- type: checkboxes | ||
attributes: | ||
label: Is there an existing issue? | ||
description: Please search to see if an issue already exists and leave a comment that you also experienced this issue or add your specifics that are related to an existing issue. | ||
options: | ||
- label: I have searched the existing issues | ||
required: true | ||
- type: checkboxes | ||
attributes: | ||
label: Experiencing problems? Have you tried our Stack Exchange first? | ||
description: Please search <https://substrate.stackexchange.com> to see if an post already exists, and ask if not. Please do not file support issues here. | ||
options: | ||
- label: This is not a support question. | ||
required: true | ||
- type: textarea | ||
id: bug | ||
attributes: | ||
label: Description of bug | ||
description: What seems to be the problem? | ||
# placeholder: Describe the problem. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: steps | ||
attributes: | ||
label: Steps to reproduce | ||
description: Provide the steps that led to the discovery of the issue. | ||
# placeholder: Describe what you were doing so we can reproduce the problem. | ||
validations: | ||
required: false |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...trate/.github/ISSUE_TEMPLATE/feature.yaml → .github/ISSUE_TEMPLATE/feature.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.