I am not sure why I am being told my function is not a function.
I am doing calls as I always do from the Truffle console.
pragma solidity >=0.4.22 <0.6.0;
contract store {
string public storage_;
function store_it(string memory s) public {
storage_=s;
}
}
stor = store.at(store.address)
stor.store_it("string")
TypeError: stor.store_it is not a function
What is going wrong?