Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Grammar Issues in EVM Opcode Documentation #365

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/opcodes/E1.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The **RJUMPI** instruction may alter the program counter with relative offset, t

## Stack input

0. `condition`: value that pop from the stack, define how program counter will altered.
0. `condition`: value that is popped from the stack, define how program counter will altered.

## Immediate argument

Expand Down
4 changes: 2 additions & 2 deletions docs/opcodes/E2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ The **RJUMPV** instruction may alter the program counter with relative offset, t

An interesting feature is that `RJUMPV 0 relative_offset` is an inverted-[RJUMPI](/#E1), which can be used in many cases instead of `ISZERO RJUMPI relative_offset`.

It offer reduced gas cost (both at deploy and execution time) and better analysis properties.
It offers reduced gas cost (both at deploy and execution time) and better analysis properties.

## Stack input

0. `case`: value that pop from the stack, used to compare with max index, and define how program counter will altered.
0. `case`: value that is popped from the stack, used to compare with max index, and define how program counter will altered.

## Immediate argument

Expand Down