1

I'm a student learning about solidity language.

According to solidity's official docs, the maximum callstack size is 1024.

But, I am wondering, can a developer change the maximum callstack size in solidity?

If so, could you give me links to reference.

Thank you for reading.

  • 1
    It's a language feature, so no you can't. – Lauri Peltonen Aug 13 at 11:12
  • Just to amplify Lauri's and Shane's answers, such a modification would create a separate network because normal nodes would error out while modified nodes would presumably carry on processing transactions that need the larger call stack. The divergence would create two different states, two different truths so two different Ethereum(ish) networks, a.k.a. a fork. – Rob Hitchens - B9lab Aug 13 at 20:48
  • @LauriPeltonen & RobHitchens They were also really helpful to me. Thank for your kindness!!! – SeungSoo Kim Aug 14 at 0:48
2

According to the docs, the maximum callstack size is 1024. This cannot be edited without forking the code and creating your own architecture.

As Lauri mentioned in the comment, it is a language feature, so you cannot edit it.

  • It was really helpful to me. Thank for an good explanation. – SeungSoo Kim Aug 14 at 0:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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