proxies:upgrade-beacon
Upgrade an UpgradeableBeacon to a new implementation, upgrading every beacon proxy that points to it at once.
⚗️ Experimental — available at next.evmcrispr.com.
Supports runtime fields inside smart blocks. Use explicit @helper! expressions or captured outputs; other fields are evaluated at build time.
Syntax
Section titled “Syntax”proxies:upgrade-beacon <beacon> <to> <implementation>Arguments
Section titled “Arguments”| Name | Type | Evaluation | Description |
|---|---|---|---|
beacon | address | Runtime in smart blocks | UpgradeableBeacon address |
to | command | Build time | Keyword to |
implementation | address | Runtime in smart blocks | New implementation address |
Examples
Section titled “Examples”load proxies
set $beacon 0xabcdef0123456789abcdef0123456789abcdef01proxies:upgrade-beacon $beacon to 0x4F2083f5fBede34C2714aFfb3105539775f7FE64- Every
BeaconProxypointing at the beacon starts using the new implementation immediately. - Must be sent by the beacon's owner.
See Also
Section titled “See Also”- proxies:upgrade — upgrade transparent/UUPS proxies
- @proxies:beacon — find a proxy's beacon