Using Remix, I can't pass a set of bytes ["0xee", "0xff", "0xgg", "0xhh", "0xii"]
to my function
function foo(bytes5 input) {
// Do something
}
I've already tried all these formats:
["0xee", "0xff", "0xgg", "0xhh", "0xii"]
["0xeeffgghhii"]
["0xee0xff0xgg0xhh0xii"]
"0xeeffgghhii"
"0xee0xff0xgg0xhh0xii"
[["0xee"], ["0xff"], ["0xgg"], ["0xhh"], ["0xii"]]
"0xee", "0xff", "0xgg", "0xhh", "0xii"
The IDE always raises the same error or says (legitimately) that the number of arguments doesn't match with my function:
Error encoding arguments: Error: invalid bytes5 value (arg="", type="object", value=undefined)
As you can see I already tried the solutions suggested here and here, how should I do it?
Thanks in advance!