Skip to content

Commit

Permalink
3074: use only 1 byte for v value
Browse files Browse the repository at this point in the history
  • Loading branch information
lightclient committed Nov 27, 2023
1 parent 818d85f commit 4361661
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions EIPS/eip-3074.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ A new opcode `AUTH` shall be created at `0xf6`. It shall take three stack elemen

The final two stack arguments (`offset` and `length`) describe a range of memory. The format of the contents of that range is:

- `memory[offset : offset+32 ]` - `yParity`
- `memory[offset+32 : offset+64 ]` - `r`
- `memory[offset+64 : offset+96 ]` - `s`
- `memory[offset+96 : offset+128]` - `commit`
- `memory[offset : offset+1 ]` - `yParity`
- `memory[offset+32 : offset+33]` - `r`
- `memory[offset+64 : offset+65]` - `s`
- `memory[offset+96 : offset+97]` - `commit`

#### Output

Expand All @@ -88,7 +88,7 @@ Memory is not modified by this instruction.

#### Behavior

If `length` is greater than 128, the extra bytes are ignored for signature verification (they still incur a gas cost as defined later). Bytes outside the range (in the event `length` is less than 128) are treated as if they had been zeroes.
If `length` is greater than 97, the extra bytes are ignored for signature verification (they still incur a gas cost as defined later). Bytes outside the range (in the event `length` is less than 97) are treated as if they had been zeroes.

`authority` is the address of the account which generated the signature.

Expand Down

0 comments on commit 4361661

Please sign in to comment.