status-go/t/devtests/eventer/eventer.sol
Dmitry Shulyak 29b55bd445
Add local implementation of the newFilter call using remote getLogs call (#1235)
* Implement subscriptions and filtering

* Add e2e test with log filter polling logs from EVM with clique backend

* Apply review comments

* Move devnode to t/devtests to avoid cycle in imports
2018-10-23 08:11:11 +03:00

19 lines
280 B
Solidity

pragma solidity ^0.4.21;
contract Eventer {
int public crt;
event Message(
bytes32 indexed topic,
int indexed crt
);
constructor() public {}
function emit(bytes32 topic) public {
crt += 1;
emit Message(topic, crt);
}
}