Skip to content

Commit

Permalink
Deploy 677a873 to gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Deploy from CI committed Jan 6, 2025
0 parents commit deed66f
Show file tree
Hide file tree
Showing 90 changed files with 14,310 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[env]
# Required for rust toolchains 1.70.0+ until this commit
# https://github.com/paritytech/substrate/commit/dd45632f298db02f6946c906296bbf86a74f4f46
# is included in a release and we update to depend on it for the substrate-wasm-builder
WASM_BUILD_RUSTFLAGS = "-C target-cpu=mvp -C target-feature=-sign-ext"
25 changes: 25 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"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
],
"preCreateCommand": ["cargo build", "cargo check"],
"postStartCommand": "./target/debug/node-template --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"]}
]
}
23 changes: 23 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
docs
.vscode
.devcontainer
.github
**/target/
# ignore local JavaScript build files
**.tgz
**/node_modules/
creditcoin-js/lib/
# 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
Dockerfile
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
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/ask-a-question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: Ask a Question
about: Ask a question about this template.
title: ""
labels: question
assignees: ""
---

**Question**

_Please include information such as the following: is your question to clarify an existing resource
or are you asking about something new? what are you trying to accomplish? where have you looked for
answers?_
46 changes: 46 additions & 0 deletions .github/ISSUE_TEMPLATE/report-a-bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
name: Report a Bug
about: Report a problem with this template.
title: ""
labels: bug
assignees: ""
---

**Description**

_Tell us what happened. In particular, be specific about any changes you made to this template.
Ideally, provide a link to your project's GitHub repository. Please note that we are not able to
support all conceivable changes to this template project, but the more information you are able to
provide the more equipped we will be to help._

**Steps to Reproduce**

_Replace the example steps below with actual steps to reproduce the bug you're reporting._

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected vs. Actual Behavior**

_What did you expect to happen after you followed the steps you described in the last section? What
actually happened?_

**Environment**

_Describe the environment in which you encountered this bug. Use the list below as a starting point
and add additional information if you think it's relevant._

- Operating system:
- Template version/tag:
- Rust version (run `rustup show`):

**Logs, Errors or Screenshots**

_Please provide the text of any logs or errors that you experienced; if
applicable, provide screenshots to help illustrate the problem._

**Additional Information**

_Please add any other details that you think may help us solve your problem._
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/suggest-a-feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Suggest a Feature
about: Suggest a new feature or an improvement to an existing feature for this template.
title: ""
labels: enhancement
assignees: ""
---

**Motivation**

_Describe the need or frustration that motivated you to make this suggestion. Please note that the
goal of this project is to provide a general-purpose template project, so please take care when
suggesting features that may be specific to a particular use case._

**Suggested Solution**

_Describe your suggested solution to the need or frustration that you are experiencing._

**Alternatives**

_Describe any alternative solutions or features you considered and why you believe your suggested
solution is preferable._

**Additional Information**

_Provide any additional information that you believe may help us evaluate your suggestion._
16 changes: 16 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Description of proposed changes

<describe what this PR is about and why we want it>

---
Practical tips for PR review & merge:

- [ ] All GitHub Actions report PASS
- [ ] Newly added code/functions have unit tests
- [ ] Coverage tools report all newly added lines as covered
- [ ] The positive scenario is exercised
- [ ] Negative scenarios are exercised, e.g. assert on all possible errors
- [ ] Assert on events triggered if applicable
- [ ] Assert on changes made to storage if applicable
- [ ] Modified behavior/functions - try to make sure above test items are covered
- [ ] Integration tests are added if applicable/needed
2 changes: 2 additions & 0 deletions .github/authorized_keys
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDx+qASehgC8DfKf/QdI9vDItG7BHAjjFXsIiWbJ/F4QG/DK5py6VVI18/r+pgdN0pJMyXUviSmWwn+4XJUNaRHliVUcs9I+NsSjjopvJi+G3OfJr/JAcUFOp4OutpbkEpYVujEA9U/b3HHMJsJ7pBS0sLhx9wx9vKDD9M6Fzj31VoD1Z5NS9uVH16sftJQ/JofO3zS379IK12CDlmcyYPG79KNoQwUHY8+BMOcmUNCCipHQ3QDAyr1kzKCKiHNpcAuKiJUlEvkQtW62Wvgv8/Muq2we+o/E6Fs1QV8fg42MWbtXXc8eqPLVG+/TRrxScn+AHTt7NXsOqDI62s3wgHb ubuntu@crb307-n2
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDOYiBGthrSNqUJdN9h9PHzXQL8cP8gj5pP9LZDx7BVgt/Knm9NwAe9hD/7fs9zmyECmZ5ubHDqG0x7Hb7DAjl+oPkCOxqRj5Npfvl1VRwwgXl3ymfI3JJpF7Cna4n0XdylBsTiwOL1/zoVXEJgTYEDEsP4gv65i8M/uWlsrfFwHLDEr3EQKnA0H4Ekz1CU2n9MFprX1hzA5IItozQUsYxKTPr1mxNTi1AFMhDEztMelvPO1OuC8MBZURR9S/+SlZ8ydCUcwl0gdCcgpUfouiuN9Yr9UbiV/yrAxEY3oKX8OegFmWEioUIZoFSiXl3sNP39ntOR4i+GV54g4omN6JbN3ios9LXBPMuvCy1NgFYPmDmmSEuo7n2IsP3pcXjZXpl4Ymwvn4RJviOZq8vghF5p0YMtCis1LxHL90epibxGoV6nc5isrOzqfgNUA9IS1zx7ZMoaF1PT8QcT8NzgNocrrhH4xGeTLD7WOOxykVASBnIXea8p7dl29/G0ThmS7Bc= atodorov@macbook.pro
132 changes: 132 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
---
version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
open-pull-requests-limit: 5
rebase-strategy: "disabled"

# Maintain dependencies for Docker images
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "monthly"
open-pull-requests-limit: 5
rebase-strategy: "disabled"

# Maintain dependencies for Rust
# Note: Dependabot can't recursively search directories at the moment
- package-ecosystem: "cargo"
directory: "/"
schedule:
interval: "monthly"

- package-ecosystem: "cargo"
directory: "/node"
schedule:
interval: "monthly"

- package-ecosystem: "cargo"
directory: "/node/rpc"
schedule:
interval: "monthly"

- package-ecosystem: "cargo"
directory: "/pallets/creditcoin"
schedule:
interval: "monthly"

- package-ecosystem: "cargo"
directory: "/pallets/difficulty"
schedule:
interval: "monthly"

- package-ecosystem: "cargo"
directory: "/pallets/offchain-task-scheduler"
schedule:
interval: "monthly"

- package-ecosystem: "cargo"
directory: "/pallets/offchain-task-scheduler/runtime-api"
schedule:
interval: "monthly"

- package-ecosystem: "cargo"
directory: "/pallets/rewards"
schedule:
interval: "monthly"

- package-ecosystem: "cargo"
directory: "/pallets/pos-switch"
schedule:
interval: "monthly"

- package-ecosystem: "cargo"
directory: "/primitives"
schedule:
interval: "monthly"

- package-ecosystem: "cargo"
directory: "/runtime"
schedule:
interval: "monthly"

- package-ecosystem: "cargo"
directory: "/runtime/generate-bags"
schedule:
interval: "monthly"

- package-ecosystem: "cargo"
directory: "/sha3pow"
schedule:
interval: "monthly"

- package-ecosystem: "cargo"
directory: "/test/client"
schedule:
interval: "monthly"

- package-ecosystem: "cargo"
directory: "/test/runtime-utils"
schedule:
interval: "monthly"

- package-ecosystem: "cargo"
directory: "/test/traced-test"
schedule:
interval: "monthly"

- package-ecosystem: "npm"
directory: "/integration-tests"
schedule:
interval: "monthly"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-patch"]

- package-ecosystem: "npm"
directory: "/creditcoin-js"
schedule:
interval: "monthly"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-patch"]

- package-ecosystem: "npm"
directory: "/scripts/js"
schedule:
interval: "monthly"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-patch"]

- package-ecosystem: "npm"
directory: "/scripts/cc-cli"
schedule:
interval: "monthly"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-patch"]
Loading

0 comments on commit deed66f

Please sign in to comment.