Skip to content

Commit

Permalink
chore: re-add og boostcore erc1155 incentive test
Browse files Browse the repository at this point in the history
  • Loading branch information
sammccord committed Sep 24, 2024
1 parent e06bde1 commit 3d14854
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions packages/sdk/src/BoostCore.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ describe('BoostCore', () => {
...defaultOptions,
address: core.assertValidAddress(),
});
const { budget, erc20, points } = budgets;
const { budget, erc20, points, erc1155 } = budgets;
const allowList = await registry.initialize(
'SharedAllowList',
core.SimpleAllowList({
Expand All @@ -495,13 +495,13 @@ describe('BoostCore', () => {
limit: 10n,
strategy: StrategyType.POOL,
});
// const erc1155Incentive = core.ERC1155Incentive({
// asset: erc1155.assertValidAddress(),
// strategy: ERC1155StrategyType.POOL,
// limit: 1n,
// tokenId: 1n,
// extraData: "0x",
// });
const erc1155Incentive = core.ERC1155Incentive({
asset: erc1155.assertValidAddress(),
strategy: ERC1155StrategyType.POOL,
limit: 1n,
tokenId: 1n,
extraData: '0x',
});
const cgdaIncentive = core.CGDAIncentive({
asset: erc20.assertValidAddress(),
initialReward: 1n,
Expand Down Expand Up @@ -537,7 +537,7 @@ describe('BoostCore', () => {
}),
allowList: core.SimpleAllowList(allowList.assertValidAddress()),
incentives: [
// erc1155Incentive,
erc1155Incentive,
erc20Incentive,
cgdaIncentive,
allowListIncentive,
Expand Down
6 changes: 3 additions & 3 deletions packages/sdk/test/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ export async function deployFixtures(
);
}
SimpleBudget(options: DeployablePayloadOrAddress<SimpleBudgetPayload>) {
return new SimpleBudget(
return new bases.SimpleBudget(
{ config: this._config, account: this._account },
options,
);
Expand All @@ -401,7 +401,7 @@ export async function deployFixtures(
);
}
VestingBudget(options: DeployablePayloadOrAddress<VestingBudgetPayload>) {
return new VestingBudget(
return new bases.VestingBudget(
{ config: this._config, account: this._account },
options,
);
Expand All @@ -425,7 +425,7 @@ export async function deployFixtures(
);
}
ERC1155Incentive(options: ERC1155IncentivePayload) {
return new ERC1155Incentive(
return new bases.ERC1155Incentive(
{ config: this._config, account: this._account },
options,
);
Expand Down

0 comments on commit 3d14854

Please sign in to comment.