Add test case for REVERT

This commit is contained in:
Alex Beregszaszi 2017-03-23 12:43:51 +00:00
parent bb1368137f
commit f1af1f393c
1 changed files with 8 additions and 1 deletions

View File

@ -40,7 +40,14 @@ This change has no effect on contracts created in the past.
## Test Cases
TBA
```
6c726576657274656420646174616000557f726576657274206d657373616765000000000000000000000000000000000000600052600e6000fd
```
should:
- return `726576657274206d657373616765` as `REVERT` data,
- the storage at key `0x0` should be left as unset and
- use 20024 gas in total.
## Copyright