Skip to content

Commit

Permalink
integration tests passing
Browse files Browse the repository at this point in the history
  • Loading branch information
proletesseract committed Nov 13, 2023
1 parent 0061c76 commit d2127d3
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,13 @@ contract RootERC20BridgeWithdrawIntegrationTest is

// Need to first map the token.
rootBridgeFlowRate.mapToken{value: 1}(token);
//Need to setup the flowRate
rootBridgeFlowRate.setRateControlThreshold(address(token), 1000 ether, 100 ether, 10 ether);
rootBridgeFlowRate.setRateControlThreshold(IMX_TOKEN_ADDRESS, 1000 ether, 100 ether, 10 ether);
// And give the bridge some tokens
token.transfer(address(rootBridgeFlowRate), 100 ether);
imxToken.transfer(address(rootBridgeFlowRate), 100 ether);

}

function test_RevertsIf_WithdrawWithInvalidSourceChain() public {
Expand Down

0 comments on commit d2127d3

Please sign in to comment.