MathisGD

Results 29 issues of MathisGD

Fixes #37, by assuming that the fuzzed address `caller` is different than `0x00a329c0648769A73afAc7F9381E08FB43dBEA72` which is the default `tx.origin` of forge, instead of `address(this)`. Side note: All fuzzing tests has been...

https://github.com/pentagonxyz/huffmate/blob/6798bcc97026e69ff0c4bb3e0c914d2bbcb8ba7c/test/auth/OnlyContract.t.sol ```solidity /// @notice Tests that ONLY_CONTRACT macro reverts when tx.origin == msg.sender function testOnlyContract(address caller) public { vm.assume(caller != address(this)); // Should revert when tx.origin == msg.sender // vm.startPrank(address,address)...

https://github.com/compound-finance/compound-protocol/blob/a3214f67b73310d547e00fc578e8355911c9d376/contracts/DAIInterestRateModelV3.sol#L17 The average number of second between each block used here is 15, while since the Merge, the it is now stable at 12 seconds. This means that the supply...

It seems that jtriley-eth's style guide (https://github.com/jtriley-eth/huff-style-guide) is not followed across the whole codebase. Is it something that should be fixed ? _Originally posted by @MathisGD in https://github.com/huff-language/huffmate/pull/129#discussion_r1252659896_

### Issue When two macros with the same name are defined in file (or imported file), the compiler does not throw anything. It doesn't look desirable, because it's not even...

parser
bug
good first issue

https://github.com/transmissions11/solmate/blob/fadb2e2778adbf01c80275bfb99e5c14969d964b/src/utils/SignedWadMath.sol#L106 I think that this function is not tested at all.

https://github.com/cantinasec/review-morpho/issues/18#issuecomment-1976019504