exact message:

message: intrinsic gas too high -- CallGasCostMoreThanGasLimit, data: None

generic counter contract from how to. googling around got me some old error somewhat related but not sure whether they are same thing. thanks!

here is anvil log:


1 Answer 1


So I figured that you can do anvil -a 12 to create a batch of 12 for wallets to use to do things like create contracts.

  • 1
    Please, how does that answer and actually solve your question?
    – Felicio
    Oct 31, 2023 at 22:48
  • I think what Pavel meant with this answer is, after doing anvil -a N and you get a bunch of privates with gases. Then you can use --private-key to use those addresses. Jan 23 at 23:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.