Upgradeable contracts on Remix

Update: I have narrowed the issue down to having the Upgradeability checkbox with Transparent checked.
When I uncheck that everything worked as expected!

I started by going to the wizard with these settings and then open in remix

Then I compile the contract and deploy it but the name doesnt work, the address is the 0x0 address the symbol doesnt work etc

The SOLIDITY STATIC ANALYSIS says that these functions take infinite gas which is confusing because when I exam them they look normal.

Any ideas what is going on?
Also, I tried flattening the contract and had the same issue. When I try a simple ERC20 token everything works as expected.

1 Like

When you use Upgradeability you need to deploy in a special way. Remix will not do that for you. Find here our resources about upgrades.

1 Like