Skip to content

Commit 013891d

Browse files
authored
Merge pull request #2383 from IntersectMBO/develop
GovTool - v1.0.27
2 parents ff63710 + 377d43b commit 013891d

File tree

67 files changed

+2621
-5742
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+2621
-5742
lines changed
Lines changed: 15 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,24 @@
1-
name: Add Issue to Projects
1+
name: Add all issues created to projects
22

33
on:
44
issues:
55
types: [opened]
66

77
jobs:
8-
add-to-projects:
8+
add-to-govtool-all-project:
9+
name: Add issue to GovTool all project
910
runs-on: ubuntu-latest
1011
steps:
11-
- name: Checkout repository
12-
uses: actions/checkout@v3
12+
- uses: actions/[email protected]
13+
with:
14+
project-url: https://github.com/orgs/IntersectMBO/projects/30
15+
github-token: ${{ secrets.ADD_ISSUE_TO_PROJECT_PAT }}
1316

14-
- name: Install GitHub CLI
15-
run: sudo apt-get install gh
16-
17-
- name: Authenticate GitHub CLI with default token
18-
run: gh auth login --with-token <<< "$GITHUB_TOKEN"
19-
env:
20-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21-
22-
- name: Add issue to GovTool Project
23-
run: gh project item-add IntersectMBO/30 --content-type Issue --content-id ${{ github.event.issue.node_id }}
24-
env:
25-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26-
27-
- name: Add issue to Community Backlog Project
28-
run: gh project item-add IntersectMBO/34 --content-type Issue --content-id ${{ github.event.issue.node_id }}
29-
env:
30-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
add-to-community-backlog-project:
18+
name: Add issue to governance tools community backlog project
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/[email protected]
22+
with:
23+
project-url: https://github.com/orgs/IntersectMBO/projects/34
24+
github-token: ${{ secrets.ADD_ISSUE_TO_PROJECT_PAT }}

.github/workflows/build-and-deploy-beta.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ jobs:
6060
USERSNAP_SPACE_API_KEY: ${{ secrets.USERSNAP_SPACE_API_KEY }}
6161
IS_PROPOSAL_DISCUSSION_FORUM_ENABLED: ${{ inputs.isProposalDiscussionForumEnabled == 'enabled' }}
6262
PDF_API_URL: ${{ secrets.PDF_API_URL}}
63+
IPFS_GATEWAY: ${{ secrets.IPFS_GATEWAY }}
64+
IPFS_PROJECT_ID: ${{ secrets.IPFS_PROJECT_ID }}
6365
steps:
6466
- name: Checkout code
6567
uses: actions/checkout@v4

.github/workflows/build-and-deploy-dev.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ jobs:
6060
USERSNAP_SPACE_API_KEY: ${{ secrets.USERSNAP_SPACE_API_KEY }}
6161
IS_PROPOSAL_DISCUSSION_FORUM_ENABLED: ${{ inputs.isProposalDiscussionForumEnabled == 'enabled' }}
6262
PDF_API_URL: ${{ secrets.PDF_API_URL }}
63+
IPFS_GATEWAY: ${{ secrets.IPFS_GATEWAY }}
64+
IPFS_PROJECT_ID: ${{ secrets.IPFS_PROJECT_ID }}
6365
steps:
6466
- name: Checkout code
6567
uses: actions/checkout@v4

.github/workflows/build-and-deploy-staging.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ jobs:
6363
USERSNAP_SPACE_API_KEY: ${{ secrets.USERSNAP_SPACE_API_KEY }}
6464
IS_PROPOSAL_DISCUSSION_FORUM_ENABLED: ${{github.event_name == 'push' && 'true' || inputs.isProposalDiscussionForumEnabled == 'enabled'}}
6565
PDF_API_URL: ${{ secrets.PDF_API_URL}}
66+
IPFS_GATEWAY: ${{ secrets.IPFS_GATEWAY }}
67+
IPFS_PROJECT_ID: ${{ secrets.IPFS_PROJECT_ID }}
6668
steps:
6769
- name: Checkout code
6870
uses: actions/checkout@v4

.github/workflows/build-and-deploy-test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ jobs:
6363
USERSNAP_SPACE_API_KEY: ${{ secrets.USERSNAP_SPACE_API_KEY }}
6464
IS_PROPOSAL_DISCUSSION_FORUM_ENABLED: ${{github.event_name == 'push' && 'true' || inputs.isProposalDiscussionForumEnabled == 'enabled'}}
6565
PDF_API_URL: ${{ secrets.PDF_API_URL}}
66+
IPFS_GATEWAY: ${{ secrets.IPFS_GATEWAY }}
67+
IPFS_PROJECT_ID: ${{ secrets.IPFS_PROJECT_ID }}
6668
steps:
6769
- name: Checkout code
6870
uses: actions/checkout@v4

.github/workflows/test_integration_playwright.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ on:
1414
- "sanchogov.tools"
1515
- "staging.govtool.byron.network"
1616
- "govtool.cardanoapi.io"
17+
- "preview.gov.tools"
1718

1819
workflow_run:
1920
workflows: ["Build and deploy GovTool to TEST server"]
@@ -79,6 +80,8 @@ jobs:
7980
KUBER_API_KEY: ${{secrets.KUBER_API_KEY}}
8081
TEST_WORKERS: ${{vars.TEST_WORKERS}}
8182
CI: ${{vars.CI}}
83+
NETWORK: ${{vars.NETWORK}}
84+
FAUCET_ADDRESS: ${{vars.FAUCET_ADDRESS}}
8285
CARDANOAPI_METADATA_URL: ${{vars.CARDANOAPI_METADATA_URL}}
8386

8487
publish-report:

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,32 @@ changes.
2626

2727
-
2828

29+
## [v1.0.27](https://github.com/IntersectMBO/govtool/releases/tag/v1.0.27) 2024-11-18
30+
31+
### Added
32+
33+
- Handle displaying votes based on bootstrap phase, full governance and security groups [Issue 2316](https://github.com/IntersectMBO/govtool/issues/2316)
34+
- Add support for displaying Motion of No Confidence Governance Action [Issue 1597](https://github.com/IntersectMBO/govtool/issues/1597)
35+
- Add support for displaying Update committee/threshold Governance Action [Issue 1598](https://github.com/IntersectMBO/govtool/issues/1598)
36+
- Add support for displaying New Constitution and/or Guardrails Script Governance Action [Issue 1599](https://github.com/IntersectMBO/govtool/issues/1598)
37+
- Add support for ipfs in metadata validation service [Issue 1616](https://github.com/IntersectMBO/govtool/issues/1616)
38+
- Add support for displaying array of treasury withdrawals [Issue 1602](https://github.com/IntersectMBO/govtool/issues/1602)
39+
40+
### Fixed
41+
42+
- Fix submitting treasury governance action [Issue 1845](https://github.com/IntersectMBO/govtool/issues/1845)
43+
- Fix failing github action workflow [Issue 2277](https://github.com/IntersectMBO/govtool/issues/2277)
44+
45+
### Changed
46+
47+
- Bumped Cardano node version to `10.1.2`.
48+
- Bumped Cardano DB Sync version to `13.6.0.1`.
49+
- Make calculation of a DRep voting power on the backend [Issue 1960](https://github.com/IntersectMBO/govtool/issues/1960)
50+
51+
### Removed
52+
53+
-
54+
2955
## [v1.0.26](https://github.com/IntersectMBO/govtool/releases/tag/v1.0.26) 2024-11-07
3056

3157
### Added

docs/GOVERNANCE_ACTION_SUBMISSION.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ interface InfoProps {
4141
interface TreasuryProps {
4242
amount: string;
4343
hash: string;
44-
receivingAddress: string;
45-
url: string;
44+
withdrawals: { receivingAddress: string; amount: string }[];
4645
}
4746

4847
type ProtocolParamsUpdate = {
@@ -184,8 +183,7 @@ const { buildTreasuryGovernanceAction } = useCardano();
184183
const govActionBuilder = await buildTreasuryGovernanceAction({
185184
hash,
186185
url,
187-
amount,
188-
receivingAddress,
186+
withdrawals: [{ amount, receivingAddress }],
189187
});
190188

191189
// Protocol Parameter Change Governance Action

flake.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description = "GovTool and utilities monorepo.";
33
inputs = {
44
default_nixpkgs.url = "github:nixos/nixpkgs/c9ece0059f42e0ab53ac870104ca4049df41b133";
5-
node_nixpkgs.url = "github:nixos/nixpkgs/9957cd48326fe8dbd52fdc50dd2502307f188b0d";
5+
node_nixpkgs.url = "github:nixos/nixpkgs/23aa9e2f958310c69a94d21f6523240841a02d58";
66
flake-utils.url = "github:numtide/flake-utils";
77
nix-inclusive.url = "github:input-output-hk/nix-inclusive";
88
};

0 commit comments

Comments
 (0)