new feature: op-batcher auto switch to economic DA type
Rationale
As blob gas price may increase to make blobTx more expensive than calldataTx, currently op-batcher could not choose economic DA type automatically, this PR filled the gap.
Example
n/a
Changes
add new value auto to flag --data-availability-type, which will enable op-batcher automatically choose DA type
change default value of flag --txmgr.blob-gas-price-limit from 100gwei to 0, which will disable blob-gas-price-limit by default.
Description
new feature: op-batcher auto switch to economic DA type
Rationale
As blob gas price may increase to make blobTx more expensive than calldataTx, currently op-batcher could not choose economic DA type automatically, this PR filled the gap.
Example
n/a
Changes
auto
to flag--data-availability-type
, which will enable op-batcher automatically choose DA type--txmgr.blob-gas-price-limit
from 100gwei to 0, which will disable blob-gas-price-limit by default.