-
Notifications
You must be signed in to change notification settings - Fork 322
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
contracts: economic simulation: Get hints from contracts in advance
Still keeping the local order to use it as approx hints. But calling `findInsertPosition` before as a static call, to avoid the trove operation reverting if the hints were not correct. The local order is only based on target CR, but not update with trove adjustments, so it’s approximate.
- Loading branch information
Showing
1 changed file
with
17 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters