Skip to content

Commit

Permalink
fixed execution modes and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei Zavgorodnii committed Nov 12, 2024
1 parent 28fe493 commit c091f65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/testcases/run_in_band/flashloans.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ describe('Neutron / Flashloans', () => {
const res = await neutronClient.execute(neutronFlashloansUserAddress, {
request_loan: {
flashloans_contract: neutronFlashloansAddress,
execution_mode: 1, // MODE_WITHHOLD_LOAN
execution_mode: 2, // MODE_RETURN_LOAN_MORE_THAN_NECESSARY
amount: [
{
denom: 'untrn',
Expand Down Expand Up @@ -276,7 +276,7 @@ describe('Neutron / Flashloans', () => {
const res = await neutronClient.execute(neutronFlashloansUserAddress, {
request_loan: {
flashloans_contract: neutronFlashloansAddress,
execution_mode: 3, // MODE_WITHHOLD_LOAN
execution_mode: 3, // MODE_REQUEST_ANOTHER_LOAN_RECURSIVELY
amount: [
{
denom: 'untrn',
Expand Down

0 comments on commit c091f65

Please sign in to comment.