I have a constructor like so:
constructor(bytes32[] proposalNames) public {
...
How do I input values for it on deplyoment with remix? I tried ["foo", "bar"]
but it said:
creation of Ballot errored: Error encoding arguments: Error: invalid
bytes32 value (arg="", coderType="bytes32", value="foo",
version=4.0.47)
Best Answer
This:
Gives:
So I believe that one of the following should work for you: