Skip to content

Commit d4861a1

Browse files
committed
fix: resolve warning 3628
1 parent c6e4286 commit d4861a1

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

foundry.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ remappings = [
1616
'forge-std/=lib/forge-std/src/',
1717
]
1818
ignored_error_codes = [
19-
3628, # https://github.com/argotorg/solidity/issues/10159
2019
]
2120

2221
[lint]

test/Init.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ contract InitTest is Test {
6565
}
6666
}
6767

68-
fallback() external payable {
68+
receive() external payable {
6969
assembly ("memory-safe") {
7070
mstore(0, sload(0))
7171
return(0, 32)

0 commit comments

Comments
 (0)