Skip to content

Commit

Permalink
Merge pull request #61 from indeqs/master
Browse files Browse the repository at this point in the history
Update use-of-deprecated-functions.md
  • Loading branch information
kadenzipfel authored Jun 6, 2024
2 parents 0e49f0d + a1f6992 commit 190fe41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vulnerabilities/use-of-deprecated-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Here is a *non-exhaustive* list of deprecated functions and alternatives. Many a

| Deprecated | Alternatives |
| :---------------------- | ------------------------: |
| `suicide(address)` | `selfdestruct(address)` |
| `suicide(address)`/`selfdestruct(address)` | N/A |
| `block.blockhash(uint)` | `blockhash(uint)` |
| `sha3(...)` | `keccak256(...)` |
| `callcode(...)` | `delegatecall(...)` |
Expand All @@ -18,4 +18,4 @@ Here is a *non-exhaustive* list of deprecated functions and alternatives. Many a
### Sources

- https://swcregistry.io/docs/SWC-111
- https://github.com/ethereum/solidity/releases
- https://github.com/ethereum/solidity/releases

0 comments on commit 190fe41

Please sign in to comment.