This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Description
The error was caused due to the following line of code. I'm using solidity version ^0.8.0 and i was getting that error because requests Array is dynamic and we're trying to access it's index that doesn't even exist.
Request storage r = requests[numRequests++];
fix :
Request storage r = requests.push();
Thanks for detailed explanation btw I got stuck for a while finding the correct version of the code.