@ver89.eth
“Calldata over storage”
storage writes are forever.
calldata is cheap and ephemeral.
on Base, we push as much logic as possible into calldata:
• pass computed values instead of recomputing
• verify inputs, don’t store them
• emit events, not state, when history matters
contracts should validate, not remember everything.
memory fades.
state scars.
#Base #onchain #solidity #gasoptimization #devthoughts