- Git clone this repo with --recursive
- run
build.sh
to build ENI and SkyPat - Download
lityc
and put it in this directory - Build evm with
--inputfile
support (make -C lityvm evm
).
See evmtests/
APIs are likely to change.
- Get string
- Get array object by index
- Get object attribute by key (string)
- Nested arrays & objects
- Strings with unicode escape sequences, such as
"\u0068\u0065\u006c\u006c\u006f"
python3 -m unittest discover -s evmtests -t .
- copy
lity/json.lity
to the same directory oftest.lity
so it can be imported - run
python3 run.py path/to/test.lity path/to/input.json