Creating a Fuel dApp using provided example in docs

Hi friends,

I followed the exact same steps:

Docs: Creating a Fuel dApp

This is the error

Unhandled Runtime Error
FuelError: not enough coins to fit the target

Source
src/pages/index.tsx (53:23) @ async onIncrementPressed

  51 |     }
  52 |
> 53 |     const { value } = await contract.functions.increment_counter(bn(1)).call();
     |                       ^
  54 |     setCounter(value.toNumber());
  55 |
  56 |     await refreshWalletBalance?.();

Hey @eesheng :wave:

We have the following issue that’ll improve the error and make it more explicit on resolutions.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.