Difficulty -
Medium
Total Plays - 2
Allowed Time - 10 sec
Best time - 10 sec
What does “state shadowing” indicate in inheritance?
#A
#B
#C
#D
Explanation:
State shadowing happens when a derived contract redeclares a state variable with the same name as a parent. This creates storage misalignment and unexpected slot overwrites. Auditors treat this as a major upgradeability and correctness risk.