Open tenelmike opened 2 years ago
cc @RazorSiM, I think that it is actually a problem with gas estimation that on ganache is problematic, we had the same exact problem on kovan, goerli on other hand is way more stable. It should be a problem only on Potion purchase IIRC, Pools should be completely unaffected by this issue and it is "solvable" trying a couple of times to purchase.
The error is this one: Premium higher than max.
I think it's a router/pools problem.
I was doing the manual testing and had this error happen so I was just putting it in github so it's not lost. This is with the current develop branch: commit a0998133f209ad653bb83268e6b04f5757918053
When I went to buy a potion with an exp > 1 pushing the button did nothing and so I opened up the console and there was an exception:
I checked the subgraph and no potion was created either. After pushing the button enough times it eventually worked.
Steps to produce: