I have this transparent upgradeable proxy deployed on sepolia - 0x2dFC2A866eac363cAFF516b5ce7aCd6bae1F21C1
This is the admin contract - 0x6d429719f78b146892403d06df677afa6f968d91
When I try to call the upgradeAndCall
function with the data being 0x
it reverts at some point. I'm passing the data as 0x
because I don't wanna initialize the proxy again, I am just upgrading the implementation. Reference
After the transaction failed, I tried to run a simulation in tenderly, I got to know that the error was coming from the implementation contract. Attaching the screenshot below.
As you can see, 0x577a342e99b0064ea759ca22e5630a6da20c6c5c reverts the tx, and it is the current implementation.
I am confused, what am I doing wrong with it. Any help is appreciated.
EDIT: I tried the same process in Goerli. Deployed new proxy, proxy admin, implementation, and then tried to upgrade the implementation. The result is the same.