// SPDX-License-Identifier: MIT pragma solidity ^0.8.28; contract Counter { uint256 public x; function inc() public { x++; } function incBy(uint256 by) public { require(by > 0, "incBy: increment should be positive"); x += by; } }