If I have a contract that consist of a mapping and I want to interact with this mapping in another contract, which is inheriting the previous contract.
- Should I then make sure to mark the mapping as 'internal' or don't give it any visibility at all?
I often see following mapping being inherited and interacted with by another contract but it never has any visibility specified.
mapping(address => uint256) balances;
Shouldn't it be
mapping(address => uint256) internal balances;
Thanks!