Commit d4a17a3
authored
fix: undelegation exceeded computational budget (#287)
# Description
- fix: delegation exceeded computational budget
<!-- greptile_comment -->
## Greptile Summary
Increased compute budget constants in
`magicblock-accounts/src/remote_account_committer.rs` to prevent
transactions from failing during delegation operations.
- Increased `BASE_COMPUTE_BUDGET` from 60,000 to 80,000 CUs for base
transaction overhead
- Increased `COMPUTE_BUDGET_PER_UNDELEGATION` from 45,000 to 70,000 CUs
to accommodate higher computational needs during undelegation
- Maintained `COMPUTE_BUDGET_PER_COMMITTEE` at 45,000 CUs for standard
committee operations
- Integration tests in
`/test-integration/schedulecommit/test-scenarios/tests/` validate the
changes work with the new compute budgets
<!-- /greptile_comment -->1 parent e49efc1 commit d4a17a3
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | | - | |
| 382 | + | |
383 | 383 | | |
384 | | - | |
| 384 | + | |
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
| |||
0 commit comments