I tried to insert two entries of identical keys into a map for testing.
The map seems to reject the later entry and preserves the original entry.
Is this just Solidity behaving normally? (If it is not, then it means something is wrong with my code.)
I read somewhere that HashMaps are meant to overwrite any entries when inserting a duplicate key.
Are hash maps in solidity designed to handle data differently? What is it meant to do when encountering a duplicate key entry?
Solidity documentation doesn't seem to dig too deep into this.