This PR adds run_syscall to the interpreter, so that any opcode can be tested. The todos were replaced by a syscall, since the remaining opcodes corresponded to syscalls. This PR also adds one test for SLOAD and one for SSTORE.
We noticed that the gas is not charged in the opcodes that were implemented individually, and I think this should be done in another PR since that would enable us to also check gas updates and have comprehensive testing (I also believe exceptions are missing and should probably be added).
Please let me know what you think of these changes!
This PR adds
run_syscall
to the interpreter, so that any opcode can be tested. The todos were replaced by a syscall, since the remaining opcodes corresponded to syscalls. This PR also adds one test forSLOAD
and one forSSTORE
.We noticed that the gas is not charged in the opcodes that were implemented individually, and I think this should be done in another PR since that would enable us to also check gas updates and have comprehensive testing (I also believe exceptions are missing and should probably be added).
Please let me know what you think of these changes!