Skip to content

Gas Price null #56

Answered by PatrickAlphaC
thejojochen asked this question in Q&A
Jun 1, 2022 · 2 comments · 7 replies
Discussion options

You must be logged in to vote

From #56 (reply in thread)

Ok, so your values here:

    gasLimit: 30000000,
    gasPrice: 2000000000,

Are way off. Could you try:

        gasLimit: 1000000,
        gasPrice: 100000000000,

You're also calling main twice:

main();

main()
  .then(() => process.exit(0))
  .catch((error) => {
    console.error(error);
    process.exit(1);
  });

Could you please try copy pasting from the github repo associated with the course? It looks like you have a number of random issues going on.

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
7 replies
@jmhickman
Comment options

@thejojochen
Comment options

@PatrickAlphaC
Comment options

@thejojochen
Comment options

@PatrickAlphaC
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by PatrickAlphaC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants