Ultimate

X_CONTRACT_EXERCISE_UNSCOPED

Means

a contract exercise could not roll back its writes

Typical cause

no database client installed and no transaction open, outside the test environment

Fix

setDbClient(<test client>) before .contract(), or run under bun test

Listed under Core and runtime

This page as markdown