cairo-contracts icon indicating copy to clipboard operation
cairo-contracts copied to clipboard

Migrate Proxy contract

Open martriay opened this issue 2 years ago • 1 comments

martriay avatar Jun 19 '23 04:06 martriay

This issue is currently stalled due lack of a fallback function mechanism -- key to implement any kind of proxy.

This is because in Starknet two of the main use cases of proxies are covered by other mechanisms:

  • upgrades are achieved through the replace_class syscall
  • clones are how most contracts already work: contracts are instances of a class hash

I think there's still arguments to have proxies in Starknet. Beacon Proxies are an example, but novel use cases may also appear.

In any case, we can't move forward with this issue until fallback functions are supported in Starknet.

martriay avatar Jul 25 '23 12:07 martriay

Closing because we won't have a callback function. I still think at least Beacon Proxies might be helpful. We will open an issue for it if we find demand.

ericnordelo avatar Nov 12 '25 19:11 ericnordelo