pragma solidity ^0.4.19;
contract SimpleStorage {
string storedData;
function SimpleStorage (string x) public {
storedData = x;
}
function set (string x) public {
storedData = x;
}
function get () public constant returns (string) {
return storedData;
}
}
這樣才會在接下來的測試比較順遂...。
接下來到run,選擇中間的欄位,填入 :
"test"
底下也是填入 :
"test"