Skip to content

Commit

Permalink
Revert "fix: fix usdb l2 bridge signature (#554)"
Browse files Browse the repository at this point in the history
This reverts commit 73844b1.
  • Loading branch information
mrice32 committed Jul 17, 2024
1 parent 9be0637 commit ad16e36
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions contracts/Blast_SpokePool.sol
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,6 @@ interface IBlast {
function claimMaxGas(address contractAddress, address recipientOfGas) external returns (uint256);
}

interface IUSDBL2Bridge {
function bridgeERC20To(
address _localToken,
address _remoteToken,
address _to,
uint256 _amount,
uint32 _minGasLimit,
bytes calldata _extraData
) external;
}

/**
* @notice Blast Spoke pool.
*/
Expand Down Expand Up @@ -141,7 +130,7 @@ contract Blast_SpokePool is Ovm_SpokePool {
}
// If the token is USDB then use the L2BlastBridge
if (l2TokenAddress == USDB) {
IUSDBL2Bridge(L2_BLAST_BRIDGE).bridgeERC20To(
IL2ERC20Bridge(L2_BLAST_BRIDGE).bridgeERC20To(
l2TokenAddress, // _l2Token. Address of the L2 token to bridge over.
L1_USDB,
hubPool, // _to. Withdraw, over the bridge, to the l1 pool contract.
Expand Down

0 comments on commit ad16e36

Please sign in to comment.