smartcontractkit / ccip-starter-kit-foundry

This project demonstrates a couple of basic Chainlink CCIP use cases
MIT License
67 stars 42 forks source link

Custom error when contract doesn't have enough native tokens #9

Closed lucasarchangelo closed 7 months ago

lucasarchangelo commented 7 months ago

@andrejrakic I implemented a custom error if the contract doesn't have enough tokens to pay the fees this could give some tips for anyone using a cheap network as a (source) contract.