diff options
author | CJentzsch <jentzsch.software@gmail.com> | 2015-01-14 16:39:21 +0800 |
---|---|---|
committer | CJentzsch <jentzsch.software@gmail.com> | 2015-01-14 16:39:21 +0800 |
commit | 69bd72c6670a2fd3b5268e4ae9ca426b823b738e (patch) | |
tree | 2eaea93e5c07e4fd3bce0b433d7058ee72039ecd | |
parent | a00d05e2bb93a21e589360b7672f62c9bc086c53 (diff) | |
download | dexon-solidity-69bd72c6670a2fd3b5268e4ae9ca426b823b738e.tar dexon-solidity-69bd72c6670a2fd3b5268e4ae9ca426b823b738e.tar.gz dexon-solidity-69bd72c6670a2fd3b5268e4ae9ca426b823b738e.tar.bz2 dexon-solidity-69bd72c6670a2fd3b5268e4ae9ca426b823b738e.tar.lz dexon-solidity-69bd72c6670a2fd3b5268e4ae9ca426b823b738e.tar.xz dexon-solidity-69bd72c6670a2fd3b5268e4ae9ca426b823b738e.tar.zst dexon-solidity-69bd72c6670a2fd3b5268e4ae9ca426b823b738e.zip |
less invalid opcode tests
-rw-r--r-- | createRandomTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/createRandomTest.cpp b/createRandomTest.cpp index 37d61fac..a913d697 100644 --- a/createRandomTest.cpp +++ b/createRandomTest.cpp @@ -73,7 +73,7 @@ int main(int argc, char *argv[]) uint8_t opcode = randGen(); // disregard all invalid commands, except of one (0x0c) - if ((dev::eth::isValidInstruction(dev::eth::Instruction(opcode)) || (randGen() > 128))) + if ((dev::eth::isValidInstruction(dev::eth::Instruction(opcode)) || (randGen() > 250))) randomCode += toHex(toCompactBigEndian(opcode)); else i--; |