[isoltest] Extract event specific end-to-end tests.

This commit is contained in:
Alexander Arlt
2021-05-27 23:21:55 -05:00
parent ec86e3e9ae
commit 85e3fcb1bf
31 changed files with 471 additions and 733 deletions
@@ -0,0 +1,15 @@
contract C {
event E(uint[]);
function createEvent(uint x) public {
uint[] memory arr = new uint[](3);
arr[0] = x;
arr[1] = x + 1;
arr[2] = x + 2;
emit E(arr);
}
}
// ====
// compileViaYul: also
// ----
// createEvent(uint256): 42 ->
// ~ emit E(uint256[]): 0x20, 0x03, 0x2a, 0x2b, 0x2c