We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When i try to deal sUSD via deal(0x8c6f28f2F1A3C87F0f938b96d27520d9751ec8d9, user, 1 ether); on optimism foundry crashes with
deal(0x8c6f28f2F1A3C87F0f938b96d27520d9751ec8d9, user, 1 ether);
[FAIL. Reason: stdStorage find(StdStorage): Packed slot. This would cause dangerous overwriting and currently isn't supported.]
Seems a bit similar, but probably different:
deal
balanceOf
The text was updated successfully, but these errors were encountered:
Getting the same error when SNX, guessing this is a problem with any of their tokens. Any solution found for this?
Sorry, something went wrong.
For now we overwrite deal and for selected tokens, mock a whale and transfer instead of deal 😅
@adamxyzxyz @sakulstra
Here's the solution we are using for minting sUSD in tests:
https://github.com/synapsecns/synapse-contracts/blob/4b2858a5f7aa3bed6c5c184ae1fe59c2730274ef/test/interfaces/ISynth.sol#L1-L13
No branches or pull requests
When i try to deal sUSD via
deal(0x8c6f28f2F1A3C87F0f938b96d27520d9751ec8d9, user, 1 ether);
on optimism foundry crashes withSeems a bit similar, but probably different:
deal
does not work on Aave's aTokens or other tokens that perform computation inbalanceOf
#140The text was updated successfully, but these errors were encountered: