diff --git a/contracts/core/accounts/message.sol b/contracts/core/accounts/message.sol index 211d24b74..487a88eef 100644 --- a/contracts/core/accounts/message.sol +++ b/contracts/core/accounts/message.sol @@ -160,7 +160,7 @@ library AccountMessages { enum DonationMatchEnum { HaloTokenReserve, - Cw20TokenReserve + ERC20TokenReserve } struct DonationMatchData { diff --git a/test/core/accounts/AccountsDonationMatch.ts b/test/core/accounts/AccountsDonationMatch.ts index 07ecd5637..69383580f 100644 --- a/test/core/accounts/AccountsDonationMatch.ts +++ b/test/core/accounts/AccountsDonationMatch.ts @@ -278,7 +278,7 @@ describe("AccountsDonationMatch", function () { }); it("reverts if the passed reserveToken address is a zero address", async () => { - details.enumData = DonationMatchEnum.Cw20TokenReserve; + details.enumData = DonationMatchEnum.ERC20TokenReserve; details.data.reserveToken = ethers.constants.AddressZero; await expect(facet.setupDonationMatch(endowId, details)).to.be.revertedWith( @@ -310,7 +310,7 @@ describe("AccountsDonationMatch", function () { }); it("passes when setting up some custom reserve token", async () => { - details.enumData = DonationMatchEnum.Cw20TokenReserve; + details.enumData = DonationMatchEnum.ERC20TokenReserve; details.data.reserveToken = genWallet().address; await expect(facet.setupDonationMatch(endowId, details)).to.emit( diff --git a/test/utils/helpers/types.ts b/test/utils/helpers/types.ts index e93803ed4..0dcd2abf0 100644 --- a/test/utils/helpers/types.ts +++ b/test/utils/helpers/types.ts @@ -50,5 +50,5 @@ export enum DelegateAction { export enum DonationMatchEnum { HaloTokenReserve, - Cw20TokenReserve, + ERC20TokenReserve, }