-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(generate): support whitelist
nstETH
+ !ETH
In the event that the Bootstrap contract has whitelisted `nstETH` but not `ETH`, the `nstETH` entry will only fetch the effective balance and the token price from the `ETH` entry will be missing. This commit fixes that by manually adding an `ETH` entry to the oracle state in such an event.
- Loading branch information
1 parent
e8fdc53
commit 6a270bf
Showing
1 changed file
with
24 additions
and
1 deletion.
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