-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 642bb89
Showing
1,075 changed files
with
292,396 additions
and
0 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,2 @@ | ||
# Default reviewers | ||
* @hwrdtm @glitch003 @GTC6244 @rahul-ramesh @joshLong145 @Adarsh-Kumar28 @egeyar @lispwisp @mikelodder7 |
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,92 @@ | ||
name: "🐛 Bug Report" | ||
description: Create a new ticket for a bug. | ||
title: "🐛 [BUG] - <title>" | ||
labels: [ | ||
"bug" | ||
] | ||
body: | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: "Description" | ||
description: Please enter an explicit description of your issue | ||
placeholder: Short and explicit description of your incident... | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: expected_behavior | ||
attributes: | ||
label: "Expected Behavior" | ||
description: Please describe what the expected behavior is | ||
placeholder: Short description of the expected behavior | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: reprod | ||
attributes: | ||
label: "Reproduction steps" | ||
description: Please enter an explicit description of your issue | ||
value: | | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
render: bash | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: screenshot | ||
attributes: | ||
label: "Screenshots" | ||
description: If applicable, add screenshots to help explain your problem. | ||
value: | | ||
![DESCRIPTION](LINK.png) | ||
render: bash | ||
validations: | ||
required: false | ||
- type: textarea | ||
id: logs | ||
attributes: | ||
label: "Logs" | ||
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. | ||
render: bash | ||
validations: | ||
required: false | ||
- type: dropdown | ||
id: project | ||
attributes: | ||
label: "Project" | ||
description: Which project are you seeing the problem? | ||
multiple: true | ||
options: | ||
- blockchain/contracts | ||
- rust/lit-core | ||
- rust/lit-node | ||
- rust/lit-os | ||
- rust/lit-services | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: os | ||
attributes: | ||
label: "OS" | ||
description: What is the impacted environment? | ||
placeholder: Describe what platform & version of your hardware, software | ||
validations: | ||
required: false | ||
- type: textarea | ||
id: proposed_solution | ||
attributes: | ||
label: "Proposed Solution" | ||
description: Please provide any ideas for possibly resolving this issue | ||
placeholder: Describe the implementation details for fixing this issue | ||
validations: | ||
required: false | ||
- type: textarea | ||
id: misc | ||
attributes: | ||
label: "Miscellaneous" | ||
description: Please enter any additional details, context or comments | ||
placeholder: Description of any additional information that is useful | ||
validations: | ||
required: false |
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,63 @@ | ||
name: "💡 Feature Request" | ||
description: Create a new ticket for a new feature request | ||
title: "💡 [REQUEST] - <title>" | ||
labels: [ | ||
"question" | ||
] | ||
body: | ||
- type: textarea | ||
id: summary | ||
attributes: | ||
label: "Summary" | ||
description: Provide a brief explanation of the feature | ||
placeholder: Describe in a few lines your feature request | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: reference_issues | ||
attributes: | ||
label: "Reference Issues" | ||
description: Common issues | ||
placeholder: "#Issues IDs" | ||
validations: | ||
required: false | ||
- type: textarea | ||
id: basic_example | ||
attributes: | ||
label: "Basic Example" | ||
description: Indicate here some basic examples of your feature. | ||
placeholder: A few specific words about your feature request. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: alternatives | ||
attributes: | ||
label: "Alternative Solutions" | ||
description: What are the alternative solutions feature request? | ||
placeholder: Explain what other approaches you have considered and why this solution is the best | ||
validations: | ||
required: false | ||
- type: textarea | ||
id: drawbacks | ||
attributes: | ||
label: "Drawbacks" | ||
description: What are the drawbacks/impacts of your feature request ? | ||
placeholder: Identify the drawbacks and impacts while being neutral on your feature request | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: unresolved_question | ||
attributes: | ||
label: "Unresolved questions" | ||
description: What questions still remain unresolved ? | ||
placeholder: Identify any unresolved issues. | ||
validations: | ||
required: false | ||
- type: textarea | ||
id: misc | ||
attributes: | ||
label: "Miscellaneous" | ||
description: Please enter any additional details, context or comments | ||
placeholder: Description of any additional information that is useful | ||
validations: | ||
required: false |
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: false |
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,29 @@ | ||
# What | ||
|
||
<enter the Linear ticket here if applicable, eg. LIT-123> | ||
|
||
<enter the Github issue number if applicable> | ||
|
||
_Describe what this PR proposes to change._ | ||
|
||
# Why | ||
|
||
_Describe why this PR is necessary._ | ||
|
||
# Background | ||
|
||
_Describe any background information that is useful to help the reviewer._ | ||
|
||
# Testing | ||
|
||
_Describe the steps for reviewers to test the changes (unit, integration, e2e, load, performance etc.) in this PR, and provide evidence that the expected behavior has been reached._ | ||
|
||
# Risks | ||
|
||
_Describe what are the associated risks of merging and deploying this PR._ | ||
|
||
# Misc | ||
|
||
_Describe any additional context / information._ | ||
|
||
_Tag the key people that you would like to review this PR._ |
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,84 @@ | ||
name: blockchain/contracts | ||
on: | ||
workflow_dispatch: {} | ||
workflow_call: | ||
push: | ||
paths: | ||
- blockchain/contracts/** | ||
- .github/workflows/blockchain-contracts.yml | ||
- scripts/github/** | ||
branches: | ||
- master | ||
- develop | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
working-directory: blockchain/contracts | ||
|
||
jobs: | ||
test_deployment_tool: | ||
runs-on: buildjet-8vcpu-ubuntu-2204 # change to LargeRunner to run on github. Change to self-hosted to run on our own runner. Change to buildjet-8vcpu-ubuntu-2204 to run on buildjet with 8 cpus | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Use Node.js | ||
uses: buildjet/setup-node@v3 | ||
with: | ||
node-version: 18.17.0 | ||
cache: npm | ||
cache-dependency-path: ${{ github.workspace }}/blockchain/contracts/package-lock.json | ||
- name: Install dependencies | ||
run: npm install | ||
- name: Test deployment tool | ||
run: npm run deploy -- --deploy-config scripts/deployConfig/configs/ci-config.json --verbose | ||
|
||
services: | ||
anvil: | ||
image: litptcl/anvil-lit:latest | ||
ports: | ||
- 8545:8545 | ||
credentials: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
test_contracts: | ||
runs-on: buildjet-8vcpu-ubuntu-2204 # change to LargeRunner to run on github. Change to self-hosted to run on our own runner. Change to buildjet-8vcpu-ubuntu-2204 to run on buildjet with 8 cpus | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Use Node.js | ||
uses: buildjet/setup-node@v3 | ||
with: | ||
node-version: 18.17.0 | ||
cache: npm | ||
cache-dependency-path: ${{ github.workspace }}/blockchain/contracts/package-lock.json | ||
- name: Install dependencies | ||
run: npm install | ||
- name: Run tests | ||
run: npm run test | ||
|
||
services: | ||
anvil: | ||
image: litptcl/anvil-lit:latest | ||
ports: | ||
- 8545:8545 | ||
credentials: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
prettier_check: | ||
runs-on: buildjet-8vcpu-ubuntu-2204 # change to LargeRunner to run on github. Change to self-hosted to run on our own runner. Change to buildjet-8vcpu-ubuntu-2204 to run on buildjet with 8 cpus | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Use Node.js | ||
uses: buildjet/setup-node@v3 | ||
with: | ||
node-version: 18.17.0 | ||
cache: npm | ||
cache-dependency-path: ${{ github.workspace }}/blockchain/contracts/package-lock.json | ||
- name: Install dependencies | ||
run: npm install | ||
- name: Run prettier formatting check | ||
run: npm run prettier:check |
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 @@ | ||
name: "LIT Assets Docker Image CI" | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: LargeRunner | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- id: pre-step | ||
shell: bash | ||
run: echo "release-version=$(date +%s)" >> $GITHUB_OUTPUT | ||
|
||
- name: Publish the Docker image | ||
uses: elgohr/Publish-Docker-Github-Action@v5 | ||
with: | ||
name: litptcl/lit-assets | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
dockerfile: docker/ubuntu2204/Dockerfile | ||
tags: ${{ steps.pre-step.outputs.release-version }} |
Oops, something went wrong.