makerdao / optimism-dai-bridge

Optimism Dai and upgradable token bridge
GNU Affero General Public License v3.0
72 stars 26 forks source link

Optimize calldata #72

Closed krzkaczor closed 2 years ago

krzkaczor commented 2 years ago

Since we allow the receiver to mint the wormhole, in most cases we can drop the operator parameter entirely. Calldata is much more expensive on L2s than on L1s so it makes sense.