Skip to content

Commit

Permalink
Clean up log event to be a no-op. (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
adlerjohn authored Feb 12, 2021
1 parent 49aae62 commit 72704b2
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions specs/opcodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -639,15 +639,13 @@ If `$rt > CONTRACT_MAX_SIZE`, revert instead.

### LOG: Log event

| | |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Description | Takes `$rs` and `$rt` register values and records a log entry with no topics based on the memory offset of the `$rs` value, with a length given by the `$rt` value. |
| Operation | ```$log.push(':' + MEM[$rs, $rt]);``` |
| Syntax | `log $rs, $rt` |
| Encoding | `0x00 rs rt - -` |
| Notes | |

<!--TODO-->
| | |
| ----------- | ------------------------------ |
| Description | Log an event. This is a no-op. |
| Operation | ```log($rs, $rt, $ru, $rv);``` |
| Syntax | `log $rs, $rt, $ru, $rv` |
| Encoding | `0x00 rs rt ru rv` |
| Notes | |

### REVERT: Revert

Expand Down

0 comments on commit 72704b2

Please sign in to comment.