Unable to update lock within the stale threshold

Hi @hadoanngoc, a possible workaround may be to use the upcoming validateImplementation and validateUpgrade functions that were proposed in this feature when that becomes available, and then performing the actual contract deployments separately using standard Hardhat or Truffle functions.

But for the particular issue that you are encountering, could you please provide the information listed in this post so that we can investigate further?

Hi all, I also ran into this issue today, the reason was I was trying to upgrade the contract where I was changing the role in the onlyRole modifier of a function, but it does not allow that. I reverted that and tried upgrading with other changes it worked.