test: run each iter for a diff user
@@ -76,7 +76,6 @@ def test_bridge_vault(vault):
slippage = .03
amount = 1 * 10**8
- account = accounts[10]
v = vault["address"]
if v == AddressZero:
@@ -99,7 +98,8 @@ def test_bridge_vault(vault):
)
# TODO: Can interleave these mints/burns.
- for i in range(0, 3):
+ for i in range(10, 13):
+ account = accounts[i]
balanceBefore = interface.IERC20(v).balanceOf(account)
bridge.adapter.mint(
@@ -172,7 +172,8 @@ def test_bridge_basic():
slippage,
)
- account = accounts[10]
+ for i in range(10, 13):
+ account = accounts[i]
balanceBefore = interface.IERC20(wbtc).balanceOf(account)
# Test mints
bridge.adapter.mint(
