-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into DIVE-197-Localnet-set…
…up-for-Interlay-Polkadot
- Loading branch information
Showing
25 changed files
with
599 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
name: Bug | ||
about: Describes a bug | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
## Overview | ||
A clear and concise description of what the bug is. | ||
|
||
## Steps to Reproduce | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
## Expected Behavior | ||
A clear and concise description of what you expected to happen. | ||
|
||
## Screenshots | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
## Device Information | ||
|
||
**Desktop (please complete the following information):** | ||
- OS: [e.g. iOS] | ||
- Browser [e.g. chrome, safari] | ||
- Version [e.g. 22] | ||
|
||
**Smartphone (please complete the following information):** | ||
- Device: [e.g. iPhone6] | ||
- OS: [e.g. iOS8.1] | ||
- Browser [e.g. stock browser, safari] | ||
- Version [e.g. 22] | ||
|
||
## Additional Context | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
blank_issues_enabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
## Description: | ||
|
||
### Commit Message | ||
|
||
```bash | ||
type: commit message | ||
``` | ||
|
||
see the [guidelines](https://github.com/icon-project/community/blob/main/guidelines/technical/software-development-guidelines.md#commit-messages) for commit messages. | ||
|
||
### Changelog Entry | ||
|
||
```bash | ||
version: <log entry> | ||
``` | ||
|
||
## Checklist: | ||
|
||
- [ ] I have performed a self-review of my own code | ||
- [ ] I have documented my code in accordance with the [documentation guidelines](https://github.com/icon-project/community/blob/main/guidelines/technical/software-development-guidelines.md#documentation) | ||
- [ ] My changes generate no new warnings | ||
- [ ] I have added tests that prove my fix is effective or that my feature works | ||
- [ ] I have run the unit tests | ||
- [ ] I only have one commit (if not, squash them into one commit). | ||
- [ ] I have a descriptive commit message that adheres to the [commit message guidelines](https://github.com/icon-project/community/blob/main/guidelines/technical/software-development-guidelines.md#commit-messages) | ||
|
||
> Please review the [CONTRIBUTING.md](/CONTRIBUTING.md) file for detailed contributing guidelines. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name-template: 'v$RESOLVED_VERSION' | ||
tag-template: 'v$RESOLVED_VERSION' | ||
categories: | ||
- title: '🚀 Features' | ||
labels: | ||
- 'feature' | ||
- 'enhancement' | ||
- title: '🐛 Bug Fixes' | ||
labels: | ||
- 'fix' | ||
- 'bugfix' | ||
- 'bug' | ||
- title: '🧰 Maintenance' | ||
label: 'chore' | ||
change-template: '- $TITLE @$AUTHOR (#$NUMBER)' | ||
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. | ||
version-resolver: | ||
major: | ||
labels: | ||
- 'major' | ||
minor: | ||
labels: | ||
- 'minor' | ||
patch: | ||
labels: | ||
- 'patch' | ||
default: patch | ||
template: | | ||
## Changes | ||
$CHANGES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Lint PR | ||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
- edited | ||
- synchronize | ||
jobs: | ||
main: | ||
name: Validate PR title | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: amannn/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
validateSingleCommit: true | ||
validateSingleCommitMatchesPrTitle: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1 @@ | ||
|
||
## Package | ||
|
||
### Usage | ||
|
||
- local: | ||
|
||
`kurtosis run . '{"name":"local"}' --enclave polkadot` | ||
|
||
- single node: | ||
`kurtosis run . '{"name":"westend-dev"}' --enclave polkadot` <- Dev westend node | ||
|
||
`kurtosis run . '{"name":"westend"}' --enclave polkadot` <- westend testnet node | ||
# Polkadot Kurtosis Package |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
|
||
polkadot_parachain = import_module("./parachain/polkadot_parachain.star") | ||
parachain = import_module("./parachain/parachain.star") | ||
relay_chain = import_module("./relaychain/relay-chain.star") | ||
|
||
def run(plan, args): | ||
plan.upload_files(src = "./parachain/output", name = "output") | ||
if args["chain-type"] == "local": | ||
relay_chain.spawn_multiple_relay(plan,2) | ||
polkadot_parachain.run(plan, args) | ||
plan.upload_files(src = "./parachain/static_files/configs", name = "configs") | ||
if args["chain-type"] == "local": | ||
relay_chain.spawn_multiple_relay(plan, 2) | ||
parachain.run(plan, args) | ||
else: | ||
relay_chain.start_relay_chain(plan, args) | ||
relay_chain.start_relay_chain(plan, args) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
def run_acala(plan): | ||
exec_command = ["--chain=/app/acala-raw.json", "--collator", "--rpc-external", "--rpc-cors=all", "--rpc-methods=unsafe", "--tmp", "--instant-sealing"] | ||
|
||
acala_service_config = ServiceConfig( | ||
image = "acala/acala-node:latest", | ||
files = { | ||
"/app": "configs", | ||
}, | ||
ports = { | ||
"9944": PortSpec(9944, transport_protocol = "TCP"), | ||
"9933": PortSpec(9933, transport_protocol = "TCP"), | ||
}, | ||
public_ports = { | ||
"9944": PortSpec(9432, transport_protocol = "TCP"), | ||
"9933": PortSpec(9431, transport_protocol = "TCP"), | ||
}, | ||
cmd = exec_command, | ||
) | ||
plan.add_service(name = "acala-node", config = acala_service_config) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
def run_ajuna(plan, args): | ||
exec_command = ["--base-path=/data", "--chain=/app/bajun-raw.json", "--port=40335", "--ws-port=8846", "--unsafe-ws-external", "--rpc-cors=all", "--", "--execution=wasm", "--chain=/app/rococo-local.json", "--port=30345", "--ws-port=9979"] | ||
plan.add_service( | ||
name = "ajun-node", | ||
config = ServiceConfig( | ||
image = "ajuna/parachain-bajun:latest", | ||
files = { | ||
"/app": "output", | ||
}, | ||
ports = { | ||
"parachain": PortSpec(8846, transport_protocol = "TCP"), | ||
}, | ||
cmd = exec_command, | ||
), | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
def run_bifrost(plan): | ||
exec_command = ["bin/sh", "-c", "/usr/local/bin/bifrost --base-path=/data --chain=/app/bifrost-local-2001.json --ws-external --rpc-external --rpc-cors=all --name=parachain-2001-0 --collator --rpc-methods=unsafe --force-authoring --execution=wasm --alice --node-key=15f888e12fe354ac310399c7126ff43db1a58453784ea1784e26edc0bee3c965 --listen-addr=/ip4/0.0.0.0/tcp/30333 -- --chain=/app/rococo-local.json --execution=wasm"] | ||
plan.add_service( | ||
name = "parachain", | ||
config = ServiceConfig( | ||
image = "bifrostnetwork/bifrost:bifrost-v0.9.66", | ||
files = { | ||
"/app": "configs", | ||
}, | ||
ports = { | ||
"parachain": PortSpec(9944, transport_protocol = "TCP"), | ||
}, | ||
entrypoint = exec_command, | ||
), | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
def run_centriguge(plan, args): | ||
exec_command = [ | ||
"--chain=/app/centrifuge-raw-spec.json", | ||
"--collator", | ||
"--rpc-external", | ||
"--rpc-cors=all", | ||
"--rpc-methods=unsafe", | ||
"--tmp", | ||
"--", | ||
"--chain=/app/rococo-local.json", | ||
"--execution=wasm", | ||
] | ||
centifuge_service_config = ServiceConfig( | ||
image = "centrifugeio/centrifuge-chain:test-main-latest", | ||
files = { | ||
"/app": "output", | ||
}, | ||
ports = { | ||
"9944": PortSpec(9944, transport_protocol = "TCP"), | ||
"9933": PortSpec(9933, transport_protocol = "TCP"), | ||
}, | ||
public_ports = { | ||
"9944": PortSpec(9432, transport_protocol = "TCP"), | ||
"9933": PortSpec(9431, transport_protocol = "TCP"), | ||
}, | ||
cmd = exec_command, | ||
) | ||
plan.add_service(name = "centrifuge-node", config = centifuge_service_config) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
def run_frequency(plan): | ||
exec_command = ["/bin/bash", "-c", "/frequency/target/release/frequency --chain=frequency-rococo-local --alice --base-path=/data --wasm-execution=compiled --force-authoring --port 30333 --rpc-port 9944 --rpc-external --rpc-cors all --rpc-methods=Unsafe --trie-cache-size 0 -- --wasm-execution=compiled --chain=/app/rococo-local.json"] | ||
plan.add_service( | ||
name = "frequency-node", | ||
config = ServiceConfig( | ||
image = "frequencychain/collator-node-local:latest", | ||
files = { | ||
"/app": "configs", | ||
}, | ||
ports = { | ||
"parachain": PortSpec(9944, transport_protocol = "TCP"), | ||
}, | ||
entrypoint = exec_command, | ||
), | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
def run_integritee(plan, args): | ||
exec_command = ["--chain=/app/integritee-raw-spec.json", "--", "--rpc-external", "--rpc-cors=all", "--rpc-methods=unsafe", "--tmp", "--", "--chain=/app/rococo-local.json", "--execution=wasm"] | ||
integritee_service_config = ServiceConfig( | ||
image = "integritee/parachain", | ||
files = { | ||
"/app": "output", | ||
}, | ||
ports = { | ||
"9944": PortSpec(9944, transport_protocol = "TCP"), | ||
"9933": PortSpec(9933, transport_protocol = "TCP"), | ||
}, | ||
public_ports = { | ||
"9944": PortSpec(9432, transport_protocol = "TCP"), | ||
"9933": PortSpec(9431, transport_protocol = "TCP"), | ||
}, | ||
cmd = exec_command, | ||
) | ||
plan.add_service(name = "intigreeti-node", config = integritee_service_config) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
def run(plan, args): | ||
plan.print("hello") |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
Oops, something went wrong.