fix: update GitHub URLs from master to main branch
- Replace tree/master with tree/main in all documentation and code comments - Fix issues/168 -> pull/168 reference (issue was converted to PR)
This commit is contained in:
@@ -159,7 +159,7 @@ ambiguity despite using block number instead of a hash. A collection of **votes*
|
|||||||
a Commitment and a collection of signatures is going to be called **Signed Commitment**. A valid
|
a Commitment and a collection of signatures is going to be called **Signed Commitment**. A valid
|
||||||
(see later for the rules) Signed Commitment is also called a **BEEFY Justification** or
|
(see later for the rules) Signed Commitment is also called a **BEEFY Justification** or
|
||||||
**BEEFY Finality Proof**. For more details on the actual data structures please see
|
**BEEFY Finality Proof**. For more details on the actual data structures please see
|
||||||
[BEEFY primitives definitions](https://github.com/pezkuwichain/pezkuwi-sdk/tree/master/bizinikiwi/primitives/consensus/beefy/src).
|
[BEEFY primitives definitions](https://github.com/pezkuwichain/pezkuwi-sdk/tree/main/bizinikiwi/primitives/consensus/beefy/src).
|
||||||
|
|
||||||
A **round** is an attempt by BEEFY validators to produce a BEEFY Justification. **Round number**
|
A **round** is an attempt by BEEFY validators to produce a BEEFY Justification. **Round number**
|
||||||
is simply defined as a block number the validators are voting for, or to be more precise, the
|
is simply defined as a block number the validators are voting for, or to be more precise, the
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
//! > Made with *Bizinikiwi*, for *Pezkuwi*.
|
//! > Made with *Bizinikiwi*, for *Pezkuwi*.
|
||||||
//!
|
//!
|
||||||
//! [![github]](https://github.com/pezkuwichain/pezkuwi-sdk/tree/master/bizinikiwi/pezframe/bags-list) -
|
//! [![github]](https://github.com/pezkuwichain/pezkuwi-sdk/tree/main/bizinikiwi/pezframe/bags-list) -
|
||||||
//! [![pezkuwi]](https://pezkuwichain.io)
|
//! [![pezkuwi]](https://pezkuwichain.io)
|
||||||
//!
|
//!
|
||||||
//! [pezkuwi]:
|
//! [pezkuwi]:
|
||||||
|
|||||||
@@ -632,7 +632,7 @@ fn expand_functions(def: &EnvDef, expand_mode: ExpandMode) -> TokenStream2 {
|
|||||||
let not_deprecated = f.not_deprecated;
|
let not_deprecated = f.not_deprecated;
|
||||||
|
|
||||||
// wrapped host function body call with host function traces
|
// wrapped host function body call with host function traces
|
||||||
// see https://github.com/pezkuwichain/pezkuwi-sdk/tree/master/bizinikiwi/pezframe/contracts#host-function-tracing
|
// see https://github.com/pezkuwichain/pezkuwi-sdk/tree/main/bizinikiwi/pezframe/contracts#host-function-tracing
|
||||||
let wrapped_body_with_trace = {
|
let wrapped_body_with_trace = {
|
||||||
let trace_fmt_args = params.clone().filter_map(|arg| match arg {
|
let trace_fmt_args = params.clone().filter_map(|arg| match arg {
|
||||||
syn::FnArg::Receiver(_) => None,
|
syn::FnArg::Receiver(_) => None,
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
//!
|
//!
|
||||||
//! > Made with *Bizinikiwi*, for *Pezkuwi*.
|
//! > Made with *Bizinikiwi*, for *Pezkuwi*.
|
||||||
//!
|
//!
|
||||||
//! [![github]](https://github.com/pezkuwichain/pezkuwi-sdk/tree/master/bizinikiwi/pezframe/examples/basic)
|
//! [![github]](https://github.com/pezkuwichain/pezkuwi-sdk/tree/main/bizinikiwi/pezframe/examples/basic)
|
||||||
//! [![pezkuwi]](https://pezkuwichain.io)
|
//! [![pezkuwi]](https://pezkuwichain.io)
|
||||||
//!
|
//!
|
||||||
//! [pezkuwi]: https://img.shields.io/badge/polkadot-E6007A?style=for-the-badge&logo=polkadot&logoColor=white
|
//! [pezkuwi]: https://img.shields.io/badge/polkadot-E6007A?style=for-the-badge&logo=polkadot&logoColor=white
|
||||||
@@ -460,7 +460,7 @@ impl<T: Config> Pezpallet<T> {
|
|||||||
// Note that a transaction extension can also indicate that a particular data must be present in the
|
// Note that a transaction extension can also indicate that a particular data must be present in the
|
||||||
// _signing payload_ of a transaction by providing an implementation for the `implicit` method. This
|
// _signing payload_ of a transaction by providing an implementation for the `implicit` method. This
|
||||||
// example will not cover this type of extension. See `CheckSpecVersion` in [FRAME
|
// example will not cover this type of extension. See `CheckSpecVersion` in [FRAME
|
||||||
// System](https://github.com/pezkuwichain/pezkuwi-sdk/tree/master/bizinikiwi/pezframe/system#signed-extensions)
|
// System](https://github.com/pezkuwichain/pezkuwi-sdk/tree/main/bizinikiwi/pezframe/system#signed-extensions)
|
||||||
// for an example.
|
// for an example.
|
||||||
//
|
//
|
||||||
// Using the extension, you can add some hooks to the life cycle of each transaction. Note that by
|
// Using the extension, you can add some hooks to the life cycle of each transaction. Note that by
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
//! > Made with *Bizinikiwi*, for *Pezkuwi*.
|
//! > Made with *Bizinikiwi*, for *Pezkuwi*.
|
||||||
//!
|
//!
|
||||||
//! [![github]](https://github.com/pezkuwichain/pezkuwi-sdk/tree/master/bizinikiwi/pezframe/fast-unstake) -
|
//! [![github]](https://github.com/pezkuwichain/pezkuwi-sdk/tree/main/bizinikiwi/pezframe/fast-unstake) -
|
||||||
//! [![pezkuwi]](https://pezkuwichain.io)
|
//! [![pezkuwi]](https://pezkuwichain.io)
|
||||||
//!
|
//!
|
||||||
//! [pezkuwi]: https://img.shields.io/badge/polkadot-E6007A?style=for-the-badge&logo=polkadot&logoColor=white
|
//! [pezkuwi]: https://img.shields.io/badge/polkadot-E6007A?style=for-the-badge&logo=polkadot&logoColor=white
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
//! > Made with *Bizinikiwi*, for *Pezkuwi*.
|
//! > Made with *Bizinikiwi*, for *Pezkuwi*.
|
||||||
//!
|
//!
|
||||||
//! [![github]](https://github.com/pezkuwichain/pezkuwi-sdk/tree/master/bizinikiwi/pezframe/multi-asset-bounties) -
|
//! [![github]](https://github.com/pezkuwichain/pezkuwi-sdk/tree/main/bizinikiwi/pezframe/multi-asset-bounties) -
|
||||||
//! [![pezkuwi]](https://pezkuwichain.io)
|
//! [![pezkuwi]](https://pezkuwichain.io)
|
||||||
//!
|
//!
|
||||||
//! [pezkuwi]: https://img.shields.io/badge/polkadot-E6007A?style=for-the-badge&logo=polkadot&logoColor=white
|
//! [pezkuwi]: https://img.shields.io/badge/polkadot-E6007A?style=for-the-badge&logo=polkadot&logoColor=white
|
||||||
|
|||||||
@@ -407,7 +407,7 @@ fn expand_functions(def: &EnvDef) -> TokenStream2 {
|
|||||||
let output = &f.item.sig.output;
|
let output = &f.item.sig.output;
|
||||||
|
|
||||||
// wrapped host function body call with host function traces
|
// wrapped host function body call with host function traces
|
||||||
// see https://github.com/pezkuwichain/pezkuwi-sdk/tree/master/bizinikiwi/pezframe/contracts#host-function-tracing
|
// see https://github.com/pezkuwichain/pezkuwi-sdk/tree/main/bizinikiwi/pezframe/contracts#host-function-tracing
|
||||||
let wrapped_body_with_trace = {
|
let wrapped_body_with_trace = {
|
||||||
let trace_fmt_args = params.clone().filter_map(|arg| match arg {
|
let trace_fmt_args = params.clone().filter_map(|arg| match arg {
|
||||||
syn::FnArg::Receiver(_) => None,
|
syn::FnArg::Receiver(_) => None,
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
//! > Made with *Bizinikiwi*, for *Pezkuwi*.
|
//! > Made with *Bizinikiwi*, for *Pezkuwi*.
|
||||||
//!
|
//!
|
||||||
//! [![github]](https://github.com/pezkuwichain/pezkuwi-sdk/tree/master/bizinikiwi/pezframe/scheduler) -
|
//! [![github]](https://github.com/pezkuwichain/pezkuwi-sdk/tree/main/bizinikiwi/pezframe/scheduler) -
|
||||||
//! [![pezkuwi]](https://pezkuwichain.io)
|
//! [![pezkuwi]](https://pezkuwichain.io)
|
||||||
//!
|
//!
|
||||||
//! [pezkuwi]: https://img.shields.io/badge/polkadot-E6007A?style=for-the-badge&logo=polkadot&logoColor=white
|
//! [pezkuwi]: https://img.shields.io/badge/polkadot-E6007A?style=for-the-badge&logo=polkadot&logoColor=white
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
//! > Made with *Bizinikiwi*, for *Pezkuwi*.
|
//! > Made with *Bizinikiwi*, for *Pezkuwi*.
|
||||||
//!
|
//!
|
||||||
//! [![github]](https://github.com/pezkuwichain/pezkuwi-sdk/tree/master/bizinikiwi/pezframe/sudo)
|
//! [![github]](https://github.com/pezkuwichain/pezkuwi-sdk/tree/main/bizinikiwi/pezframe/sudo)
|
||||||
//! [![pezkuwi]](https://pezkuwichain.io)
|
//! [![pezkuwi]](https://pezkuwichain.io)
|
||||||
//!
|
//!
|
||||||
//! [github]: https://img.shields.io/badge/github-8da0cb?style=for-the-badge&labelColor=555555&logo=github
|
//! [github]: https://img.shields.io/badge/github-8da0cb?style=for-the-badge&labelColor=555555&logo=github
|
||||||
|
|||||||
@@ -290,7 +290,7 @@ Optionally, in order to demonstrate the relation between the two, you can start
|
|||||||
```
|
```
|
||||||
//! > Made with *Bizinikiwi*, for *Pezkuwi*.
|
//! > Made with *Bizinikiwi*, for *Pezkuwi*.
|
||||||
//!
|
//!
|
||||||
//! [![github]](https://github.com/pezkuwichain/pezkuwi-sdk/tree/master/bizinikiwi/pezframe/fast-unstake) -
|
//! [![github]](https://github.com/pezkuwichain/pezkuwi-sdk/tree/main/bizinikiwi/pezframe/fast-unstake) -
|
||||||
//! [![pezkuwi]](https://pezkuwichain.io)
|
//! [![pezkuwi]](https://pezkuwichain.io)
|
||||||
//!
|
//!
|
||||||
//! [pezkuwi]: https://img.shields.io/badge/polkadot-E6007A?style=for-the-badge&logo=polkadot&logoColor=white
|
//! [pezkuwi]: https://img.shields.io/badge/polkadot-E6007A?style=for-the-badge&logo=polkadot&logoColor=white
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
//!
|
//!
|
||||||
//! > If starting a new teyrchain project, please use an async backing compatible template such as
|
//! > If starting a new teyrchain project, please use an async backing compatible template such as
|
||||||
//! > the
|
//! > the
|
||||||
//! > [teyrchain template](https://github.com/pezkuwichain/pezkuwi-sdk/tree/master/templates/teyrchain).
|
//! > [teyrchain template](https://github.com/pezkuwichain/pezkuwi-sdk/tree/main/templates/teyrchain).
|
||||||
//! The rollout process for Async Backing has three phases. Phases 1 and 2 below put new
|
//! The rollout process for Async Backing has three phases. Phases 1 and 2 below put new
|
||||||
//! infrastructure in place. Then we can simply turn on async backing in phase 3.
|
//! infrastructure in place. Then we can simply turn on async backing in phase 3.
|
||||||
//!
|
//!
|
||||||
|
|||||||
@@ -111,6 +111,6 @@
|
|||||||
//!
|
//!
|
||||||
//! - <https://forum.polkadot.network/t/offchain-workers-design-assumptions-vulnerabilities/2548>
|
//! - <https://forum.polkadot.network/t/offchain-workers-design-assumptions-vulnerabilities/2548>
|
||||||
//! - <https://exchange.pezkuwichain.app/questions/11058/how-can-i-create-ocw-that-wont-activates-every-block-but-will-activates-only-w/11060#11060>
|
//! - <https://exchange.pezkuwichain.app/questions/11058/how-can-i-create-ocw-that-wont-activates-every-block-but-will-activates-only-w/11060#11060>
|
||||||
//! - [Offchain worker example](https://github.com/pezkuwichain/pezkuwi-sdk/tree/master/bizinikiwi/pezframe/examples/offchain-worker)
|
//! - [Offchain worker example](https://github.com/pezkuwichain/pezkuwi-sdk/tree/main/bizinikiwi/pezframe/examples/offchain-worker)
|
||||||
//!
|
//!
|
||||||
//! [`frame`]: crate::pezkuwi_sdk::frame_runtime
|
//! [`frame`]: crate::pezkuwi_sdk::frame_runtime
|
||||||
|
|||||||
@@ -113,4 +113,4 @@ messages between chains.
|
|||||||
|
|
||||||
Apart from live pezkuwichain <> zagros bridge, you may spin up local networks and test see how it works locally. More
|
Apart from live pezkuwichain <> zagros bridge, you may spin up local networks and test see how it works locally. More
|
||||||
details may be found in
|
details may be found in
|
||||||
[this document](https://github.com/pezkuwichain/pezkuwi-sdk/tree/master//pezcumulus/parachains/runtimes/bridge-hubs/README.md).
|
[this document](https://github.com/pezkuwichain/pezkuwi-sdk/tree/main//pezcumulus/parachains/runtimes/bridge-hubs/README.md).
|
||||||
|
|||||||
@@ -114,7 +114,7 @@ pub(crate) struct Initialized {
|
|||||||
/// blocks) we will be too slow importing all votes from unfinalized chains on startup
|
/// blocks) we will be too slow importing all votes from unfinalized chains on startup
|
||||||
/// (dispute-coordinator gets killed because of unresponsiveness).
|
/// (dispute-coordinator gets killed because of unresponsiveness).
|
||||||
///
|
///
|
||||||
/// https://github.com/pezkuwichain/pezkuwi-sdk/issues/168
|
/// https://github.com/pezkuwichain/pezkuwi-sdk/pull/168
|
||||||
///
|
///
|
||||||
/// To resolve this, we limit the amount of votes imported at once to
|
/// To resolve this, we limit the amount of votes imported at once to
|
||||||
/// `CHAIN_IMPORT_MAX_BATCH_SIZE` and put the rest here for later processing.
|
/// `CHAIN_IMPORT_MAX_BATCH_SIZE` and put the rest here for later processing.
|
||||||
|
|||||||
@@ -228,7 +228,7 @@ pub enum Error {
|
|||||||
InvalidWorkerBinaries { prep_worker_path: PathBuf, exec_worker_path: PathBuf },
|
InvalidWorkerBinaries { prep_worker_path: PathBuf, exec_worker_path: PathBuf },
|
||||||
|
|
||||||
#[cfg(feature = "full-node")]
|
#[cfg(feature = "full-node")]
|
||||||
#[error("Worker binaries could not be found, make sure pezkuwi was built and installed correctly. Please see the readme for the latest instructions (https://github.com/pezkuwichain/pezkuwi-sdk/tree/master/pezkuwi). If you ran with `cargo run`, please run `cargo build` first. Searched given workers path ({given_workers_path:?}), pezkuwi binary path ({current_exe_path:?}), and lib path (/usr/lib/pezkuwi), workers names: {workers_names:?}")]
|
#[error("Worker binaries could not be found, make sure pezkuwi was built and installed correctly. Please see the readme for the latest instructions (https://github.com/pezkuwichain/pezkuwi-sdk/tree/main/pezkuwi). If you ran with `cargo run`, please run `cargo build` first. Searched given workers path ({given_workers_path:?}), pezkuwi binary path ({current_exe_path:?}), and lib path (/usr/lib/pezkuwi), workers names: {workers_names:?}")]
|
||||||
MissingWorkerBinaries {
|
MissingWorkerBinaries {
|
||||||
given_workers_path: Option<PathBuf>,
|
given_workers_path: Option<PathBuf>,
|
||||||
current_exe_path: PathBuf,
|
current_exe_path: PathBuf,
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ Previously minimal template's development chains:
|
|||||||
|
|
||||||
- 🔄 This template is automatically updated after releases in the main [Pezkuwi SDK monorepo](https://github.com/pezkuwichain/pezkuwi-sdk).
|
- 🔄 This template is automatically updated after releases in the main [Pezkuwi SDK monorepo](https://github.com/pezkuwichain/pezkuwi-sdk).
|
||||||
|
|
||||||
- ➡️ Any pull requests should be directed to this [source](https://github.com/pezkuwichain/pezkuwi-sdk/tree/master/templates/minimal).
|
- ➡️ Any pull requests should be directed to this [source](https://github.com/pezkuwichain/pezkuwi-sdk/tree/main/templates/minimal).
|
||||||
|
|
||||||
- 😇 Please refer to the monorepo's
|
- 😇 Please refer to the monorepo's
|
||||||
[contribution guidelines](https://github.com/pezkuwichain/pezkuwi-sdk/blob/master/docs/contributor/CONTRIBUTING.md) and
|
[contribution guidelines](https://github.com/pezkuwichain/pezkuwi-sdk/blob/master/docs/contributor/CONTRIBUTING.md) and
|
||||||
|
|||||||
@@ -7,12 +7,12 @@ in the [Bizinikiwi Developer Hub Teyrchain
|
|||||||
Template](https://github.com/bizinikiwi-developer-hub/bizinikiwi-node-template/)
|
Template](https://github.com/bizinikiwi-developer-hub/bizinikiwi-node-template/)
|
||||||
repository. The teyrchain template is generated directly at each PezkuwiChain
|
repository. The teyrchain template is generated directly at each PezkuwiChain
|
||||||
release branch from the [Solochain Template in
|
release branch from the [Solochain Template in
|
||||||
Bizinikiwi](https://github.com/pezkuwichain/pezkuwi-sdk/tree/master/templates/solochain)
|
Bizinikiwi](https://github.com/pezkuwichain/pezkuwi-sdk/tree/main/templates/solochain)
|
||||||
upstream
|
upstream
|
||||||
|
|
||||||
It is usually best to use the stand-alone version to start a new project. All
|
It is usually best to use the stand-alone version to start a new project. All
|
||||||
bugs, suggestions, and feature requests should be made upstream in the
|
bugs, suggestions, and feature requests should be made upstream in the
|
||||||
[Bizinikiwi](https://github.com/pezkuwichain/pezkuwi-sdk/tree/master/bizinikiwi)
|
[Bizinikiwi](https://github.com/pezkuwichain/pezkuwi-sdk/tree/main/bizinikiwi)
|
||||||
repository.
|
repository.
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
@@ -193,7 +193,7 @@ template and note the following:
|
|||||||
|
|
||||||
The runtime in this project is constructed using many FRAME pallets that ship
|
The runtime in this project is constructed using many FRAME pallets that ship
|
||||||
with [the Bizinikiwi
|
with [the Bizinikiwi
|
||||||
repository](https://github.com/pezkuwichain/pezkuwi-sdk/tree/master/bizinikiwi/frame) and a
|
repository](https://github.com/pezkuwichain/pezkuwi-sdk/tree/main/bizinikiwi/frame) and a
|
||||||
template pezpallet that is [defined in the
|
template pezpallet that is [defined in the
|
||||||
`pallets`](./pallets/template/src/lib.rs) directory.
|
`pallets`](./pallets/template/src/lib.rs) directory.
|
||||||
|
|
||||||
|
|||||||
@@ -249,7 +249,7 @@ relay chain network (see [Teyrchain Template node](#teyrchain-template-node) set
|
|||||||
|
|
||||||
- 🔄 This template is automatically updated after releases in the main [Pezkuwi SDK monorepo](https://github.com/pezkuwichain/pezkuwi-sdk).
|
- 🔄 This template is automatically updated after releases in the main [Pezkuwi SDK monorepo](https://github.com/pezkuwichain/pezkuwi-sdk).
|
||||||
|
|
||||||
- ➡️ Any pull requests should be directed to this [source](https://github.com/pezkuwichain/pezkuwi-sdk/tree/master/templates/teyrchain).
|
- ➡️ Any pull requests should be directed to this [source](https://github.com/pezkuwichain/pezkuwi-sdk/tree/main/templates/teyrchain).
|
||||||
|
|
||||||
- 😇 Please refer to the monorepo's
|
- 😇 Please refer to the monorepo's
|
||||||
[contribution guidelines](https://github.com/pezkuwichain/pezkuwi-sdk/blob/master/docs/contributor/CONTRIBUTING.md) and
|
[contribution guidelines](https://github.com/pezkuwichain/pezkuwi-sdk/blob/master/docs/contributor/CONTRIBUTING.md) and
|
||||||
|
|||||||
@@ -251,7 +251,7 @@ relay chain network (see [Teyrchain Template node](#teyrchain-template-node) set
|
|||||||
|
|
||||||
- 🔄 This template is automatically updated after releases in the main [Pezkuwi SDK monorepo](https://github.com/pezkuwichain/pezkuwi-sdk).
|
- 🔄 This template is automatically updated after releases in the main [Pezkuwi SDK monorepo](https://github.com/pezkuwichain/pezkuwi-sdk).
|
||||||
|
|
||||||
- ➡️ Any pull requests should be directed to this [source](https://github.com/pezkuwichain/pezkuwi-sdk/tree/master/templates/teyrchain).
|
- ➡️ Any pull requests should be directed to this [source](https://github.com/pezkuwichain/pezkuwi-sdk/tree/main/templates/teyrchain).
|
||||||
|
|
||||||
- 😇 Please refer to the monorepo's
|
- 😇 Please refer to the monorepo's
|
||||||
[contribution guidelines](https://github.com/pezkuwichain/pezkuwi-sdk/blob/master/docs/contributor/CONTRIBUTING.md) and
|
[contribution guidelines](https://github.com/pezkuwichain/pezkuwi-sdk/blob/master/docs/contributor/CONTRIBUTING.md) and
|
||||||
|
|||||||
Reference in New Issue
Block a user