diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-09-26 05:56:34 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-09-26 23:11:02 +0800 |
commit | f2fa5133204b6c98c67b5336e8714647147221c0 (patch) | |
tree | 055015490777b3166b53d463ac2f7d7999742541 /test | |
parent | 6a1e79a8e3fa8e8135de32b2b16eca93de5fb14c (diff) | |
download | dexon-solidity-f2fa5133204b6c98c67b5336e8714647147221c0.tar.gz dexon-solidity-f2fa5133204b6c98c67b5336e8714647147221c0.tar.zst dexon-solidity-f2fa5133204b6c98c67b5336e8714647147221c0.zip |
Add LLL tests for EXTCODEHASH
Diffstat (limited to 'test')
-rw-r--r-- | test/liblll/Compiler.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/liblll/Compiler.cpp b/test/liblll/Compiler.cpp index be798dc8..a4394f54 100644 --- a/test/liblll/Compiler.cpp +++ b/test/liblll/Compiler.cpp @@ -186,6 +186,7 @@ BOOST_AUTO_TEST_CASE(valid_opcodes_functional) "60006000600060003c", "3d", "6000600060003e", + "60003f", "600040", "41", "42", @@ -291,6 +292,7 @@ BOOST_AUTO_TEST_CASE(valid_opcodes_functional) "{ (EXTCODECOPY 0 0 0 0) }", "{ (RETURNDATASIZE) }", "{ (RETURNDATACOPY 0 0 0) }", + "{ (EXTCODEHASH 0) }", "{ (BLOCKHASH 0) }", "{ (COINBASE) }", "{ (TIMESTAMP) }", @@ -409,6 +411,7 @@ BOOST_AUTO_TEST_CASE(valid_opcodes_asm) "3c", "3d", "3e", + "3f", "40", "41", "42", @@ -547,6 +550,7 @@ BOOST_AUTO_TEST_CASE(valid_opcodes_asm) "{ (asm EXTCODECOPY) }", "{ (asm RETURNDATASIZE) }", "{ (asm RETURNDATACOPY) }", + "{ (asm EXTCODEHASH) }", "{ (asm BLOCKHASH) }", "{ (asm COINBASE) }", "{ (asm TIMESTAMP) }", |