In Solidity, let's say there are two contracts A and B with the same code as in the following example. By the way, do they return the same bytes32 value when retrieving ROLE? Why do we use keccak256 if they do?
// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
contract Role {
bytes32 public constant ROLE = keccak256("UNIQUE_ROLE");
}