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)
foo
andbar
aren'tbytes32
arguments. Use something like:["0x0000000000000000000000000000000000000000000000000000000000000001","0x0000000000000000000000000000000000000000000000000000000000000002"]