I have detected a typo in a variable name of an event in my solidity code of an upgradeable contract. I corrected it and triggered a truffle upgrade.
However, according the log, I only see that the upgrade was done (proxy) but not the deployment of the new contract with the correct variable name of the event.
How can I force to upgrade the new code?
Deploying 'Migrations'
----------------------
> transaction hash: 0x3e891271226003753deab79de7059f9650ce8968fa0f98da9d070766aa96ba9csage.
> Blocks: 2 Seconds: 20
> contract address: 0x6Bdc1bf382d38A8c5Bd27bc1b2CDC0be0647e985
> block number: 15845910
> block timestamp: 1666952303
> account: 0x1272c99bEFa7a70f935Edca81BF9a6E85C6D9D59
> balance: 0.250113150670629384
> gas used: 155222 (0x25e56)
> gas price: 22.07494888 gwei
> value sent: 0 ETH
> total cost: 0.00342651771505136 ETH
<MISSING CONTRACT DEPLOYMENT HERE>
Upgraded 0x7f1f39f2f601189EDf83A40Cd9092D9C87C66a0C
> Saving migration to chain.
> Saving artifacts
-------------------------------------
> Total cost: 0.00342651771505136 ETH
And I did a etherscan verify after the upgrade, however, the typo, i.e., the old source code is still there.