This repository has been archived by the owner on Mar 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #537 from keep-network/log-refactor
DepositLog refactor - Fix `TBTCDepositToken` shadow by removing `TBTCSystem`'s copy - Now `TBTCSystem` uses the one inherited from `DepositLog`. - Remove return value from logging functions. - Return values were not used. - Logging functions now revert if `approvedToLog` fails. - Returning true/false allowed for non-halting logging fail. Events would not be emitted but the `Deposit` contract would continue to function. It seems that this is not a real benefit. If `approvedToLog` fails, the logging function is not called by the `Deposit` contract and it makes sense to revert.
- Loading branch information
Showing
4 changed files
with
120 additions
and
107 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
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
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
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