Skip to content

Geth js console not parsing a string #710

@joeykrug

Description

@joeykrug

So I have a contract with a function and signature:
def createEvent(branch, description:str, expDate, minValue, maxValue, numOutcomes):

Then I try to call this function using geth console:
contract.call({"from": coinbase}).createEvent(1010101, "test", 97000, 0, 1, 2).toNumber();

And I get the following error:
parser does not support type: string at <unknown> at <unknown> at <unknown> at <unknown> at createEvent (<anonymous>:-10733:-91) at <anonymous>:1:1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions