Skip to content

Commit

Permalink
fix csl errors
Browse files Browse the repository at this point in the history
  • Loading branch information
j-dyczka authored and Ryun1 committed Sep 19, 2024
1 parent ba18908 commit 6e3dff2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions govtool/frontend/src/context/wallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,9 @@ import {
TransactionBuilder,
TransactionBuilderConfigBuilder,
TransactionHash,
TransactionOutput,
TransactionUnspentOutput,
TransactionUnspentOutputs,
TransactionWitnessSet,
Value,
VoteDelegation,
Voter,
VotingBuilder,
Expand All @@ -45,7 +43,7 @@ import {
ProtocolParamUpdate,
ParameterChangeAction,
Costmdls,
DrepVotingThresholds,
DRepVotingThresholds,
ExUnitPrices,
UnitInterval,
ExUnits,
Expand Down Expand Up @@ -116,7 +114,7 @@ type ProtocolParamsUpdate = {
costModels: Costmdls;
drepDeposit: string;
drepInactivityPeriod: number;
drepVotingThresholds: DrepVotingThresholds;
drepVotingThresholds: DRepVotingThresholds;
executionCosts: ExUnitPrices;
expansionRate: UnitInterval;
governanceActionDeposit: string;
Expand Down Expand Up @@ -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}`),
);
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit 6e3dff2

Please sign in to comment.