Skip to content

Commit

Permalink
Don't check links to github code.
Browse files Browse the repository at this point in the history
These links will always be broken on PRs because the code in question is 
not yet merged. I hope t oreplae these links with playground integration 
soon anyway.
  • Loading branch information
JoshOrndorff committed Jun 5, 2020
1 parent 5184342 commit 9bb02fc
Show file tree
Hide file tree
Showing 35 changed files with 41 additions and 1 deletion.
1 change: 1 addition & 0 deletions text/2-appetizers/1-hello-substrate.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Hello Substrate

<!-- markdown-link-check-disable-next-line -->
_[`pallets/hello-substrate`](https://github.com/substrate-developer-hub/recipes/tree/master/pallets/hello-substrate)_

The first pallet we'll explore is a simple "hello world" example. This pallet will have one
Expand Down
1 change: 1 addition & 0 deletions text/2-appetizers/2-storage-values.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Single Value

<!-- markdown-link-check-disable-next-line -->
_[`pallets/single-value`](https://github.com/substrate-developer-hub/recipes/tree/master/pallets/single-value)_

Storage is used for data that should be kept between blocks and accessible to future transactions.
Expand Down
1 change: 1 addition & 0 deletions text/2-appetizers/3-errors.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Handling Errors

<!-- markdown-link-check-disable-next-line -->
_[`pallets/adding-machine`](https://github.com/substrate-developer-hub/recipes/tree/master/pallets/adding-machine)_

As we've mentioned before, in Substrate development it is important to **Verify first, write last**.
Expand Down
2 changes: 2 additions & 0 deletions text/2-appetizers/4-events.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Using Events

<!-- markdown-link-check-disable-next-line -->
_[`pallets/simple-event`](https://github.com/substrate-developer-hub/recipes/tree/master/pallets/simple-event)_,
<!-- markdown-link-check-disable-next-line -->
_[`pallets/generic-event`](https://github.com/substrate-developer-hub/recipes/tree/master/pallets/generic-event)_

Having a [transaction](https://substrate.dev/docs/en/knowledgebase/getting-started/glossary#transaction) included in a
Expand Down
1 change: 1 addition & 0 deletions text/3-entrees/babe-grandpa-node.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# BABE and GRANDPA Node

<!-- markdown-link-check-disable-next-line -->
_[`nodes/babe-grandpa-node`](https://github.com/substrate-developer-hub/recipes/tree/master/nodes/babe-grandpa-node)_

The `babe-grandpa-node` uses the [BABE](https://crates.parity.io/sc_consensus_babe/index.html) Proof
Expand Down
1 change: 1 addition & 0 deletions text/3-entrees/basic-pow.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Basic Proof of Work

<!-- markdown-link-check-disable-next-line -->
_[`nodes/basic-pow`](https://github.com/substrate-developer-hub/recipes/tree/master/nodes/basic-pow)_

The `basic-pow` node demonstrates how to wire up a custom consensus engine into the Substrate
Expand Down
1 change: 1 addition & 0 deletions text/3-entrees/basic-token.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Basic Token

<!-- markdown-link-check-disable-next-line -->
_[`pallets/basic-token`](https://github.com/substrate-developer-hub/recipes/tree/master/pallets/basic-token)_

This recipe demonstrates a simple but functional token in a pallet.
Expand Down
1 change: 1 addition & 0 deletions text/3-entrees/charity.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Charity

<!-- markdown-link-check-disable-next-line -->
_[`pallets/charity`](https://github.com/substrate-developer-hub/recipes/tree/master/pallets/charity)_

The Charity pallet represents a simple charitable organization that collects funds into a pot that
Expand Down
1 change: 1 addition & 0 deletions text/3-entrees/constants.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Configurable Pallet Constants

<!-- markdown-link-check-disable-next-line -->
_[`pallets/constant-config`](https://github.com/substrate-developer-hub/recipes/tree/master/pallets/constant-config)_

To declare constant values within a runtime, it is necessary to import the
Expand Down
1 change: 1 addition & 0 deletions text/3-entrees/crowdfund.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Simple Crowdfund

<!-- markdown-link-check-disable-next-line -->
_[`pallets/simple-crowdfund`](https://github.com/substrate-developer-hub/recipes/tree/master/pallets/simple-crowdfund)_

This pallet demonstrates a simple on-chain crowdfunding app where participants can pool funds toward
Expand Down
3 changes: 3 additions & 0 deletions text/3-entrees/currency.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Currency Types

<!-- markdown-link-check-disable-next-line -->
_[`pallets/lockable-currency`](https://github.com/substrate-developer-hub/recipes/tree/master/pallets/lockable-currency),
<!-- markdown-link-check-disable-next-line -->
[`pallets/reservable-currency`](https://github.com/substrate-developer-hub/recipes/tree/master/pallets/reservable-currency),
<!-- markdown-link-check-disable-next-line -->
[`pallets/currency-imbalances`](https://github.com/substrate-developer-hub/recipes/tree/master/pallets/currency-imbalances)_

## Just Plain Currency
Expand Down
2 changes: 2 additions & 0 deletions text/3-entrees/custom-rpc.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Custom RPCs

<!-- markdown-link-check-disable-next-line -->
_[`nodes/rpc-node`](https://github.com/substrate-developer-hub/recipes/tree/master/nodes/rpc-node)_
<!-- markdown-link-check-disable-next-line -->
_[`runtime/api-runtime`](https://github.com/substrate-developer-hub/recipes/tree/master/runtimes/api-runtime)_

Remote Procedure Calls, or RPCs, are a way for an external program (eg. a frontend) to communicate
Expand Down
1 change: 1 addition & 0 deletions text/3-entrees/execution-schedule.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Execution Schedule

<!-- markdown-link-check-disable-next-line -->
_[`pallets/execution-schedule`](https://github.com/substrate-developer-hub/recipes/tree/master/pallets/execution-schedule)_

<!-- TODO This content may need updated to match the actual pallet -->
Expand Down
1 change: 1 addition & 0 deletions text/3-entrees/fees.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Transaction Fees

<!-- markdown-link-check-disable-next-line -->
_[runtimes/weight-fee-runtime](https://github.com/substrate-developer-hub/recipes/tree/master/runtimes/weight-fee-runtime)_

Substrate provides the
Expand Down
2 changes: 2 additions & 0 deletions text/3-entrees/fixed-point.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Fixed Point Arithmetic

<!-- markdown-link-check-disable-next-line -->
_[`pallets/fixed-point`](https://github.com/substrate-developer-hub/recipes/tree/master/pallets/fixed-point)_
<!-- markdown-link-check-disable-next-line -->
_[`pallets/compounding-interest`](https://github.com/substrate-developer-hub/recipes/tree/master/pallets/compounding-interest)_

When programmers learn to use non-integer numbers in their programs, they are usually taught to use
Expand Down
1 change: 1 addition & 0 deletions text/3-entrees/hybrid-consensus.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Hybrid Consensus

<!-- markdown-link-check-disable-next-line -->
_[`nodes/hybrid-consensus`](https://github.com/substrate-developer-hub/recipes/tree/master/nodes/hybrid-consensus)_

This recipe demonstrates a Substrate-based node that employs hybrid consensus. Specifically, it uses
Expand Down
2 changes: 2 additions & 0 deletions text/3-entrees/instantiable.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Instantiable Pallets

<!-- markdown-link-check-disable-next-line -->
_[`pallets/last-caller`](https://github.com/substrate-developer-hub/recipes/tree/master/pallets/last-caller)_
<!-- markdown-link-check-disable-next-line -->
_[`pallets/default-instance`](https://github.com/substrate-developer-hub/recipes/tree/master/pallets/default-instance)_

Instantiable pallets enable multiple instances of the same pallet logic within a single runtime.
Expand Down
1 change: 1 addition & 0 deletions text/3-entrees/kitchen-node.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Kitchen Node (Instant Seal)

<!-- markdown-link-check-disable-next-line -->
_[`nodes/kitchen-node`](https://github.com/substrate-developer-hub/recipes/tree/master/nodes/kitchen-node)_

This recipe demonstrates a general purpose Substrate node that supports most of the recipes'
Expand Down
1 change: 1 addition & 0 deletions text/3-entrees/manual-seal.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Manual Seal

<!-- markdown-link-check-disable-next-line -->
_[`nodes/manual-seal`](https://github.com/substrate-developer-hub/recipes/tree/master/nodes/manual-seal)_

This recipe demonstrates a Substrate node using the
Expand Down
1 change: 1 addition & 0 deletions text/3-entrees/off-chain-workers/http-json.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# HTTP Fetching and JSON Parsing in Off-chain Workers

<!-- markdown-link-check-disable-next-line -->
_[`pallets/offchain-demo`](https://github.com/substrate-developer-hub/recipes/tree/master/pallets/offchain-demo)_

## HTTP Fetching
Expand Down
1 change: 1 addition & 0 deletions text/3-entrees/off-chain-workers/storage.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Local Storage in Off-chain Workers

<!-- markdown-link-check-disable-next-line -->
_[`pallets/offchain-demo`](https://github.com/substrate-developer-hub/recipes/tree/master/pallets/offchain-demo)_

Remember we mentioned that off-chain workers (short for **ocw** below) cannot write directly to the
Expand Down
1 change: 1 addition & 0 deletions text/3-entrees/off-chain-workers/transactions.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Transactions in Off-chain Workers

<!-- markdown-link-check-disable-next-line -->
_[`pallets/offchain-demo`](https://github.com/substrate-developer-hub/recipes/tree/master/pallets/offchain-demo)_

## Compiling this Pallet
Expand Down
1 change: 1 addition & 0 deletions text/3-entrees/pallet-coupling.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Tightly- and Loosely-Coupled Pallets

<!-- markdown-link-check-disable-next-line -->
_[pallets/check-membership](https://github.com/substrate-developer-hub/recipes/tree/master/pallets/check-membership)_

The `check-membership` crate contains two pallets that solve the same problems in slightly different
Expand Down
1 change: 1 addition & 0 deletions text/3-entrees/randomness.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generating Randomness

<!-- markdown-link-check-disable-next-line -->
_[pallets/randomness](https://github.com/substrate-developer-hub/recipes/tree/master/pallets/randomness/)_

Randomness is useful in computer programs for everything from gambling, to generating DNA for
Expand Down
2 changes: 2 additions & 0 deletions text/3-entrees/runtime-api.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Runtime APIs

<!-- markdown-link-check-disable-next-line -->
_[`pallets/sum-storage`](https://github.com/substrate-developer-hub/recipes/tree/master/pallets/sum-storage)_
<!-- markdown-link-check-disable-next-line -->
_[`runtimes/api-runtime`](https://github.com/substrate-developer-hub/recipes/tree/master/runtimes/api-runtime)_

Each Substrate node contains a runtime. The runtime contains the business logic of the chain. It
Expand Down
1 change: 1 addition & 0 deletions text/3-entrees/sha3-pow-consensus.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Sha3 Proof of Work Algorithms

<!-- markdown-link-check-disable-next-line -->
_[`consensus/sha3pow`](https://github.com/substrate-developer-hub/recipes/tree/master/consensus/sha3pow)_

[Proof of Work](https://en.wikipedia.org/wiki/Proof_of_work) is not a single consensus algorithm.
Expand Down
1 change: 1 addition & 0 deletions text/3-entrees/storage-api/cache.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Cache Multiple Calls

<!-- markdown-link-check-disable-next-line -->
_[`pallets/storage-cache`](https://github.com/substrate-developer-hub/recipes/tree/master/pallets/storage-cache)_

Calls to runtime storage have an associated cost and developers should strive to minimize the number
Expand Down
1 change: 1 addition & 0 deletions text/3-entrees/storage-api/double.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Efficent Subgroup Removal by Subkey: Double Maps

<!-- markdown-link-check-disable-next-line -->
_[`pallets/double-map`](https://github.com/substrate-developer-hub/recipes/tree/master/pallets/double-map)_

For some runtimes, it may be necessary to remove a subset of values in a key-value mapping. If the
Expand Down
1 change: 0 additions & 1 deletion text/3-entrees/storage-api/enumerated.md

This file was deleted.

1 change: 1 addition & 0 deletions text/3-entrees/storage-api/map-set.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Using Maps as Sets

<!-- markdown-link-check-disable-next-line -->
_[`pallets/map-set`](https://github.com/substrate-developer-hub/recipes/tree/master/pallets/map-set)_

A [Set](<https://en.wikipedia.org/wiki/Set_(abstract_data_type)>) is an unordered data structure
Expand Down
1 change: 1 addition & 0 deletions text/3-entrees/storage-api/ringbuffer.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Ringbuffer Queue

<!-- markdown-link-check-disable-next-line -->
_[`pallets/ringbuffer-queue`](https://github.com/substrate-developer-hub/recipes/tree/master/pallets/ringbuffer-queue)_

> Building a transient adapter on top of storage.
Expand Down
1 change: 1 addition & 0 deletions text/3-entrees/storage-api/storage-maps.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Storage Maps

<!-- markdown-link-check-disable-next-line -->
_[`pallets/simple-map`](https://github.com/substrate-developer-hub/recipes/tree/master/pallets/simple-map)_

In the appetizer on [storage values](../../2-appetizers/2-storage-values.md) we learned to store a
Expand Down
1 change: 1 addition & 0 deletions text/3-entrees/storage-api/structs.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Using and Storing Structs

<!-- markdown-link-check-disable-next-line -->
_[`pallets/struct-storage`](https://github.com/substrate-developer-hub/recipes/tree/master/pallets/struct-storage)_

In Rust, a `struct`, or structure, is a custom data type that lets you name and package together
Expand Down
1 change: 1 addition & 0 deletions text/3-entrees/storage-api/vec-set.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Using Vectors as Sets

<!-- markdown-link-check-disable-next-line -->
_[`pallets/vec-set`](https://github.com/substrate-developer-hub/recipes/tree/master/pallets/vec-set)_

A [Set](<https://en.wikipedia.org/wiki/Set_(abstract_data_type)>) is an unordered data structure
Expand Down
1 change: 1 addition & 0 deletions text/3-entrees/weights.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Computational Resources and Weights

<!-- markdown-link-check-disable-next-line -->
_[`pallets/weights`](https://github.com/substrate-developer-hub/recipes/tree/master/pallets/weights)_

Any computational resources used by a transaction must be accounted for so that appropriate fees can
Expand Down

0 comments on commit 9bb02fc

Please sign in to comment.