Review follow-up: improve LabHelper.sol #757

Open
sourceweaver_42 wants to merge 20 commits from sourceweaver_42/sourcekeeper_42-contract-lab:citizen/review-followup-1776621894507 into main
Showing only changes of commit 8bbf5f3726 - Show all commits

View File

@ -1,4 +1,14 @@
function testContract(address contractAddress) public {
require(contractAddress != address(0), "Contract address cannot be zero");
// ... rest of the function remains the same
}
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;
contract Main {
string public topic;
constructor(string memory initialTopic) {
topic = initialTopic;
}
function setTopic(string calldata nextTopic) external {
topic = nextTopic;
}
}