You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While Note and Voice are singleton contracts per a link (chainA -> ChainB) and they can be migrated when needed in one "cheap" action, proxy contracts are created per account used, so those cannot be migrated in 1 action without unreasonable gas fee.
While at the moment proxy contracts are simple and probably will not contain any major upgrades/migrations in the near future, there might come a point in time we will need to consider it.
One way of doing this is to add logic to Voice where it does a check if account/proxy needs an upgrade, if it does, it first does the migration of the account, and only then dispatch the msgs, this ensures the migrations of the proxy only happens on active accounts and reduce "expenses" to bare minimum.
The text was updated successfully, but these errors were encountered:
Context discussion here
While Note and Voice are singleton contracts per a link (chainA -> ChainB) and they can be migrated when needed in one "cheap" action, proxy contracts are created per account used, so those cannot be migrated in 1 action without unreasonable gas fee.
While at the moment proxy contracts are simple and probably will not contain any major upgrades/migrations in the near future, there might come a point in time we will need to consider it.
One way of doing this is to add logic to Voice where it does a check if account/proxy needs an upgrade, if it does, it first does the migration of the account, and only then dispatch the msgs, this ensures the migrations of the proxy only happens on active accounts and reduce "expenses" to bare minimum.
The text was updated successfully, but these errors were encountered: