SHARD 2711: debugFailToCommit flag for skipping account data savings#540
SHARD 2711: debugFailToCommit flag for skipping account data savings#540S0naliThakur wants to merge 2 commits intodevfrom
Conversation
…ransaction commits for debugging purposes.
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨No code suggestions found for the PR. |
PR Type
Enhancement
Description
Added
debugFailToCommitflag to skip transaction commits for debuggingImplemented external endpoint to toggle
debugFailToCommitat runtimeUpdated transaction commit logic to respect the new debug flag
Minor formatting and initialization improvements in StateManager
Changes walkthrough 📝
TransactionQueue.ts
Add debug flag check to transaction commit logicsrc/state-manager/TransactionQueue.ts
debugFailToCommitis enabledindex.ts
Add flag and endpoint for debug transaction commit skippingsrc/state-manager/index.ts
debugFailToCommitproperty to StateManagerdebugFailToCommitvia APIstate