Skip to content

Commit

Permalink
Update Prod with Latest (#2391)
Browse files Browse the repository at this point in the history
* Bump @octokit/rest from 18.6.7 to 18.6.8 (#2369)

Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 18.6.7 to 18.6.8.
- [Release notes](https://github.com/octokit/rest.js/releases)
- [Commits](octokit/rest.js@v18.6.7...v18.6.8)

---
updated-dependencies:
- dependency-name: "@octokit/rest"
  dependency-type: direct:development
  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>

* Bump katex from 0.13.11 to 0.13.12 (#2370)

Bumps [katex](https://github.com/KaTeX/KaTeX) from 0.13.11 to 0.13.12.
- [Release notes](https://github.com/KaTeX/KaTeX/releases)
- [Changelog](https://github.com/KaTeX/KaTeX/blob/master/CHANGELOG.md)
- [Commits](KaTeX/KaTeX@v0.13.11...v0.13.12)

---
updated-dependencies:
- dependency-name: katex
  dependency-type: direct:development
  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>

* Create greetings.yml

* update dotscanner listing to include Kusama and a tracking attribute (#2372)

* Update learn-accounts.md (#2358)

* Update learn-accounts.md

Added placeholder for content on Soft vs Hard Derivation paths

* Update learn-accounts.md

Added preliminary information. Might benefit from an infographic or a video explaining derivation paths. Please review and suggest content edits/updates

* Update docs/learn-accounts.md

Co-authored-by: Bill Laboon <laboon@users.noreply.github.com>

* Update docs/learn-accounts.md

Co-authored-by: Bill Laboon <laboon@users.noreply.github.com>

* Update docs/learn-accounts.md

Co-authored-by: Bill Laboon <laboon@users.noreply.github.com>

* Update docs/learn-accounts.md

Co-authored-by: Bill Laboon <laboon@users.noreply.github.com>

* Update docs/learn-accounts.md

Co-authored-by: Bill Laboon <laboon@users.noreply.github.com>

Co-authored-by: Bill Laboon <laboon@users.noreply.github.com>

* Update sidebars.js (#2374)

Correcting Typo

* Modify Secure Validator Setup (#2361)

* umodify secure validator setup

* update links + edits

* edits

* edits

* Update maintain-guides-how-to-use-polkadot-validator-setup.md

* Add Conditional Rendering for chain flag (#2367)

* add conditional rendering for chain flag

* Update maintain-sync.md

* Update Pages to address Stales (#2371)

* resolves #2321

* resolves #1844

* resolves #1733

* update simple payouts and prettier (#2363)

Co-authored-by: Danny Salman <salman.danny03@hotmail.com>

* Bump @octokit/rest from 18.6.8 to 18.7.0 (#2378)

Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 18.6.8 to 18.7.0.
- [Release notes](https://github.com/octokit/rest.js/releases)
- [Commits](octokit/rest.js@v18.6.8...v18.7.0)

---
updated-dependencies:
- dependency-name: "@octokit/rest"
  dependency-type: direct:development
  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>

* Bump katex from 0.13.12 to 0.13.13 (#2377)

Bumps [katex](https://github.com/KaTeX/KaTeX) from 0.13.12 to 0.13.13.
- [Release notes](https://github.com/KaTeX/KaTeX/releases)
- [Changelog](https://github.com/KaTeX/KaTeX/blob/master/CHANGELOG.md)
- [Commits](KaTeX/KaTeX@v0.13.12...v0.13.13)

---
updated-dependencies:
- dependency-name: katex
  dependency-type: direct:development
  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>

* Update maintain-guides-how-to-chill.md (#2375)

* Update maintain-guides-how-to-chill.md

Summarize the contents in paritytech/substrate#8920

#2173

* Added content on Chill other

* Update maintain-guides-how-to-chill.md

Added suggestions from Danny

* Update maintain-guides-how-to-chill.md

minor correction

* take out stale check

* remove sentry node references (#2383)

* see path

* Bump @polkadot/keyring from 7.0.2 to 7.0.3 (#2385)

Bumps [@polkadot/keyring](https://github.com/polkadot-js/common) from 7.0.2 to 7.0.3.
- [Release notes](https://github.com/polkadot-js/common/releases)
- [Changelog](https://github.com/polkadot-js/common/blob/master/CHANGELOG.md)
- [Commits](polkadot-js/common@v7.0.2...v7.0.3)

---
updated-dependencies:
- dependency-name: "@polkadot/keyring"
  dependency-type: direct:development
  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>

* Bump @polkadot/api from 5.1.1 to 5.2.1 (#2386)

Bumps [@polkadot/api](https://github.com/polkadot-js/api) from 5.1.1 to 5.2.1.
- [Release notes](https://github.com/polkadot-js/api/releases)
- [Changelog](https://github.com/polkadot-js/api/blob/master/CHANGELOG.md)
- [Commits](polkadot-js/api@v5.1.1...v5.2.1)

---
updated-dependencies:
- dependency-name: "@polkadot/api"
  dependency-type: direct:development
  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>

* Bump @octokit/rest from 18.7.0 to 18.7.1 (#2387)

Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 18.7.0 to 18.7.1.
- [Release notes](https://github.com/octokit/rest.js/releases)
- [Commits](octokit/rest.js@v18.7.0...v18.7.1)

---
updated-dependencies:
- dependency-name: "@octokit/rest"
  dependency-type: direct:development
  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: Danny Salman <salman.danny03@hotmail.com>

* Update maintain-guides-how-to-use-polkadot-validator

* Add Time Delayed Proxies to the wiki (#2116)

* Add Time Delayed Proxies to the wiki

* Naming fix

* Prettify proxy page

* Add pretty script

* Fix mispelling

Co-authored-by: Danny Salman <salman.danny03@hotmail.com>

* Update sidebars.js (#2384)

* Update sidebars.js

Adding a menu item for video tutorials on Polkadot Wiki

* Create learn-video-tutorials.md

Added key links

* Update learn-video-tutorials.md

more links updated

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dee Evans <deekor88@gmail.com>
Co-authored-by: Radha <86818441+DrW3RK@users.noreply.github.com>
Co-authored-by: Bill Laboon <laboon@users.noreply.github.com>
Co-authored-by: Jake Hemmerle <jakehemmerle@protonmail.com>
Co-authored-by: Emre Surmeli <s.emre.s.8@gmail.com>
  • Loading branch information
7 people authored Jul 27, 2021
1 parent 1301340 commit 3a98c17
Show file tree
Hide file tree
Showing 16 changed files with 253 additions and 320 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-kusama-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,5 @@ jobs:
git config --global user.email "polkadot-wiki-deploy@users.noreply.github.com"
git config --global user.name "Polkadot Wiki CI"
echo "machine github.com login w3fdeploy password ${{ secrets.ACCESS_KEY }}" > ~/.netrc
echo $PATH
yarn && yarn kusama:build && echo "staging.kusama.network" > kusama-guide-v2/static/CNAME && GIT_USER=w3fdeploy PUBLISHING=true PROJECT_NAME=kusama-guide-staging yarn run kusama:publish-gh-pages
16 changes: 16 additions & 0 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Greetings

on: [pull_request, issues]

jobs:
greeting:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Hello @${{ github.actor }}, thank you for raising your first issue.'
pr-message: 'Hello @${{ github.actor }}, thank you for submitting your first pull request.'
30 changes: 0 additions & 30 deletions .github/workflows/stale-check.yml

This file was deleted.

Binary file added docs/assets/time_delay_proxy_screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions docs/learn-proxies.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,17 @@ with anonymous proxies; once you remove the proxy relationship, the account will
![anonymous proxy](assets/proxy_anonymous_diagram.png)

### Time Delayed Proxies

We can add an additional layer of security to proxies by giving them a delay time. The delay will be
quantified in number of blocks (blockNumber). Polkadot and Kusama both have
{{ block_target_in_seconds }} second blocks, hence a delay value of 10 will mean 10 blocks which
will equal 1 minute of delay. The proxy will announce it's intended action and wait for the number
of blocks defined in the delay time before executing it. The proxy will include the hash of the
intended function call in the announcement. Within this time window, the intended action may be
cancelled by accounts that control the proxy. Now we can use proxies knowing that any malicious
actions can be noticed and reverted within a delay period.

## Why use a Proxy?

Proxies are great to use for specific purposes because they add in a layer of security. Rather than
Expand Down Expand Up @@ -118,6 +129,14 @@ like to set up if you choose, as well as the index.

![proxy generation](assets/polkadot_anon_proxy.png)

### Using Time Delayed Proxies

When creating a proxy through the PolkadotJS application, we are provided a delay field. In this
example we are creating a proxy with a delay value of 100, which means 100 blocks. 100 \* 6(minutes)
= 600 minutes, or 10 hours.

![creating a time delayed proxy](assets/time_delay_proxy_screenshot.png)

### Another way to create Proxies

There is another way you can set up a proxy on Polkadot-JS UI. Go to "Accounts" in the navigation
Expand Down
44 changes: 44 additions & 0 deletions docs/learn-video-tutorials.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
id: learn-video-tutorials
title: Video Tutorials
sidebar_label: Video Tutorials
---

## Getting Started
- [Polkadot for Beginners](https://www.youtube.com/watch?v=kw8eu2VadFA&list=PLOyWqupZ-WGt-V6azbEcVuuIL_MbmgKhy)
- [A walkthrough of Polkadot's UI](https://www.youtube.com/watch?v=mNStMPZjiHM)
- [Polkadot Webinars](https://www.youtube.com/watch?v=9B10wX9Mphc&list=PLOyWqupZ-WGsLEJq0sRyvUD-pWuVwA5yg)
- [How to protect yourself from scams](https://www.youtube.com/watch?v=WqDlG4sy_i4)

## Tutorials

### Accounts, Transfers and Staking
- [How to create Polkadot accounts](https://www.youtube.com/watch?v=hhUZ40ZWqkE)
- [understanding Accounts and Keys](https://www.youtube.com/watch?v=zhfccevPqWI)
- [How to Stake DOT/KSM with Ledger](https://www.youtube.com/watch?v=VN4S8MofEW8)
- [Why do transfers fail](https://www.youtube.com/watch?v=Wzqi8-WXiK8)
- [Existential Deposit and Keep-Alive Checks](https://www.youtube.com/watch?v=ZjKpTgxDp_4)
- [Why Nominate on Polkadot and Kusama](https://youtu.be/weG_uzdSs1E)
- [Picking validators to Nominate (Stake)](https://youtu.be/ZMzhM1m4I-k)

### Governance
- [Voting on Referenda on Polkadot and Kusama](https://www.youtube.com/watch?v=BkbhhlsezGA)
- [Voting for Polkadot and Kusama council](https://www.youtube.com/watch?v=837Vv3gdRzI)

### For validators
- [Validator Resouces](https://www.youtube.com/playlist?list=PLOyWqupZ-WGsM3O0t5iWgvMkivHnwE1C_)
- [Why should you be a Validator](https://youtu.be/0EmP0s6JOW4)
- [How to upgrade your node](https://youtu.be/5LtcdBR9F40)
- [Roles and Responsibilities of a Validator](https://youtu.be/riVg_Up_fCg)

### Technical Content
- [Rust, Substrate and Polkadot](https://youtu.be/aVW_eG-IH7o)
- [Instroduction to Substrate](https://youtu.be/-6BBIr-DmI4)

## Past and Ongoing Events
- [Encode Polkadot Club 2021](https://www.youtube.com/playlist?list=PLOyWqupZ-WGvgdDcF-dW4RVEoeFZiZmQc)
- [Polkadot Decoded 2021](https://www.youtube.com/playlist?list=PLOyWqupZ-WGuAB8z_PkZD6f-IA6CUONFb)
- [Polkadot Buildathon India 2021](https://www.youtube.com/playlist?list=PLOyWqupZ-WGtnuyctbnGPPyt6DSSXH1h3)
- [Polkadot Decoded 2020](https://www.youtube.com/playlist?list=PLOyWqupZ-WGt4LvKE0n66rw_R5c3Qju5f)
- [Hackusama Webinar Series 2020](https://www.youtube.com/playlist?list=PLOyWqupZ-WGsAB7lMLn_Q7c3tbESTzXg7)
- [Web3 Builders Series 2020](https://www.youtube.com/playlist?list=PLOyWqupZ-WGve_wS2thJp34cWm_SpNNYf)
17 changes: 8 additions & 9 deletions docs/maintain-guides-how-to-upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,10 @@ one as "Validator B."

### Session `N`

1. Start a second node and connect it to your sentry nodes. Once it is synced, use the `--validator`
flag. This is "Validator B."
1. Generate Session keys in Validator B.
1. Submit a `set_key` extrinsic from your Controller account with your new Session keys.
1. Take note of the Session that this extrinsic was executed in.
1. Start a second node. Once it is synced, use the `--validator` flag. This is "Validator B."
2. Generate Session keys in Validator B.
3. Submit a `set_key` extrinsic from your Controller account with your new Session keys.
4. Take note of the Session that this extrinsic was executed in.

**It is imperative that your Validator A keep running in this Session.** `set_key` only takes effect
in the next Session.
Expand All @@ -57,11 +56,11 @@ bottom.

1. Stop Validator A.
1. Perform your system or client upgrade.
1. Start Validator A, sync the database, and connect it to your sentry nodes.
1. Generate new Session keys in Validator A.
1. Submit a `set_key` extrinsic from your Controller account with your new Session keys for
2. Start Validator A and sync the database.
3. Generate new Session keys in Validator A.
4. Submit a `set_key` extrinsic from your Controller account with your new Session keys for
Validator A.
1. Take note of the Session that this extrinsic was executed in.
5. Take note of the Session that this extrinsic was executed in.

**Again, it is imperative that Validator B keep running until the next Session.**

Expand Down
5 changes: 2 additions & 3 deletions docs/maintain-guides-how-to-use-polkadot-validator-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,8 @@ machines.

### Step Two: Generate the SSH keys

We will use [SSH][], a remote shell tool, to access our validator and public sentry nodes. You will
first use the `ssh-keygen` command to generate two keys, one for your validator and one for the
sentry nodes.
We will use [SSH][], a remote shell tool, to access our validator. You will
first use the `ssh-keygen` command to generate a key for your validator.

```zsh
$ ssh-keygen -m pem -f id_rsa_validator
Expand Down
4 changes: 2 additions & 2 deletions docs/maintain-guides-how-to-validate-kusama.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,9 @@ Example of node sync:
2021-06-17 02:34:51 ⚙️ Syncing 347.0 bps, target=#8062692 (12 peers), best: #9118 (0x66fc…cce3), finalized #8704 (0x14c9…705e), ⬇ 62.7kiB/s ⬆ 1.7kiB/s
```

The `--pruning=archive` flag is implied by the `--validator` and `--sentry` flags, so it is only
The `--pruning=archive` flag is implied by the `--validator` flag, so it is only
required explicitly if you start your node without one of these two options. If you do not set your
pruning to archive node, even when not running in validator and sentry mode, you will need to
pruning to archive node, even when not running in validator, you will need to
re-sync your database when you switch.

> **Note:** Validators should sync using the RocksDb backend. This is implicit by default, but can
Expand Down
4 changes: 2 additions & 2 deletions docs/maintain-guides-how-to-validate-polkadot.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,9 +274,9 @@ Example of node sync:
2021-06-17 03:08:00 ⚙️ Syncing 37.0 bps, target=#5553768 (22 peers), best: #27059 (0x5b73…6fc9), finalized #26624 (0x9dd9…27f8), ⬇ 14.3kiB/s ⬆ 4.4kiB/s
```

The `--pruning=archive` flag is implied by the `--validator` and `--sentry` flags, so it is only
The `--pruning=archive` flag is implied by the `--validator` flag, so it is only
required explicitly if you start your node without one of these two options. If you do not set your
pruning to archive node, even when not running in validator and sentry mode, you will need to
pruning to archive node, even when not running in validator mode, you will need to
re-sync your database when you switch.

> **Note:** Validators should sync using the RocksDb backend. This is implicit by default, but can
Expand Down
5 changes: 0 additions & 5 deletions docs/maintain-guides-secure-validator.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ however, Session key signatures are performed within the client.
> whatever payload they receive. Therefore, an attacker who gains access to your validator node
> could still commit slashable behavior.
An example of highly available, secure setup would be a layer of sentry nodes in front of multiple
validators connected to a single signing machine. This machine could implement signing logic to
avoid equivocation, even if an attacker gained access to a validator node.

## Monitoring Tools

- [Telemetry](https://github.com/paritytech/substrate-telemetry) This tracks your node details
Expand Down Expand Up @@ -125,5 +121,4 @@ avoid equivocation, even if an attacker gained access to a validator node.
- [Figment Network's Full Disclosure of Cosmos Validator Infrastructure](https://medium.com/figment-networks/full-disclosure-figments-cosmos-validator-infrastructure-3bc707283967)
- [Certus One's Knowledge Base](https://kb.certus.one/)
- [EOS Block Producer Security List](https://github.com/slowmist/eos-bp-nodes-security-checklist)
- [Sentry Node Architecture Overview](https://forum.cosmos.network/t/sentry-node-architecture-overview/454)
- [HSM Policies and the Important of Validator Security](https://medium.com/loom-network/hsm-policies-and-the-importance-of-validator-security-ec8a4cc1b6f)
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@
"@docusaurus/module-type-aliases": "^2.0.0-beta.3",
"@docusaurus/plugin-client-redirects": "^2.0.0-beta.3",
"@docusaurus/preset-classic": "2.0.0-beta.3",
"@polkadot/keyring": "^7.0.1",
"@octokit/rest": "^18.7.0",
"@polkadot/api": "^5.1.1",
"@polkadot/keyring": "^7.0.3",
"@octokit/rest": "^18.7.1",
"@polkadot/api": "^5.2.1",
"axios": "^0.21.1",
"chalk": "^4.1.1",
"cross-env": "^7.0.3",
Expand All @@ -79,4 +79,4 @@
"unist-util-visit": "2.0.3",
"yargs": "^17.0.1"
}
}
}
4 changes: 4 additions & 0 deletions scripts/inject-dict.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
[
{
"tpl": "block_target_in_seconds",
"default": 6
},
{
"tpl": "num_validators",
"default": 150,
Expand Down
115 changes: 0 additions & 115 deletions scripts/stalecheck.mjs

This file was deleted.

1 change: 1 addition & 0 deletions website-v2/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ module.exports = {
"learn-comparisons",
],
},
"learn-video-tutorials",
],
},
{
Expand Down
Loading

0 comments on commit 3a98c17

Please sign in to comment.