OpenZeppelin / openzeppelin-sdk

OpenZeppelin SDK repository for CLI and upgrades.js. No longer actively developed.
MIT License
432 stars 200 forks source link

Support easy recovery for deploy and upgrade during network congestion #1577

Open abcoathup opened 4 years ago

abcoathup commented 4 years ago

Ideally there would be support for easy recovery for deploy and upgrade during network congestion.

deploy requires 3 transactions, upgrade 2 transactions.
During network congestion, transactions can quickly be underpriced resulting in delays for transactions to be added to blocks resulting in timeouts.

Configuration either needs to be manually edited to add contract details once transactions are mined and then the process restarted to continue where it left off or the whole process retried.

Recent examples in the forum include:

frangio commented 4 years ago

This situation is better supported by the OpenZeppelin Upgrades plugins since deployments are stored in the file system even if the transaction times out, and a subsequent run of the plugin will resume waiting until the transaction mines rather than sending it again.