Skip to content

Commit f2ed516

Browse files
authored
Fix comment
Updated the IDemo interface to include a new notice for the echo function.
1 parent dd2ed54 commit f2ed516

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runtime/src/IDemo.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ address constant DEMO_PRECOMPILE_ADDRESS = address(0xB0000);
99
/// @dev Documentation:
1010
/// @dev - ink! Contract calling this interface: https://github.com/use-ink/ink-examples/precompile-demo
1111
interface IDemo {
12-
/// @notice Estimates the `Weight` required to execute a given XCM message.
12+
/// @notice Simple echo function.
1313
/// @param mode The value `0` causes the `echo` function to revert.
1414
/// @return If `mode > 0`, the input `message` is echoed back to the caller.
1515
function echo(uint8 mode, bytes message) external view returns (bytes);
16-
}
16+
}

0 commit comments

Comments
 (0)