-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2389 from IntersectMBO/staging
GovTool-v1.0.27
- Loading branch information
Showing
67 changed files
with
2,621 additions
and
5,742 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 |
---|---|---|
@@ -1,30 +1,24 @@ | ||
name: Add Issue to Projects | ||
name: Add all issues created to projects | ||
|
||
on: | ||
issues: | ||
types: [opened] | ||
|
||
jobs: | ||
add-to-projects: | ||
add-to-govtool-all-project: | ||
name: Add issue to GovTool all project | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
- uses: actions/[email protected] | ||
with: | ||
project-url: https://github.com/orgs/IntersectMBO/projects/30 | ||
github-token: ${{ secrets.ADD_ISSUE_TO_PROJECT_PAT }} | ||
|
||
- name: Install GitHub CLI | ||
run: sudo apt-get install gh | ||
|
||
- name: Authenticate GitHub CLI with default token | ||
run: gh auth login --with-token <<< "$GITHUB_TOKEN" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Add issue to GovTool Project | ||
run: gh project item-add IntersectMBO/30 --content-type Issue --content-id ${{ github.event.issue.node_id }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Add issue to Community Backlog Project | ||
run: gh project item-add IntersectMBO/34 --content-type Issue --content-id ${{ github.event.issue.node_id }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
add-to-community-backlog-project: | ||
name: Add issue to governance tools community backlog project | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
project-url: https://github.com/orgs/IntersectMBO/projects/34 | ||
github-token: ${{ secrets.ADD_ISSUE_TO_PROJECT_PAT }} |
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
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
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
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
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
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
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
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,14 +1,14 @@ | ||
{ | ||
"dbsyncconfig" : { | ||
"host" : "localhost", | ||
"dbname" : "cexplorer", | ||
"user" : "postgres", | ||
"password" : "postgres", | ||
"port" : 5432 | ||
}, | ||
"port" : 9999, | ||
"host" : "localhost", | ||
"cachedurationseconds": 20, | ||
"sentrydsn": "https://username:[email protected]/id", | ||
"sentryenv": "dev" | ||
"dbsyncconfig" : { | ||
"host" : "localhost", | ||
"dbname" : "cexplorer", | ||
"user" : "postgres", | ||
"password" : "postgres", | ||
"port" : 5432 | ||
}, | ||
"port" : 9999, | ||
"host" : "localhost", | ||
"cachedurationseconds": 20, | ||
"sentrydsn": "https://username:[email protected]/id", | ||
"sentryenv": "dev" | ||
} |
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,7 +1,6 @@ | ||
select coalesce(drep_distr.amount, 0) as amount | ||
from drep_hash | ||
left join drep_distr | ||
on drep_hash.id = drep_distr.hash_id | ||
where drep_hash.raw = decode(?,'hex') | ||
order by epoch_no desc | ||
limit 1 | ||
select sum(uv.value) as amount | ||
from utxo_view uv | ||
join delegation_vote dv on uv.stake_address_id = dv.addr_id | ||
join drep_hash dh on dv.drep_hash_id = dh.id | ||
where dh.raw = decode(?,'hex') | ||
and dv.cert_index != 0 |
Oops, something went wrong.