diff --git a/CHANGELOG.md b/CHANGELOG.md index 019954978..ff7f94c70 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,24 @@ changes. ### Fixed +- + +### Changed + +- + +### Removed + +- + +## [v1.0.19](https://github.com/IntersectMBO/govtool/releases/tag/v1.0.19) 2024-09-19 + +### Added + +- + +### Fixed + - Fix private policy link and get support link - Fixed poor UTxO management when building transactions [Issue 2059](https://github.com/IntersectMBO/govtool/issues/2059) @@ -24,12 +42,13 @@ changes. - Bump cardano-db-sync 13.5.0.2 [Issue 1945](https://github.com/IntersectMBO/govtool/issues/1945) - Add Mainnet link to network banner [Issue 2002](https://github.com/IntersectMBO/govtool/issues/2002) - Bump CSL version to 12.1.0 +- Add random sorting as default sorting for DRep list [Issue 2013](https://github.com/IntersectMBO/govtool/issues/2013) ### Removed - -## [sancho-v1.0.18](https://github.com/IntersectMBO/govtool/releases/tag/sancho-v1.0.18) 2024-09-12 +## [v1.0.18](https://github.com/IntersectMBO/govtool/releases/tag/v1.0.18) 2024-09-12 ### Added diff --git a/govtool/backend/Dockerfile b/govtool/backend/Dockerfile index c6c0d2827..c24e18876 100644 --- a/govtool/backend/Dockerfile +++ b/govtool/backend/Dockerfile @@ -4,4 +4,4 @@ FROM $BASE_IMAGE_REPO:$BASE_IMAGE_TAG WORKDIR /src COPY . . RUN cabal build -RUN cp dist-newstyle/build/x86_64-linux/ghc-9.2.7/vva-be-1.0.18/x/vva-be/build/vva-be/vva-be /usr/local/bin +RUN cp dist-newstyle/build/x86_64-linux/ghc-9.2.7/vva-be-1.0.19/x/vva-be/build/vva-be/vva-be /usr/local/bin diff --git a/govtool/backend/Dockerfile.qovery b/govtool/backend/Dockerfile.qovery index 94d4c4fa4..d1e635cc0 100644 --- a/govtool/backend/Dockerfile.qovery +++ b/govtool/backend/Dockerfile.qovery @@ -4,7 +4,7 @@ FROM $BASE_IMAGE_REPO:$BASE_IMAGE_TAG WORKDIR /src COPY . . RUN cabal build -RUN cp dist-newstyle/build/x86_64-linux/ghc-9.2.7/vva-be-1.0.18/x/vva-be/build/vva-be/vva-be /usr/local/bin +RUN cp dist-newstyle/build/x86_64-linux/ghc-9.2.7/vva-be-1.0.19/x/vva-be/build/vva-be/vva-be /usr/local/bin # Expose the necessary port EXPOSE 9876 diff --git a/govtool/backend/vva-be.cabal b/govtool/backend/vva-be.cabal index f53ed5258..2251dd417 100644 --- a/govtool/backend/vva-be.cabal +++ b/govtool/backend/vva-be.cabal @@ -1,6 +1,6 @@ cabal-version: 3.6 name: vva-be -version: 1.0.18 +version: 1.0.19 -- A short (one-line) description of the package. -- synopsis: diff --git a/govtool/frontend/package-lock.json b/govtool/frontend/package-lock.json index a900d690f..1a8f79bcd 100644 --- a/govtool/frontend/package-lock.json +++ b/govtool/frontend/package-lock.json @@ -1,12 +1,12 @@ { "name": "@govtool/frontend", - "version": "1.0.18", + "version": "1.0.19", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@govtool/frontend", - "version": "1.0.18", + "version": "1.0.19", "hasInstallScript": true, "dependencies": { "@emotion/react": "^11.11.1", diff --git a/govtool/frontend/package.json b/govtool/frontend/package.json index fd3311d14..3d8ca8012 100644 --- a/govtool/frontend/package.json +++ b/govtool/frontend/package.json @@ -1,7 +1,7 @@ { "name": "@govtool/frontend", "private": true, - "version": "1.0.18", + "version": "1.0.19", "type": "module", "scripts": { "build": "vite build", @@ -109,5 +109,5 @@ "typescript": "^5.0.2" }, "readme": "ERROR: No README data found!", - "_id": "govtool@1.0.18" + "_id": "govtool@1.0.19" } diff --git a/govtool/frontend/src/context/wallet.tsx b/govtool/frontend/src/context/wallet.tsx index 3983819a6..5916471af 100644 --- a/govtool/frontend/src/context/wallet.tsx +++ b/govtool/frontend/src/context/wallet.tsx @@ -24,11 +24,9 @@ import { TransactionBuilder, TransactionBuilderConfigBuilder, TransactionHash, - TransactionOutput, TransactionUnspentOutput, TransactionUnspentOutputs, TransactionWitnessSet, - Value, VoteDelegation, Voter, VotingBuilder, @@ -45,7 +43,7 @@ import { ProtocolParamUpdate, ParameterChangeAction, Costmdls, - DrepVotingThresholds, + DRepVotingThresholds, ExUnitPrices, UnitInterval, ExUnits, @@ -116,7 +114,7 @@ type ProtocolParamsUpdate = { costModels: Costmdls; drepDeposit: string; drepInactivityPeriod: number; - drepVotingThresholds: DrepVotingThresholds; + drepVotingThresholds: DRepVotingThresholds; executionCosts: ExUnitPrices; expansionRate: UnitInterval; governanceActionDeposit: string; @@ -646,7 +644,7 @@ const CardanoProvider = (props: Props) => { stakeCred = Credential.from_keyhash(stakeKeyHash); } else { stakeCred = Credential.from_keyhash(stakeKeyHash); - const stakeKeyRegCert = StakeRegistration.new_with_coin( + const stakeKeyRegCert = StakeRegistration.new_with_explicit_deposit( stakeCred, BigNum.from_str(`${epochParams.key_deposit}`), ); @@ -776,7 +774,9 @@ const CardanoProvider = (props: Props) => { // Get wallet's DRep key const dRepKeyHash = Ed25519KeyHash.from_hex(dRepID); // Vote things - const voter = Voter.new_drep(Credential.from_keyhash(dRepKeyHash)); + const voter = Voter.new_drep_credential( + Credential.from_keyhash(dRepKeyHash), + ); const govActionId = GovernanceActionId.new( // placeholder TransactionHash.from_hex(txHash), diff --git a/govtool/metadata-validation/package-lock.json b/govtool/metadata-validation/package-lock.json index a98307183..99dbc406a 100644 --- a/govtool/metadata-validation/package-lock.json +++ b/govtool/metadata-validation/package-lock.json @@ -1,12 +1,12 @@ { "name": "@govtool/metadata-validation", - "version": "1.0.18", + "version": "1.0.19", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@govtool/metadata-validation", - "version": "1.0.18", + "version": "1.0.19", "license": "UNLICENSED", "dependencies": { "@nestjs/axios": "^3.0.2", diff --git a/govtool/metadata-validation/package.json b/govtool/metadata-validation/package.json index 759b7a577..d4061fcbf 100644 --- a/govtool/metadata-validation/package.json +++ b/govtool/metadata-validation/package.json @@ -1,6 +1,6 @@ { "name": "@govtool/metadata-validation", - "version": "1.0.18", + "version": "1.0.19", "description": "", "author": "", "private": true, diff --git a/govtool/metadata-validation/src/main.ts b/govtool/metadata-validation/src/main.ts index 5e9c9aef4..fde78200f 100644 --- a/govtool/metadata-validation/src/main.ts +++ b/govtool/metadata-validation/src/main.ts @@ -13,7 +13,7 @@ async function bootstrap() { const config = new DocumentBuilder() .setTitle('Metadata Validation Tool') .setDescription('The Metadata Validation Tool API description') - .setVersion('1.0.18') + .setVersion('1.0.19') .build(); const document = SwaggerModule.createDocument(app, config);