OffchainLabs / arb-os

ArbOS operating system, to run at Layer 2 on Arbitrum chains. Also a compiler for Mini, the language in which ArbOS is written.
92 stars 21 forks source link

Remove tx gas limit for off-chain calls #658

Closed edfelten closed 2 years ago

edfelten commented 2 years ago

This removes the transaction gas limit for "admin mode" calls. We assume that node operators will impose whatever limit they want, if they want one, by using command-line options in the node software.

This also limits the size of deployed contract (EVM) code to 48 KB. There are exceptions for (1) previously deployed contracts, and (2) new contracts whose deployed code is identical to a previously deployed contract. The size becomes a chain parameter, so it can be adjusted by the chain owner as necessary.