I have bytes32 data which needs to be converted into a string, then use to get value from mapping(string => string)
Trying to convert bytes32 to string using : string(abi.encodePacked(temp))
It is working fine:
Mapping contains key value pair : "har0 => "hello"
But when I uses the same string(converting from bytes32) in mapping to get the value, it doesn't gives value.