Commit f47232f
authored
Fix: SmartTransactionsController
* fix: set smartTransactionsState > persist equal to `true`
* feat: enable persistence for SmartTransactionsController state
SmartTransactionsController state now persisted across browser sessions by setting `persist: true` in `controllerMetadata`.
Changes:
- Set `persist: true` in SmartTransactionsController metadata
- Add `updateState` public method for testing
- Add test verifying state persistence between controller instances
- Update initialization test to verify persistence enabled
This allows features like migration scripts to access historical smart transaction data after browser restarts.
* fix: remove attempt at testing
* fix: remove `updateState`state should persist (#493)1 parent c662316 commit f47232f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
0 commit comments