mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
less invalid opcode tests
This commit is contained in:
parent
a00d05e2bb
commit
69bd72c667
@ -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--;
|
||||
|
Loading…
Reference in New Issue
Block a user