Upgrade Model

Glacis infrastructure contracts are all immutable. The main reasons that allow the implementation of this approach are:

  • The highly modular structure of Glacis (adapters can be updated and re-registered at any time)

  • Most of the infrastructure components are stateless, or at least stateful for a short period of time (Ex while a message is still not delivered some message information can be stored in router)

  • There is no locked value in any contract. At the same time, new features or fixes may need to be added as Glacis cannot control the GMP protocols that it adapts to, so some sort of an upgrade model is desired. Glacis' upgrade model consists of component redeployment while maintaining backward compatibility. That means that if a user is working with current Glacis Infrastructure V1 and a version V2 is deployed, users can opt to update their smart contracts' stored router and mediators addresses to the new ones if they want to leverage new features/fixes.

This table details the upgrade model for each component:

Last updated