Skip to content

Commit

Permalink
Update developers/optimism-devnet.md
Browse files Browse the repository at this point in the history
Co-authored-by: Javed Khan <[email protected]>
  • Loading branch information
jcstein and tuxcanfly authored Jan 17, 2024
1 parent 6d5b90c commit 2429f79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion developers/optimism-devnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ The `op-batcher/batcher/driver.go` and
`op-node/rollup/derive/calldata_source.go` files are part of the Ethereum
fallback mechanism in the `op-batcher` and `op-node` respectively.

In [`driver.go`, the `sendTransaction` function is responsible for the write path](https://github.com/celestiaorg/optimism/blob/9c6a1db78bc1da08b1e36548ebedf3d9a97e6dcc/op-batcher/batcher/driver.go#L359-L389)
In [`driver.go`, the `calldataTxCandidate` function is responsible for the write path](https://github.com/celestiaorg/optimism/blob/release-v1.1.0/op-batcher/batcher/driver.go#L405-L419)
of the Ethereum fallback. This function creates and submits a transaction to the
batch inbox address with the given data. It uses the underlying `txmgr` to
handle transaction sending and gas price management.
Expand Down

0 comments on commit 2429f79

Please sign in to comment.