Skip to content

Commit

Permalink
Update EIP-3074: clarify handling of incorrect nonce
Browse files Browse the repository at this point in the history
Merged by EIP-Bot.
  • Loading branch information
lightclient authored Apr 29, 2024
1 parent 6a0a792 commit 3b5fcad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EIPS/eip-3074.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ If `length` is greater than 97, the extra bytes are ignored for signature verifi
The arguments (`yParity`, `r`, `s`) are interpreted as an ECDSA signature on the secp256k1 curve over the message `keccak256(MAGIC || chainId || nonce || invokerAddress || commit)`, where:

- `chainId` is the current chain's [EIP-155](./eip-155.md) unique identifier padded to 32 bytes.
- `nonce` is the signer's current nonce, left-padded to 32 bytes. Any other value is considered invalid.
- `nonce` is the signer's current nonce, left-padded to 32 bytes.
- `invokerAddress` is the address of the contract executing `AUTH` (or the active state address in the context of `CALLCODE` or `DELEGATECALL`), left-padded with zeroes to a total of 32 bytes (ex. `0x000000000000000000000000AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA`).
- `commit`, one of the arguments passed into `AUTH`, is a 32-byte value that can be used to commit to specific additional validity conditions in the invoker's pre-processing logic.

Expand Down

0 comments on commit 3b5fcad

Please sign in to comment.