PatrickAlphaC / storage-factory-fcc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting error while using sf store function

abdulsami786 opened this issue · comments

image

I am running the same code as given in github but after deploying I m not getting any error and even after I provide sfstore function value at 0 index it is running properly as I change the index it is showing error.

The transaction has been reverted to the initial state.
Note: The called function should be payable if you send value and the value you send should be less than your current balance.

okay I got the mistake, every time I have to deploy new contract to save value at different index