Skip to content

Commit

Permalink
fix: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
mfw78 committed Oct 1, 2023
1 parent 4ebc312 commit bee4616
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/types/twap/TWAP.sol
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ contract TWAP is BaseConditionalOrder {
/**
* @inheritdoc IConditionalOrder
*/
function validateData(bytes memory data) external override pure {
function validateData(bytes memory data) external pure override {
TWAPOrder.validate(abi.decode(data, (TWAPOrder.Data)));
}

}
4 changes: 1 addition & 3 deletions test/ComposableCoW.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ contract ComposableCoWTest is BaseComposableCoWTest {
}

function test_setRootWithContext_FuzzSetAndEmit(address owner, bytes32 root, bytes32 data) public {
_setRootWithContext(
owner, root, emptyProof(), testContextValue, abi.encode(data)
);
_setRootWithContext(owner, root, emptyProof(), testContextValue, abi.encode(data));
}

/**
Expand Down

0 comments on commit bee4616

Please sign in to comment.