I want to create a contract with a hardcoded bytes variable.
contract Test(){
function Test(){
bytes x = 0x..... //greater than 32 bytes
}
}
The above returns a Type int_const not implicitly convertible to expected type bytes storage pointer
error.
Best Answer
Tested using online Solidity Browser, output is: