ntropika-labs / potion-protocol

2 stars 3 forks source link

One of every 2 times you try to buy an option revert when using Ganache locally #181

Open RazorSiM opened 1 year ago

RazorSiM commented 1 year ago

You can reproduce this by running the protocol locally on Ganache. The bug is not present when running on hardhat or on testnets.

When using Ganache and trying, for example, to create a new pool, the first transaction fails, and the second time it works. This does not seem related to the frontend state, as you can reload the page before the first transaction, or between the first and the second, and the behavior is the same.