Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

Commit 2758136

Browse files
authored
Update README.md
valid function signature needs removal of whitespace
1 parent 81e25a8 commit 2758136

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/get-started/huff-by-example/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ Functions can accept arguments to be "called" inside the macro or passed as a re
347347

348348
Several builtin functions are provided by the Huff compiler:
349349
#### `__FUNC_SIG(<func_def|string>)`
350-
At compile time, the invocation of `__FUNC_SIG` is substituted with `PUSH4 function_selector`, where `function_selector` is the 4 byte function selector of the passed function definition or string. If a string is passed, it must represent a valid function signature i.e. `"test(address, uint256)"`
350+
At compile time, the invocation of `__FUNC_SIG` is substituted with `PUSH4 function_selector`, where `function_selector` is the 4 byte function selector of the passed function definition or string. If a string is passed, it must represent a valid function signature i.e. `"test(address,uint256)"`
351351

352352
#### `__EVENT_HASH(<event_def|string>)`
353353
At compile time, the invocation of `__EVENT_HASH` is substituted with `PUSH32 event_hash`, where `event_hash` is the selector hash of the passed event definition or string. If a string is passed, it must represent a valid event signature i.e. `"TestEvent(uint256, address indexed)"`

0 commit comments

Comments
 (0)