Commit 1f92c390 authored by Mark Tyneway's avatar Mark Tyneway

contracts-bedrock: fix compiler warning

Adds a `pure` modifier to a test contract's method
to silence a compiler warning.
parent 09d23ee8
...@@ -92,7 +92,7 @@ contract ExternalRelay is CommonTest { ...@@ -92,7 +92,7 @@ contract ExternalRelay is CommonTest {
/** /**
* @notice Helper function to get the callData for an `externalCallWithMinGas * @notice Helper function to get the callData for an `externalCallWithMinGas
*/ */
function getCallData() public returns (bytes memory) { function getCallData() public pure returns (bytes memory) {
return abi.encodeWithSelector(ExternalRelay.externalCallWithMinGas.selector); return abi.encodeWithSelector(ExternalRelay.externalCallWithMinGas.selector);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment