Skip to content

Lesson 9 - Error: value out-of-bounds (argument="callbackGasLimit", value="100000000000000000", code=INVALID_ARGUMENT, version=abi/5.6.3) #307

Discussion options

You must be logged in to vote

@mattjaf fixed the problem. Thanks for the help. I lowered the value of raffleEntranceFee in the helper-hardhat-config.ts file.

The updated code block looks like this now -

31337: {
    name: 'hardhat',
    subscriptionId: '6258',
    raffleEntranceFee: '100000000',
    gasLane:
      '0xd89b2bf150e3b9e13446986e571fb9cab24b13cea0a43ea20a6049a85cc807cc', // 30 gwei
    callbackGasLimit: '50000', // 500,000 gas
    keepersUpdateInterval: '30',
    vrfCoordinatorV2: '0x6168499c0cFfCaCD319c818142124B7A15E857ab',
  },

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@dibakarsutradhar
Comment options

Comment options

You must be logged in to vote
4 replies
@AlexS3abo
Comment options

@CheckThisIn
Comment options

@0xCardiE
Comment options

@Ahmadfareedkhan
Comment options

Answer selected by dibakarsutradhar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants