Skip to content

Commit

Permalink
Update upgrades.adoc
Browse files Browse the repository at this point in the history
  • Loading branch information
comfsrt authored Feb 10, 2025
1 parent 30a5e7f commit 12e3cac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/api/upgrades.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ NOTE: The function call comes from the upgraded contract itself and not the acco

NOTE: A similar behavior to `upgrade_and_call` can also be achieved with a list of calls from an account since the {snip6} account standard supports multicall.
An account can execute a list of calls with xref:IUpgradeable-upgrade[upgrade] being the first element in the list and the extra function call as the second.
With this approach, the calls will execute from the account's context and can't be front-run.
With this approach, the calls will execute from the account's context and can't be front-ran.

Emits an {Upgraded} event.

Expand Down

0 comments on commit 12e3cac

Please sign in to comment.