Closed CryptoUncleSam closed 2 months ago
It should retry 5 times for the last transaction and also confirm it too:
Maybe it somehow got confirmed incorrectly?
I see! For me basically for last tx the terminal says upgrade successfully but there's no confirm/fail going thru. Even if I click the pop up with the tx. Explorer just say tx doesn't exist
I think confirming the transaction is unreliable and sometimes returns false positives. https://github.com/solana-playground/solana-playground/commit/99a355ff0def83b1997542dd0535555072bf218b should fix it:
Closing, feel free to reopen if the problem continues. Thanks for the report!
it worked correctly now! I was able to upgrade
When trying to upgrade a program on mainnet it send and retries all tx to write the buffer (everything good here) but the final tx for
Bpf-Upgradeable-Loader: Upgrade
is only sent once and is not confirming that actually is landing or confirmed so it end up saying Upgrade/Deploy success when is not true so should have kind of same logic of txs of writings buffer to retry till actually is confirmed.