Add Prettier for linting and fix Solhint config (#2697)
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
This commit is contained in:
@ -22,7 +22,11 @@ contract AddressImpl {
|
||||
emit CallReturnValue(abi.decode(returnData, (string)));
|
||||
}
|
||||
|
||||
function functionCallWithValue(address target, bytes calldata data, uint256 value) external payable {
|
||||
function functionCallWithValue(
|
||||
address target,
|
||||
bytes calldata data,
|
||||
uint256 value
|
||||
) external payable {
|
||||
bytes memory returnData = Address.functionCallWithValue(target, data, value);
|
||||
emit CallReturnValue(abi.decode(returnData, (string)));
|
||||
}
|
||||
@ -38,5 +42,5 @@ contract AddressImpl {
|
||||
}
|
||||
|
||||
// sendValue's tests require the contract to hold Ether
|
||||
receive () external payable { }
|
||||
receive() external payable {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user