1 vote

gas estimation error because of reverted

You need to add the necessary gas at the time you create the transaction. It appears that you know in advance how much gas will be needed: 266_087. So you put this value when creating the transaction. ...
Xavier Leprêtre B9lab's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible