Upgrade overhead

I'm looking into using Upgrade to deploy a set of contracts I'm developing.

I'm wondering, what is the overhead of using this system?

For instance, what the impact on gas cost? Or does it preserve free read-only operations?

Anything anyone could say about it would be helpful to me. I'm currently learning more about solidity after remaining fairly surface level for a while.


1 Like

A post was split to a new topic: Subtleties of upgradeable contracts

Hi @realisation

Welcome to the community :wave:

For transactions there is a small gas overhead using functions via a proxy:

Calls (reads) are the same as with a logic contract, no charge.

I tested using a simple contract from the documentation and deployed to a public testnet.

You could do this too if you wanted:
https://docs.openzeppelin.com/sdk/2.5/first along with
Deploy to a public testnet using OpenZeppelin SDK

1 Like