Skip to content

tests fix #1

@SantiagoGregory

Description

@SantiagoGregory

The issue in testFlow() is that the pranks aren't handled correctly. Just switch to this and it passes:

        vm.startPrank(alice);
        pool.withdraw(pool.QUOTE_INDEX(), uint32(quoteAmount));
        vm.stopPrank();
        
        vm.startPrank(bob);
        pool.withdraw(pool.BASE_INDEX(), uint32(baseAmount));
        vm.stopPrank();
  

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions