What Is Optimism
What Is Optimism
Transactions take place on Optimism, but the data about transactions get posted to
mainnet where they are validated. It’s like driving in a less crowded side street
while benefiting from the security of a highway.
They’re called rollups because they roll up (or bundle) the data about hundreds of
transactions – non-fungible token (NFT) mints, token swaps … any transaction! –
into a single transaction on Ethereum mainnet (layer 1).
When so many transactions are rolled up into a single transaction, the blockchain
transaction, or "gas," fee required to pay comes down to only one transaction,
conveniently distributed across everyone involved.
And they’re called Optimistic rollups because transactions are assumed to be valid
until they are proven false, or in other words, innocent until proven guilty. There’s a
time window during which potentially invalid transactions can be challenged by
submitting a “fraud proof” and running the transactions’ computations with
reference to available state data. Optimism reimburses the gas needed to run the
computation of the fraud proof. (Here’s a more technically detailed explanation of
the process.)
To guarantee deterministic smart contract execution between L1 and L2, i.e. resolve
any discrepancies, Optimism does this through something known as the OVM
(Optimistic Virtual Machine) — a fully-featured EVM-compatible execution
environment built for use in layer-2.
This OVM is special, it creates a new smart contract called the execution manager
which acts as a virtual container for OVM contracts, providing a function to make
any functionality between L1 and L2 consistent.
This category of off-chain solutions derives its security from mainnet ethereum
(this is incomplete)
Q:What is the data Availability layer in the op stack and what are its functions ?
Answer:
The DA layer is the layer where we stored raw data that is later used to power the op stack
chains. The data includes the following things
1. Transaction data
2. Block Data
3. State Data
DA layer is responsible for ensuring that this data is available to the all nodes in the
network
The DA layer is an important part of the security model of the op stack. If the DA layer is
not secure then it would be easier for the attackers to tamper with the data that is used to
power the op stack chains. This could lead to the various problem like data loss fraud and
censorship
If a certain piece of information or data can no longer be retrieved from the DA layer , it may
not be possible to sync the chain.
Answer:
Ethereum DA is the currently most widely used DA layer/module for the op stack.
So when using the ethereum DA module , source data can be derived from any piece of
information accessible on ethereum blockchain. This includes ethereum calldata , events
and 4844 blobs.