Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

Commit

Permalink
Fix accounts strategy test
Browse files Browse the repository at this point in the history
  • Loading branch information
stevieraykatz committed Sep 13, 2023
1 parent 28a5a0c commit b75c042
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions test/core/accounts/AccountsStrategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ describe("AccountsStrategy", function () {
destinationChain: "",
strategyId: DEFAULT_STRATEGY_ID,
selector: DEFAULT_METHOD_SELECTOR,
accountIds: [ACCOUNT_ID],
accountId: ACCOUNT_ID,
token: token.address,
lockAmt: investRequest.lockAmt,
liqAmt: investRequest.liquidAmt,
Expand Down Expand Up @@ -300,7 +300,7 @@ describe("AccountsStrategy", function () {
destinationChain: NET_NAME_THIS,
strategyId: DEFAULT_STRATEGY_ID,
selector: vault.interface.getSighash("deposit"),
accountIds: [ACCOUNT_ID],
accountId: ACCOUNT_ID,
token: token.address,
lockAmt: investRequest.lockAmt,
liqAmt: investRequest.liquidAmt,
Expand Down Expand Up @@ -343,7 +343,7 @@ describe("AccountsStrategy", function () {
destinationChain: "",
strategyId: DEFAULT_STRATEGY_ID,
selector: DEFAULT_METHOD_SELECTOR,
accountIds: [ACCOUNT_ID],
accountId: ACCOUNT_ID,
token: token.address,
lockAmt: investRequest.lockAmt,
liqAmt: investRequest.liquidAmt,
Expand Down Expand Up @@ -401,7 +401,7 @@ describe("AccountsStrategy", function () {
destinationChain: NET_NAME_THAT,
strategyId: DEFAULT_STRATEGY_ID,
selector: vault.interface.getSighash("deposit"),
accountIds: [ACCOUNT_ID],
accountId: ACCOUNT_ID,
token: token.address,
lockAmt: LOCK_AMT,
liqAmt: LIQ_AMT,
Expand Down Expand Up @@ -511,7 +511,7 @@ describe("AccountsStrategy", function () {
destinationChain: NET_NAME_THAT,
strategyId: DEFAULT_STRATEGY_ID,
selector: vault.interface.getSighash("deposit"),
accountIds: [ACCOUNT_ID],
accountId: ACCOUNT_ID,
token: token.address,
lockAmt: caseData.lockAmt,
liqAmt: caseData.liqAmt,
Expand Down Expand Up @@ -676,7 +676,7 @@ describe("AccountsStrategy", function () {
destinationChain: "",
strategyId: DEFAULT_STRATEGY_ID,
selector: DEFAULT_METHOD_SELECTOR,
accountIds: [ACCOUNT_ID],
accountId: ACCOUNT_ID,
token: token.address,
lockAmt: LOCK_AMT,
liqAmt: LIQ_AMT,
Expand All @@ -700,7 +700,7 @@ describe("AccountsStrategy", function () {
destinationChain: NET_NAME_THIS,
strategyId: DEFAULT_STRATEGY_ID,
selector: vault.interface.getSighash("redeem"),
accountIds: [ACCOUNT_ID],
accountId: ACCOUNT_ID,
token: token.address,
lockAmt: LOCK_AMT,
liqAmt: LIQ_AMT,
Expand Down Expand Up @@ -735,7 +735,7 @@ describe("AccountsStrategy", function () {
destinationChain: "",
strategyId: DEFAULT_STRATEGY_ID,
selector: DEFAULT_METHOD_SELECTOR,
accountIds: [ACCOUNT_ID],
accountId: ACCOUNT_ID,
token: token.address,
lockAmt: LOCK_AMT,
liqAmt: LIQ_AMT,
Expand Down Expand Up @@ -777,7 +777,7 @@ describe("AccountsStrategy", function () {
destinationChain: NET_NAME_THAT,
strategyId: DEFAULT_STRATEGY_ID,
selector: vault.interface.getSighash("redeem"),
accountIds: [ACCOUNT_ID],
accountId: ACCOUNT_ID,
token: token.address,
lockAmt: LOCK_AMT,
liqAmt: LIQ_AMT,
Expand Down Expand Up @@ -881,7 +881,7 @@ describe("AccountsStrategy", function () {
destinationChain: NET_NAME_THAT,
strategyId: DEFAULT_STRATEGY_ID,
selector: vault.interface.getSighash("redeem"),
accountIds: [ACCOUNT_ID],
accountId: ACCOUNT_ID,
token: token.address,
lockAmt: caseData.lockAmt,
liqAmt: caseData.liqAmt,
Expand Down Expand Up @@ -1020,7 +1020,7 @@ describe("AccountsStrategy", function () {
destinationChain: "",
strategyId: DEFAULT_STRATEGY_ID,
selector: DEFAULT_METHOD_SELECTOR,
accountIds: [ACCOUNT_ID],
accountId: ACCOUNT_ID,
token: token.address,
lockAmt: LOCK_AMT,
liqAmt: LIQ_AMT,
Expand All @@ -1044,7 +1044,7 @@ describe("AccountsStrategy", function () {
destinationChain: NET_NAME_THIS,
strategyId: DEFAULT_STRATEGY_ID,
selector: vault.interface.getSighash("redeemAll"),
accountIds: [ACCOUNT_ID],
accountId: ACCOUNT_ID,
token: token.address,
lockAmt: 1,
liqAmt: 1,
Expand Down Expand Up @@ -1083,7 +1083,7 @@ describe("AccountsStrategy", function () {
destinationChain: "",
strategyId: DEFAULT_STRATEGY_ID,
selector: DEFAULT_METHOD_SELECTOR,
accountIds: [ACCOUNT_ID],
accountId: ACCOUNT_ID,
token: token.address,
lockAmt: LOCK_AMT,
liqAmt: LIQ_AMT,
Expand Down Expand Up @@ -1136,7 +1136,7 @@ describe("AccountsStrategy", function () {
destinationChain: NET_NAME_THAT,
strategyId: DEFAULT_STRATEGY_ID,
selector: vault.interface.getSighash("redeemAll"),
accountIds: [ACCOUNT_ID],
accountId: ACCOUNT_ID,
token: token.address,
lockAmt: 1,
liqAmt: 1,
Expand Down Expand Up @@ -1336,7 +1336,7 @@ describe("AccountsStrategy", function () {
destinationChain: NET_NAME_THAT,
strategyId: DEFAULT_STRATEGY_ID,
selector: vault.interface.getSighash("redeemAll"),
accountIds: [ACCOUNT_ID],
accountId: ACCOUNT_ID,
token: token.address,
lockAmt: redeemAllRequest.redeemLocked ? 1 : 0,
liqAmt: redeemAllRequest.redeemLiquid ? 1 : 0,
Expand Down Expand Up @@ -1421,7 +1421,7 @@ describe("AccountsStrategy", function () {
destinationChain: NET_NAME_THAT,
strategyId: DEFAULT_STRATEGY_ID,
selector: vault.interface.getSighash("deposit"),
accountIds: [ACCOUNT_ID],
accountId: ACCOUNT_ID,
token: token.address,
lockAmt: 1,
liqAmt: 1,
Expand All @@ -1445,7 +1445,7 @@ describe("AccountsStrategy", function () {
destinationChain: NET_NAME_THAT,
strategyId: DEFAULT_STRATEGY_ID,
selector: vault.interface.getSighash("deposit"),
accountIds: [ACCOUNT_ID],
accountId: ACCOUNT_ID,
token: token.address,
lockAmt: 1,
liqAmt: 1,
Expand All @@ -1472,7 +1472,7 @@ describe("AccountsStrategy", function () {
destinationChain: NET_NAME_THAT,
strategyId: DEFAULT_STRATEGY_ID,
selector: vault.interface.getSighash("deposit"),
accountIds: [ACCOUNT_ID],
accountId: ACCOUNT_ID,
token: token.address,
lockAmt: 1,
liqAmt: 1,
Expand All @@ -1494,7 +1494,7 @@ describe("AccountsStrategy", function () {
destinationChain: NET_NAME_THAT,
strategyId: DEFAULT_STRATEGY_ID,
selector: vault.interface.getSighash("deposit"),
accountIds: [ACCOUNT_ID],
accountId: ACCOUNT_ID,
token: token.address,
lockAmt: 1,
liqAmt: 1,
Expand Down Expand Up @@ -1528,7 +1528,7 @@ describe("AccountsStrategy", function () {
destinationChain: NET_NAME_THAT,
strategyId: DEFAULT_STRATEGY_ID,
selector: vault.interface.getSighash("deposit"),
accountIds: [ACCOUNT_ID],
accountId: ACCOUNT_ID,
token: token.address,
lockAmt: 1,
liqAmt: 1,
Expand Down Expand Up @@ -1559,7 +1559,7 @@ describe("AccountsStrategy", function () {
destinationChain: NET_NAME_THAT,
strategyId: DEFAULT_STRATEGY_ID,
selector: vault.interface.getSighash("deposit"),
accountIds: [ACCOUNT_ID],
accountId: ACCOUNT_ID,
token: token.address,
lockAmt: 1,
liqAmt: 1,
Expand All @@ -1584,7 +1584,7 @@ describe("AccountsStrategy", function () {
destinationChain: NET_NAME_THAT,
strategyId: DEFAULT_STRATEGY_ID,
selector: vault.interface.getSighash("deposit"),
accountIds: [ACCOUNT_ID],
accountId: ACCOUNT_ID,
token: token.address,
lockAmt: 1,
liqAmt: 1,
Expand Down Expand Up @@ -1613,7 +1613,7 @@ describe("AccountsStrategy", function () {
destinationChain: NET_NAME_THAT,
strategyId: DEFAULT_STRATEGY_ID,
selector: vault.interface.getSighash("deposit"),
accountIds: [ACCOUNT_ID],
accountId: ACCOUNT_ID,
token: token.address,
lockAmt: 1,
liqAmt: 1,
Expand All @@ -1640,7 +1640,7 @@ describe("AccountsStrategy", function () {
destinationChain: NET_NAME_THAT,
strategyId: DEFAULT_STRATEGY_ID,
selector: vault.interface.getSighash("deposit"),
accountIds: [ACCOUNT_ID],
accountId: ACCOUNT_ID,
token: token.address,
lockAmt: 1,
liqAmt: 1,
Expand Down Expand Up @@ -1669,7 +1669,7 @@ describe("AccountsStrategy", function () {
destinationChain: NET_NAME_THAT,
strategyId: DEFAULT_STRATEGY_ID,
selector: vault.interface.getSighash("deposit"),
accountIds: [ACCOUNT_ID],
accountId: ACCOUNT_ID,
token: token.address,
lockAmt: LOCK_AMT,
liqAmt: LIQ_AMT,
Expand Down Expand Up @@ -1708,7 +1708,7 @@ describe("AccountsStrategy", function () {
destinationChain: NET_NAME_THAT,
strategyId: DEFAULT_STRATEGY_ID,
selector: vault.interface.getSighash(vaultFunction),
accountIds: [ACCOUNT_ID],
accountId: ACCOUNT_ID,
token: token.address,
lockAmt: LOCK_AMT,
liqAmt: LIQ_AMT,
Expand Down Expand Up @@ -1796,7 +1796,7 @@ describe("AccountsStrategy", function () {
destinationChain: NET_NAME_THAT,
strategyId: DEFAULT_STRATEGY_ID,
selector: vault.interface.getSighash(vaultFunction),
accountIds: [ACCOUNT_ID],
accountId: ACCOUNT_ID,
token: token.address,
lockAmt: LOCK_AMT,
liqAmt: LIQ_AMT,
Expand Down

0 comments on commit b75c042

Please sign in to comment.