Skip to content

Commit

Permalink
update for cancun fork
Browse files Browse the repository at this point in the history
  • Loading branch information
frangio committed Mar 13, 2024
1 parent 3ace3b6 commit 6fc60bb
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
:warning: This pattern may become unusable soon due to [EIP-4758]. See [Caveat Emptor](#caveat-emptor).
> [!WARNING]
> This pattern is no longer usable after the Cancun hard fork on Ethereum due to [EIP-6780]. See [Caveat Emptor](#caveat-emptor).
# Cacheable Beacon Proxy

Expand Down Expand Up @@ -111,10 +112,10 @@ beacon proxy.

[post on this issue by Vitalik]: https://hackmd.io/@vbuterin/selfdestruct

**Update:** As of October 2022, [EIP-4758 Deactivate SELFDESTRUCT][EIP-4758] is
being discussed for the upcoming Shanghai hard fork.
**Update:** [EIP-6780 SELFDESTRUCT only in same transaction][EIP-6780] has now
been included in Ethereum, starting with the Cancun hard fork.

[EIP-4758]: https://eips.ethereum.org/EIPS/eip-4758
[EIP-6780]: https://eips.ethereum.org/EIPS/eip-6780

Additionally, because this pattern relies on cloning bytecode from one contract
to another location, it will break some [Solidity patterns] that rely on the
Expand Down

0 comments on commit 6fc60bb

Please sign in to comment.