0

Eth blocks have a clear block size and gas limit (of 30,000,000).

Some contract states must require more memory than the defined block size, right?

Now my question: can the contract state be saved on multiple blocks? If yes, then how?

1 Answer 1

0

You can, but you have to use non-traditional structures. One structure I've used in the past is the fallback proxy. So you have a list of functions in Contract A (main contract), B, and C. If you call A with a function not in A, it does a delegate call to B or C. Now you have more functionality in your contract (just be careful to keep storage the same in each contract).

2

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.