Skip to content

Commit

Permalink
fix version string
Browse files Browse the repository at this point in the history
  • Loading branch information
0xKurt committed Feb 28, 2024
1 parent 0a6773c commit 75b39a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,8 @@ class DonationVotingMerkleDistributionStrategy {
throw new Error("Invalid strategy type");
}
const version = strategyType === types_3.StrategyType.Vault
? "DonationVotingMerkleDistributionVaultStrategyv1.1"
: "DonationVotingMerkleDistributionDirectTransferStrategyv1.1";
? "DonationVotingMerkleDistributionVaultStrategyv2.0"
: "DonationVotingMerkleDistributionDirectTransferStrategyv2.0";
const bytecode = strategyType === types_3.StrategyType.Vault ? donationVotingVault_config_1.bytecode : donationVotingDirect_config_1.bytecode;
const abi = strategyType === types_3.StrategyType.Vault ? donationVotingVault_config_1.abi : donationVotingDirect_config_1.abi;
const constructorArgs = (0, viem_1.encodeAbiParameters)((0, viem_1.parseAbiParameters)("address, string"), [this.allo.address(), version]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,8 @@ export class DonationVotingMerkleDistributionStrategy {

const version =
strategyType === StrategyType.Vault
? "DonationVotingMerkleDistributionVaultStrategyv1.1"
: "DonationVotingMerkleDistributionDirectTransferStrategyv1.1";
? "DonationVotingMerkleDistributionVaultStrategyv2.0"
: "DonationVotingMerkleDistributionDirectTransferStrategyv2.0";

const bytecode =
strategyType === StrategyType.Vault ? vaultBytecode : directBytecode;
Expand Down

0 comments on commit 75b39a7

Please sign in to comment.