aboutsummaryrefslogtreecommitdiffstats
path: root/test/liblll/Compiler.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-09-28 07:04:40 +0800
committerGitHub <noreply@github.com>2018-09-28 07:04:40 +0800
commitc4b5101b9d8337069c495b95b04a420e2665aa2d (patch)
tree7348765fe7db6c74a8003dc8a972e477fa30fe41 /test/liblll/Compiler.cpp
parentf36dee1067f09e2a6e5ec0dc5996e19e5f36c8bd (diff)
parent8d8c855810ed51d17cab679cd89f7a75410a4258 (diff)
downloaddexon-solidity-c4b5101b9d8337069c495b95b04a420e2665aa2d.tar.gz
dexon-solidity-c4b5101b9d8337069c495b95b04a420e2665aa2d.tar.zst
dexon-solidity-c4b5101b9d8337069c495b95b04a420e2665aa2d.zip
Merge pull request #4676 from jwasinger/extcodehash
Add support for EXTCODEHASH
Diffstat (limited to 'test/liblll/Compiler.cpp')
-rw-r--r--test/liblll/Compiler.cpp4
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) }",