Skip to content

Commit

Permalink
remove duplicated error in mock fill contracts (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongeric authored Aug 21, 2023
1 parent c478e24 commit 08a7b71
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions test/util/mock/MockFillContract.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ import {IReactorCallback} from "../../../src/interfaces/IReactorCallback.sol";
contract MockFillContract is IReactorCallback {
using CurrencyLibrary for address;

/// @notice thrown if native transfer fails to the reactor
error NativeTransferFailed();

IReactor immutable reactor;

constructor(address _reactor) {
Expand Down
3 changes: 0 additions & 3 deletions test/util/mock/MockFillContractDoubleExecution.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ import {IReactorCallback} from "../../../src/interfaces/IReactorCallback.sol";
contract MockFillContractDoubleExecution is IReactorCallback {
using CurrencyLibrary for address;

/// @notice thrown if native transfer fails to the reactor
error NativeTransferFailed();

IReactor immutable reactor1;
IReactor immutable reactor2;

Expand Down
3 changes: 0 additions & 3 deletions test/util/mock/MockFillContractWithOutputOverride.sol
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ contract MockFillContractWithOutputOverride is IReactorCallback {
uint256 outputAmount;

IReactor immutable reactor;
/// @notice thrown if native transfer fails to the reactor

error NativeTransferFailed();

constructor(address _reactor) {
reactor = IReactor(_reactor);
Expand Down

0 comments on commit 08a7b71

Please sign in to comment.