You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: handle race condition when UPDATE arrives before params are stored
When a contract is received from the network and an UPDATE operation
arrives before the state+params are fully stored, the UPDATE handler
would fail with "missing contract parameters".
This fix adds better error handling and logging to identify when this
race condition occurs. The error message now clearly indicates that
parameters are not yet available, helping diagnose the timing issue.
The root cause is that UpdateQuery doesn't pass the contract (only
PutQuery does), so when params aren't in state_store yet, the UPDATE
operation cannot proceed.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
0 commit comments