// SPDX-License-Identifier: MIT
pragma solidity >=0.7.0;
contract OVMContextStorage {
mapping (uint256 => uint256) public blockNumbers;
mapping (uint256 => uint256) public timestamps;
uint256 public index = 0;
fallback() external {
blockNumbers[index] = block.number;
timestamps[index] = block.timestamp;
index++;
}
}
-
Mark Tyneway authored
* integration tests: ovm context * integration tests: add changeset
6bcf22ba