Skip to content
Playground(another site)

bynk.revert.contract_skew

Error bynk revert refused because the target's contracts would no longer match another live Worker, judged as if every selected Worker were reverted together.

Contexts call each other under contract hashes. Reverting one Worker can leave it expecting, or providing, a contract that another live Worker does not, and the runtime would refuse the calls. The check judges the result as if every selected Worker were reverted together, using the post-revert lock. Revert the whole project, or redeploy forward. See bynk.deploy.contract_skew for the same skew at deploy time.

Example

bynk revert --dry-run --context shop.orders
contracts shop-orders refused: the target no longer matches shop-payment
bynk revert # the whole project, so the contexts revert together

In the Book

See also

  • Every code in its category, Other, on the diagnostic index.
  • bynk explain bynk.revert.contract_skew shows the same from the installed toolchain, without a network.