-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
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
Emit an event on toggle function pause #297
Comments
Sovryn-smart-contracts/contracts/connectors/loantoken/LoanTokenSettingsLowerAdmin.sol Sovryn-smart-contracts/contracts/mockup/previousLoanToken/PreviousLoanTokenSettingsLowerAdmin.sol |
Adding test to check event is really emitted. Sovryn-smart-contracts/tests-js/loan-token/Administration.test.js |
Hardhat testing what events were emitted with what arguments: According to https://ethereum-waffle.readthedocs.io/en/latest/matchers.html?highlight=events#emitting-events this code should work:
But it is not! So I had to use this one:
|
After adding event, tests are not passing:
|
No description provided.
The text was updated successfully, but these errors were encountered: