Commit 7e1361b
feat: add initializeV2 reinitializer for upgrade migration
Address review feedback: totalAgentBalances must be initialized
when upgrading from V1 to prevent withdrawal underflow and
emergencyWithdraw bypass.1 parent 3224c6b commit 7e1361b
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
140 | 150 | | |
141 | 151 | | |
142 | 152 | | |
| |||
0 commit comments