ERC4973 icon indicating copy to clipboard operation
ERC4973 copied to clipboard

Failing tests: testGiveEOA() and testTakeEOA()

Open ra-phael opened this issue 3 years ago • 1 comments

I was running the tests and noticed that testTakeEOA and testGiveEOA are failing with

[FAIL. Reason: _safeCheckAgreement: invalid signature]

It seems that it's because v is missing here: https://github.com/rugpullindex/ERC4973/blob/1c8d612d78739c2f7bd8cae95be808bcbf3a1cae/src/ERC4973.t.sol#L406

I commented out the parts where the signature is checked against the hardcoded one and all the tests are passing.

ra-phael avatar Aug 23 '22 10:08 ra-phael

related: https://github.com/ethers-io/ethers.js/issues/3262

TimDaub avatar Aug 23 '22 13:08 TimDaub

I think this isn't the case anymore with us fixing https://github.com/advisories/GHSA-4h98-2769-gh6h

TimDaub avatar Jan 12 '23 11:01 TimDaub