Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert governance2 testnet #7

Merged
merged 162 commits into from
Jun 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
162 commits
Select commit Hold shift + click to select a range
80c6e20
Initial commit
shawntabrizi Aug 28, 2019
22fc495
Initial node-template
shawntabrizi Aug 29, 2019
b6bfc95
Move node-template up a folder
shawntabrizi Aug 31, 2019
3abe965
Add execute permission to rename script (#1)
riusricardo Sep 9, 2019
cd271e0
Update Node Template: 7d7e74fb7
shawntabrizi Sep 25, 2019
5cd3d42
Delete substrate-node-rename.sh
shawntabrizi Sep 25, 2019
09d2def
Revert "Update Node Template: 7d7e74fb7"
shawntabrizi Sep 30, 2019
4e1734c
Revert "Delete substrate-node-rename.sh"
shawntabrizi Sep 30, 2019
ef3a59b
Delete substrate-node-rename.sh
shawntabrizi Oct 1, 2019
1434d54
Update to `3dedd246c62255ba6f9b777ecba318dfc2078d85`
shawntabrizi Oct 4, 2019
676186d
Delete substrate-node-template.tar.gz
shawntabrizi Oct 7, 2019
6067546
Update to `d1cd01c74`
shawntabrizi Oct 20, 2019
20d08c2
Update README.md
shawntabrizi Oct 21, 2019
43ee953
Merge pull request #6 from substrate-developer-hub/shawntabrizi-updat…
shawntabrizi Oct 21, 2019
25c494b
Update to `d1cd01c7`
JoshOrndorff Dec 16, 2019
8fea1dc
Merge pull request #14 from substrate-developer-hub/joshy-update-d1c
JoshOrndorff Dec 17, 2019
9e02251
Update to 3e65111 (#18)
riusricardo Jan 6, 2020
1d6e830
readme update on generating your own node-template (#16)
Jan 8, 2020
8b6fe66
Update README.md
Jan 8, 2020
7db81f9
Update node template to alpha.3
JoshOrndorff Mar 5, 2020
390af9f
Bump deps to alpha.3
JoshOrndorff Mar 6, 2020
333b2b4
Increase total block weight.
JoshOrndorff Mar 6, 2020
5b41f0b
Merge pull request #25 from substrate-developer-hub/joshy-alpha-3
JoshOrndorff Mar 10, 2020
da88e4a
Update node template to alpha 5 (#27)
JoshOrndorff Mar 25, 2020
2ddc70d
Delete no-longer-used build.rs
JoshOrndorff Apr 1, 2020
4be00bd
Merge pull request #29 from substrate-developer-hub/joshy-prune-old-b…
JoshOrndorff Apr 2, 2020
c1b33f8
Update to alpha.6
Apr 15, 2020
6aa91b6
Merge pull request #32 from substrate-developer-hub/ricardo-alpha6
JoshOrndorff Apr 15, 2020
6c1d115
alpha.6 to github (#37)
riusricardo May 6, 2020
36971ec
Update to 2.0.0-alpha.7 (#38)
May 6, 2020
1b85882
Use docker to setup a local dev chain (#41)
kaichaosun May 15, 2020
3323afa
fix: README update on docker usage (#43)
May 15, 2020
38058f3
Upgrade to Substrate v2.0.0-alpha.8 (#44)
riusricardo May 16, 2020
1311953
Update to v2.0.0-rc1 (#45)
riusricardo May 25, 2020
93862bd
Upgrade to Substrate v2.0.0-rc2 (#46)
May 26, 2020
7f9c829
change (ci): new CI image
TriplEight Jun 10, 2020
0947321
Upgrade to v2.0.0-rc3
danforbes Jun 10, 2020
7b4bbbc
Fix manual upgrade errors and update Cargo lockfile
danforbes Jun 10, 2020
f5acce1
Merge pull request #54 from substrate-developer-hub/v2.0.0-rc3
JoshOrndorff Jun 10, 2020
8f31116
Add some playground love (#57)
jeluard Jun 17, 2020
64ca567
Merge pull request #53 from substrate-developer-hub/ci_image
kaichaosun Jun 19, 2020
a034550
:bookmark: update image
kaichaosun Jun 19, 2020
b98e1d2
Playground updates (#58)
jeluard Jun 19, 2020
cf26399
:bookmark: update image
jeluard Jun 19, 2020
fe8e53a
Get rid of that guy. Use tag (#59)
jeluard Jun 19, 2020
4509dc8
:bookmark: update image
jeluard Jun 19, 2020
aab3a40
Updated base template image (#61)
jeluard Jun 23, 2020
a704d36
:bookmark: update image
jeluard Jun 23, 2020
ff0fa24
Upgrade to v2.0.0-rc4 (#62)
Jun 27, 2020
f8924ad
:bookmark: update image
Jun 27, 2020
3718adb
Upgrade to v2.0.0-rc5 (#65)
Jul 25, 2020
76fc3ef
:bookmark: update image
Jul 25, 2020
769ca1a
Remove unused dependencies (#66)
c410-f3r Jul 28, 2020
c29d312
:bookmark: update image
c410-f3r Jul 28, 2020
360f308
Update serde dependency per @thiolliere (#68) & fix OpaqueBlock
Aug 3, 2020
8f769db
:bookmark: update image
Aug 3, 2020
48b28c9
:bookmark: update image
Aug 6, 2020
55f7ff5
Updated base image
jeluard Aug 18, 2020
2228916
:bookmark: update image
jeluard Aug 18, 2020
7a3d8d6
Create Issue templates (#73)
Aug 20, 2020
c55ca4c
:bookmark: update image
Aug 20, 2020
912fa0f
Only run build action in main repo
jeluard Aug 20, 2020
8682ee4
:bookmark: update image
jeluard Aug 20, 2020
c9fda53
Upgrade to v2.0.0-rc6 (#75)
Aug 21, 2020
8983afb
:bookmark: update image
Aug 21, 2020
87f70c6
Simplify docker image creation workflow
jeluard Aug 24, 2020
fcd577e
Backport paritytech/substrate#7014 (#81)
Sep 8, 2020
24da767
Update to v2.0.0 :tada: (#88)
Sep 23, 2020
3c283f6
Update Dockerfile
jeluard Oct 5, 2020
188d964
Update Dockerfile
jeluard Oct 8, 2020
5769470
Add toolchain file (#92)
Oct 10, 2020
9af6401
Update devcontainer.json
jeluard Oct 12, 2020
17aec8c
Delete Dockerfile
jeluard Oct 12, 2020
5dc7853
Added nicer commands
jeluard Oct 13, 2020
d6efb42
Rely on latest image
jeluard Oct 14, 2020
b8faba7
Added new menu option
jeluard Oct 15, 2020
c97e17e
Update toolchain file to be compatible with paritytech/ci-linux Docke…
Oct 19, 2020
5785c8d
Remove rust-toolchain file (#99)
athei Oct 21, 2020
edc3c5d
Bump wasm-builder-runner
xlc Oct 24, 2020
462689b
Merge pull request #101 from xlc/patch-1
bkchr Oct 24, 2020
ad5e2dc
Nix shell sync with Substrate (#100)
kaichaosun Oct 24, 2020
093519b
include all (potential) pallets in Cargo workspace (#107)
apopiak Nov 10, 2020
946a062
Update Cargo.lock
danforbes Nov 16, 2020
5322aa1
Update init.sh
xlc Nov 17, 2020
aa444e2
Merge pull request #109 from xlc/patch-1
wheresaddie Nov 17, 2020
655bfdc
Update Local Development docs to use Makefile (#105)
Nov 17, 2020
617e71b
Add workflow to check set-up & build
danforbes Nov 22, 2020
cbf28f1
Workflow nitpicks
danforbes Nov 22, 2020
72c1548
Fix Docker Compose
danforbes Nov 23, 2020
4d97032
Add .editorconfig and format code style (#115)
chenzongxiong Dec 10, 2020
09d8af7
Update to v2.0.1 (#126)
Jan 15, 2021
571448f
Patch Multiaddress Into Substrate Node Template (#130)
shawntabrizi Jan 18, 2021
c9b47be
Add Fedora/RHEL/CentOS (#140)
balqaasem Feb 12, 2021
09707d5
Rely on debug compilation
jeluard Feb 23, 2021
d567c87
Upgrade to v3.0.0 (#141)
Feb 24, 2021
f299236
Revisit once playground template are finalised
jeluard Mar 3, 2021
8370ddd
Rely on latest syntax
jeluard Mar 4, 2021
0a0a91d
The latest Substrate Node Template v3 compiled from Substrate (#160)
Mar 29, 2021
fc9d24c
Fix broken benchmarking (#167)
boozook Apr 15, 2021
d537bf8
Add nix build
Anderssorby Apr 18, 2021
1747d02
Add README documentation
Anderssorby Apr 19, 2021
7da59dc
Add direnv cache to gitignore
Anderssorby Apr 19, 2021
587b67a
Include Playground link in Node Template README
sacha-l Apr 20, 2021
53c7a9f
Merge pull request #171 from substrate-developer-hub/playground
nuke-web3 Apr 21, 2021
d6117e0
Simplify nix setup
Anderssorby Apr 26, 2021
467927b
Merge pull request #170 from Anderssorby/acs/nix-build
nuke-web3 May 3, 2021
44e4ce7
Fix broken link
erasmus May 5, 2021
c0b8165
Merge pull request #177 from erasmus/patch-1
shawntabrizi May 14, 2021
83ed2d4
Added instructions for custom-types (#183)
May 17, 2021
12d56a7
Node template generated from Substrate repo `monthly-2021-05` tag (#186)
May 19, 2021
56da2b6
Remove AccountIndex from runtime (#204)
disconnect3d Jun 20, 2021
f471fdd
Use latest node-template from Substrate master (#205)
shawntabrizi Jun 22, 2021
e54c97e
fix missing docker-compose volume source (./.local) (#189)
hamidra Jun 23, 2021
32039cc
Minor Nix environent tweaks (#209)
cab404 Jul 3, 2021
64f5744
`monthly-2021-07` release (#210)
Jul 5, 2021
3a1acf0
Add rustfmt.toml, run `cargo +nightly fmt` (#217)
nuke-web3 Jul 20, 2021
6de2bf2
Add a matrix chat badge to the README (#223)
nuke-web3 Aug 3, 2021
e5366c1
Update to substrate `monthly-2021-08` (#222)
nuke-web3 Aug 6, 2021
0d70ffc
Initialize submodule for front-end template
sacha-l Sep 3, 2021
cd936fc
Revert "Initialize submodule for front-end template"
sacha-l Sep 3, 2021
bf52814
V3.0.0+monthly 2021 09+1 (#234)
nuke-web3 Sep 7, 2021
3b547c9
Remove now irrelevant workflow (#235)
jeluard Sep 7, 2021
139bdbb
Update nightly toolchain to 2021-06-17 (#240)
vyorkin Sep 21, 2021
2e93d33
Cleanup (#243)
jeluard Sep 22, 2021
4e98521
Update to `monthly-2021-10` (#246)
nuke-web3 Oct 1, 2021
865c0c0
Update shell.nix (#247)
nuke-web3 Oct 4, 2021
28ea72b
Correct link to basic Rust setup instructions (#251)
AmirAbrams Oct 10, 2021
8e5c1c4
new docs site + Do not provide benchmarking host functions by default…
nuke-web3 Oct 12, 2021
1ea0883
hompage = substrate.io (#256)
nuke-web3 Oct 14, 2021
d8063c4
Update to `monthly-2021-11` (#259)
nuke-web3 Nov 7, 2021
3dd3b34
update rust 2021 (#261)
nuke-web3 Nov 9, 2021
b74af51
Move to use `devhub/latest` tag upstream (#271)
nuke-web3 Nov 30, 2021
3a4044f
Update devcontainer.json
jeluard Dec 2, 2021
ad7ce8e
Update to monthly-2021-12 upstream (#277)
nuke-web3 Dec 6, 2021
d68cf29
Persistent state fix (#285)
Dec 21, 2021
7ce49b8
cargo update -p sc-cli (#290)
nuke-web3 Dec 28, 2021
3a4ee2b
Changes from Substrate upstream `polkadot-v0.9.15-1` (#300)
nuke-web3 Jan 20, 2022
9e0d9eb
add zero check (#301)
nuke-web3 Jan 26, 2022
399efba
revert zero (#302)
nuke-web3 Jan 26, 2022
b53da9f
2021 edition update (#303)
nuke-web3 Jan 26, 2022
0fa9414
`--dev` implies `--tmp`
shawntabrizi Feb 9, 2022
54163b0
update to polkadot-v.0.9.17 (#313)
nuke-web3 Feb 24, 2022
5561bf6
update use all features = ["wasmtime"] that can (#314)
nuke-web3 Feb 24, 2022
cadb6a5
update `polkadot-v0.9.17` deps (#317)
nuke-web3 Mar 2, 2022
8984d89
update workflow (#318)
nuke-web3 Mar 3, 2022
c962ed1
cargo update (#321)
nuke-web3 Mar 9, 2022
a083b0f
Fix typo in README.md (#322)
dcompoze Mar 15, 2022
7c34216
Update to polkadot-v0.9.18 (#328)
nuke-web3 Mar 21, 2022
e7dc0c7
No issues here, only upsteam & StackExchange (#340)
nuke-web3 Apr 15, 2022
596285a
Update to Polkadot v0.9.19 upstream (#341)
nuke-web3 Apr 20, 2022
fbe735e
Update to `polkdadot-v0.9.20` from upstream (#343)
nuke-web3 May 4, 2022
6545a21
rename node-template to governance2
chenzongxiong May 21, 2022
165cbc0
Add pallet scheduler
chenzongxiong May 22, 2022
8a855f3
add treasury, bounties
chenzongxiong May 22, 2022
d90a17c
add democracy, council, technical committee
chenzongxiong May 22, 2022
61de95e
add tips, elections-phragmen
chenzongxiong May 22, 2022
7e6f516
add pallet referenda
chenzongxiong May 22, 2022
790d7bc
remove pallet template
chenzongxiong May 23, 2022
fb38e74
fix readme and license
chenzongxiong May 23, 2022
e1e6979
merge with main
chenzongxiong May 23, 2022
a4490ee
refactor source code
chenzongxiong May 24, 2022
3493511
Merge branch 'main' into revert-governance2-testnet
chenzongxiong Jun 1, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "Substrate Node template",
"context": "..",
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
"lldb.executable": "/usr/bin/lldb"
},
"extensions": [
"rust-lang.rust",
"bungcip.better-toml",
"vadimcn.vscode-lldb"
],
"forwardPorts": [3000, 9944],
"onCreateCommand": ["cargo build", "cargo check"],
"postStartCommand": "./target/debug/governance2 --dev --ws-external",
"menuActions": [
{
"id": "polkadotjs",
"label": "Open PolkadotJS Apps",
"type": "external-preview",
"args": ["https://polkadot.js.org/apps/?rpc=wss%3A%2F%2F/$HOST/wss"]
}
]
}
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
root = true

[*]
indent_style=space
indent_size=2
tab_width=2
end_of_line=lf
charset=utf-8
trim_trailing_whitespace=true
insert_final_newline = true

[*.{rs,toml}]
indent_style=tab
indent_size=tab
tab_width=4
max_line_length=100
7 changes: 7 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# If lorri exists, better try it first.
if has lorri; then
eval "$(lorri direnv)"
else
# Otherwise fall back to pure nix
use nix
fi
12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
blank_issues_enabled: false
contact_links:
- name: Support & Troubleshooting with the Substrate Stack Exchange Community
url: https://substrate.stackexchange.com
about: |
For general problems with Substrate or related technologies, please search here first
for solutions, by keyword and tags. If you discover no solution, please then ask and questions in our community! We highly encourage everyone also share their understanding by answering questions for others.
- name: Feature Requests and PRs to be submitted upstream
url: https://github.com/paritytech/substrate/tree/master/bin/node-template
about: |
This template is generated on tagged releases upstream, it is not independently updated and maintained.
Please direct all suggestions for improvements and PRs upstream.
44 changes: 44 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Check Set-Up & Build

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ main ]
pull_request:
branches: [ main ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
check:
# The type of runner that the job will run on
runs-on: ubuntu-20.04

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

- name: Set-Up
run: sudo apt install -y git clang curl libssl-dev llvm libudev-dev

- name: Install Rustup
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source ~/.cargo/env
rustup default stable
rustup update nightly
rustup update stable
rustup target add wasm32-unknown-unknown --toolchain nightly

- name: Check Build
run: |
SKIP_WASM_BUILD=1 cargo check --release

- name: Check Build for Benchmarking
run: >
pushd node &&
cargo check --features=runtime-benchmarks --release
16 changes: 16 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Generated by Cargo
# will have compiled files and executables
**/target/
# These are backup files generated by rustfmt
**/*.rs.bk

.DS_Store

# The cache for docker container dependency
.cargo

# The cache for chain data in container
.local

# direnv cache
.direnv
37 changes: 37 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Run ",
"type": "shell",
"command": "cargo",
"args": ["run", "--release", "--", "--dev"],
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": [
{
"owner": "rust",
"fileLocation": ["relative", "${workspaceRoot}"],
"pattern": {
"regexp": "^(.*):(\\d+):(\\d+):\\s+(\\d+):(\\d+)\\s+(warning|error):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"endLine": 4,
"endColumn": 5,
"severity": 6,
"message": 7
}
}
]
}
]
}
Loading