-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* In slither.db.json - updated via slither's triage-mode, but something's bonkers about slither and sometimes things stay ignored, sometimes they don't. Also just running it in normal mode several times will give different results. Therefore, I have no confidence that we'll ever get it to totally shut up, and we should just consider it helpful guide, and not like code coverage output which can eventually reach 100% * In BosonRouter.sol, - removed a lot of whitespace - added virtual keyword to requestCreateOrderETHETH method, so it can be overriden by MockBosonRouter.sol - added nonReentrant modifier to methods: - requestCreateOrderTKNTKNWithPermit - requestCreateOrderTKNTKNWithPermitConditional - requestCreateOrderETHTKNWithPermit - requestCreateOrderETHTKNWithPermitConditional - requestCreateOrderTKNETH - requestCreateOrderTKNETHConditional - removed nonReentrant modifier from requestCreateOrderTKNETHInternal method, which is internal and the modifier has already been invoked on all callers. * In Cashier.sol, - added nonReentrant modifier to methods: - onERC721Transfer - onERC1155Transfer * In DAITokenWrapper.sol, - imported and extended ReentrancyGuard - added nonReentrant modifier to methods: - permit * In ERC1155ERC721.sol, - imported and extended ReentrancyGuard - added nonReentrant modifier to methods: - safeTransferFrom - _transferFrom * In MockBosonRouter.sol, - removed all imports except BosonRouter - extended BosonRouter - added constructor that passes its args to BosonRouter - removed all functions except - requestCreateOrderETHETH (which sends an invalid payment type to requestCreateOrder for a specific test) - transferFromAndAddEscrowTest * In VoucherKernel.sol, - imported and extended ReentrancyGuard - added nonReentrant modifier to methods: - fillOrder - cancelOrFaultVoucherSet This fixes #177
- Loading branch information
Showing
7 changed files
with
114 additions
and
1,220 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.