Skip to content

Commit

Permalink
Update use-of-deprecated-functions.md
Browse files Browse the repository at this point in the history
indeqs authored Jun 2, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent bedc4dc commit 92a5dee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vulnerabilities/use-of-deprecated-functions.md
Original file line number Diff line number Diff line change
@@ -6,7 +6,6 @@ Here is a *non-exhaustive* list of deprecated functions and alternatives. Many a

| Deprecated | Alternatives |
| :---------------------- | ------------------------: |
| `suicide(address)` | `selfdestruct(address)` |
| `block.blockhash(uint)` | `blockhash(uint)` |
| `sha3(...)` | `keccak256(...)` |
| `callcode(...)` | `delegatecall(...)` |
@@ -18,4 +17,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 92a5dee

Please sign in to comment.