-
i got InsufficientBalance() error when run my test below
Below my DeployRaffle.s.sol
Below my HelperConfig.s.sol
Below my Intractions.s.sol
i've do console log in VRFCoordinatorV2_5Mock.sol in _chargePayment() function for debugging like below
and when i run test, InsufficientBalance() error come from NATIVE PAYMENT. Below the log
is there something i missed in my code ? |
Beta Was this translation helpful? Give feedback.
Answered by
EngrPips
Sep 22, 2024
Replies: 1 comment 5 replies
-
Hello @nandes007, Since you chose the |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to make the
nativePayment
argument in this functionfunction _chargePayment(uint96 payment, bool nativePayment, uint256 subId) internal
be false.