Skip to content

Instantly share code, notes, and snippets.

@SuperCipher
Created March 21, 2022 16:14
Show Gist options
  • Save SuperCipher/b56cb8c94c797eb97f8b3aa91c329f45 to your computer and use it in GitHub Desktop.
Save SuperCipher/b56cb8c94c797eb97f8b3aa91c329f45 to your computer and use it in GitHub Desktop.
EIP-712 error
E brownie.exceptions.VirtualMachineError: revert: dev: invalid _signature
E Trace step 619, program counter 4422:
E File "contracts/exchange_presale.vy", line 204, in exchange_presale.checkSellerSignature:
E v: uint256 = convert(slice(_signature, 64, 1), uint256)
E assert ecrecover(digest, v, r, s) == _sellers_signing_account # dev: invalid _signature
E return digest
tests/test_exchange_presale.py:309: VirtualMachineError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment