Skip to content

Commit 9a5fc66

Browse files
extend test to validate fix
1 parent 08ca4f0 commit 9a5fc66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/solidity/values/events.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
contract EventAssert {
22
bytes32 private hash;
3-
event Secret(bytes32);
3+
event Secret(uint256, string, bytes32);
44
function reset(uint seed) public {
55
require(hash == 0);
66
bytes32 secret = keccak256(abi.encodePacked(seed));
7-
emit Secret(secret);
7+
emit Secret(1, "abc", secret);
88
hash = keccak256(abi.encodePacked(secret));
99
}
1010
function check(bytes32 seed) public {

0 commit comments

Comments
 (0)