feat: allow to toggle Celestia in op-batcher and op-node#498
Conversation
380fd31 to
45c4154
Compare
make test work again + feat: add --da.enabled to op-node
Reproducing the scenario took me more time than expected. I will recreate the scenario with At this point, I'm confident that this PR handles multi-frame transactions correctly, though I haven't gathered concrete evidence yet. |
|
@tuxcanfly I ran tests with This outcome isn't surprising, since my changes are independent of the Scenario 1: Posting to Celestia succeedsThe Scenario 2: Posting to Celestia fails and it falls back to calldataI simulated the case when posting to Celestia fails. The In both cases, Here is a relevant op-node log in Scenario 1
|
|
@kien-rise Thanks for confirming. Will take a deeper look and test the changes. |
make test work again + feat: add --da.enabled to op-nodea51dfc9 to
b4f0630
Compare
tuxcanfly
left a comment
There was a problem hiding this comment.
Looks good! Thanks for your patience and persistence! 🚀
build(deps): update go-da to v0.1.0 build(deps): update go-da to v0.2.0; add ctx da: add cli flags for da config da: add get timeout to da client build(deps): bump local-celestia-devnet to v0.12.7 fix(cli): fix da rpc check fix(cli): check return err fix(da): blob data source reuse DataFromEVMTransactions da: upgrade to go-da v0.5.0 feat(op-batcher): support disable eth fallback chore(op-batcher): refactor EthFallbackDisabledFlagName da: use env auth token if set feat: enable multi frame txs and frame size setting for calldata txs chore: add log for multiframetxs setting da: try using blobdata for eth fallback da: add gas price flag (#451) da: reuse useblobs for multiframetxs (#452) Add Github CI (#472) Cleanup Github CI workflow (#478) feat: allow to toggle Celestia in op-batcher and op-node (#498)
build(deps): update go-da to v0.1.0 build(deps): update go-da to v0.2.0; add ctx da: add cli flags for da config da: add get timeout to da client build(deps): bump local-celestia-devnet to v0.12.7 fix(cli): fix da rpc check fix(cli): check return err fix(da): blob data source reuse DataFromEVMTransactions da: upgrade to go-da v0.5.0 feat(op-batcher): support disable eth fallback chore(op-batcher): refactor EthFallbackDisabledFlagName da: use env auth token if set feat: enable multi frame txs and frame size setting for calldata txs chore: add log for multiframetxs setting da: try using blobdata for eth fallback da: add gas price flag (#451) da: reuse useblobs for multiframetxs (#452) Add Github CI (#472) Cleanup Github CI workflow (#478) feat: allow to toggle Celestia in op-batcher and op-node (#498) feat: add op-celestia indexer (#503) fix: init op-node client
build(deps): update go-da to v0.1.0 build(deps): update go-da to v0.2.0; add ctx da: add cli flags for da config da: add get timeout to da client build(deps): bump local-celestia-devnet to v0.12.7 fix(cli): fix da rpc check fix(cli): check return err fix(da): blob data source reuse DataFromEVMTransactions da: upgrade to go-da v0.5.0 feat(op-batcher): support disable eth fallback chore(op-batcher): refactor EthFallbackDisabledFlagName da: use env auth token if set feat: enable multi frame txs and frame size setting for calldata txs chore: add log for multiframetxs setting da: try using blobdata for eth fallback da: add gas price flag (#451) da: reuse useblobs for multiframetxs (#452) Add Github CI (#472) Cleanup Github CI workflow (#478) feat: allow to toggle Celestia in op-batcher and op-node (#498) feat: add op-celestia indexer (#503) fix: init op-node client
build(deps): update go-da to v0.1.0 build(deps): update go-da to v0.2.0; add ctx da: add cli flags for da config da: add get timeout to da client build(deps): bump local-celestia-devnet to v0.12.7 fix(cli): fix da rpc check fix(cli): check return err fix(da): blob data source reuse DataFromEVMTransactions da: upgrade to go-da v0.5.0 feat(op-batcher): support disable eth fallback chore(op-batcher): refactor EthFallbackDisabledFlagName da: use env auth token if set feat: enable multi frame txs and frame size setting for calldata txs chore: add log for multiframetxs setting da: try using blobdata for eth fallback da: add gas price flag (#451) da: reuse useblobs for multiframetxs (#452) Add Github CI (#472) Cleanup Github CI workflow (#478) feat: allow to toggle Celestia in op-batcher and op-node (#498) feat: add op-celestia indexer (#503) fix: init op-node client da: use celestia-node client (#504) da: fix batcher submit (#511)
build(deps): update go-da to v0.1.0 build(deps): update go-da to v0.2.0; add ctx da: add cli flags for da config da: add get timeout to da client build(deps): bump local-celestia-devnet to v0.12.7 fix(cli): fix da rpc check fix(cli): check return err fix(da): blob data source reuse DataFromEVMTransactions da: upgrade to go-da v0.5.0 feat(op-batcher): support disable eth fallback chore(op-batcher): refactor EthFallbackDisabledFlagName da: use env auth token if set feat: enable multi frame txs and frame size setting for calldata txs chore: add log for multiframetxs setting da: try using blobdata for eth fallback da: add gas price flag (#451) da: reuse useblobs for multiframetxs (#452) Add Github CI (#472) Cleanup Github CI workflow (#478) feat: allow to toggle Celestia in op-batcher and op-node (#498) feat: add op-celestia indexer (#503) fix: init op-node client da: use celestia-node client (#504) da: fix batcher submit (#511)
build(deps): update go-da to v0.1.0 build(deps): update go-da to v0.2.0; add ctx da: add cli flags for da config da: add get timeout to da client build(deps): bump local-celestia-devnet to v0.12.7 fix(cli): fix da rpc check fix(cli): check return err fix(da): blob data source reuse DataFromEVMTransactions da: upgrade to go-da v0.5.0 feat(op-batcher): support disable eth fallback chore(op-batcher): refactor EthFallbackDisabledFlagName da: use env auth token if set feat: enable multi frame txs and frame size setting for calldata txs chore: add log for multiframetxs setting da: try using blobdata for eth fallback da: add gas price flag (#451) da: reuse useblobs for multiframetxs (#452) Add Github CI (#472) Cleanup Github CI workflow (#478) feat: allow to toggle Celestia in op-batcher and op-node (#498) feat: add op-celestia indexer (#503) fix: init op-node client da: use celestia-node client (#504) da: fix batcher submit (#511) feat(op-celestia/indexer): add indexed l2 block status (#514)
build(deps): update go-da to v0.1.0 build(deps): update go-da to v0.2.0; add ctx da: add cli flags for da config da: add get timeout to da client build(deps): bump local-celestia-devnet to v0.12.7 fix(cli): fix da rpc check fix(cli): check return err fix(da): blob data source reuse DataFromEVMTransactions da: upgrade to go-da v0.5.0 feat(op-batcher): support disable eth fallback chore(op-batcher): refactor EthFallbackDisabledFlagName da: use env auth token if set feat: enable multi frame txs and frame size setting for calldata txs chore: add log for multiframetxs setting da: try using blobdata for eth fallback da: add gas price flag (#451) da: reuse useblobs for multiframetxs (#452) Add Github CI (#472) Cleanup Github CI workflow (#478) feat: allow to toggle Celestia in op-batcher and op-node (#498) feat: add op-celestia indexer (#503) fix: init op-node client da: use celestia-node client (#504) da: fix batcher submit (#511) feat(op-celestia/indexer): add indexed l2 block status (#514)
build(deps): update go-da to v0.1.0 build(deps): update go-da to v0.2.0; add ctx da: add cli flags for da config da: add get timeout to da client build(deps): bump local-celestia-devnet to v0.12.7 fix(cli): fix da rpc check fix(cli): check return err fix(da): blob data source reuse DataFromEVMTransactions da: upgrade to go-da v0.5.0 feat(op-batcher): support disable eth fallback chore(op-batcher): refactor EthFallbackDisabledFlagName da: use env auth token if set feat: enable multi frame txs and frame size setting for calldata txs chore: add log for multiframetxs setting da: try using blobdata for eth fallback da: add gas price flag (#451) da: reuse useblobs for multiframetxs (#452) Add Github CI (#472) Cleanup Github CI workflow (#478) feat: allow to toggle Celestia in op-batcher and op-node (#498) feat: add op-celestia indexer (#503) fix: init op-node client da: use celestia-node client (#504) da: fix batcher submit (#511) feat(op-celestia/indexer): add indexed l2 block status (#514)
build(deps): update go-da to v0.1.0 build(deps): update go-da to v0.2.0; add ctx da: add cli flags for da config da: add get timeout to da client build(deps): bump local-celestia-devnet to v0.12.7 fix(cli): fix da rpc check fix(cli): check return err fix(da): blob data source reuse DataFromEVMTransactions da: upgrade to go-da v0.5.0 feat(op-batcher): support disable eth fallback chore(op-batcher): refactor EthFallbackDisabledFlagName da: use env auth token if set feat: enable multi frame txs and frame size setting for calldata txs chore: add log for multiframetxs setting da: try using blobdata for eth fallback da: add gas price flag (#451) da: reuse useblobs for multiframetxs (#452) Add Github CI (#472) Cleanup Github CI workflow (#478) feat: allow to toggle Celestia in op-batcher and op-node (#498) feat: add op-celestia indexer (#503) fix: init op-node client da: use celestia-node client (#504) da: fix batcher submit (#511) feat(op-celestia/indexer): add indexed l2 block status (#514)
build(deps): update go-da to v0.1.0 build(deps): update go-da to v0.2.0; add ctx da: add cli flags for da config da: add get timeout to da client build(deps): bump local-celestia-devnet to v0.12.7 fix(cli): fix da rpc check fix(cli): check return err fix(da): blob data source reuse DataFromEVMTransactions da: upgrade to go-da v0.5.0 feat(op-batcher): support disable eth fallback chore(op-batcher): refactor EthFallbackDisabledFlagName da: use env auth token if set feat: enable multi frame txs and frame size setting for calldata txs chore: add log for multiframetxs setting da: try using blobdata for eth fallback da: add gas price flag (#451) da: reuse useblobs for multiframetxs (#452) Add Github CI (#472) Cleanup Github CI workflow (#478) feat: allow to toggle Celestia in op-batcher and op-node (#498) feat: add op-celestia indexer (#503) fix: init op-node client da: use celestia-node client (#504) da: fix batcher submit (#511) feat(op-celestia/indexer): add indexed l2 block status (#514)
build(deps): update go-da to v0.1.0 build(deps): update go-da to v0.2.0; add ctx da: add cli flags for da config da: add get timeout to da client build(deps): bump local-celestia-devnet to v0.12.7 fix(cli): fix da rpc check fix(cli): check return err fix(da): blob data source reuse DataFromEVMTransactions da: upgrade to go-da v0.5.0 feat(op-batcher): support disable eth fallback chore(op-batcher): refactor EthFallbackDisabledFlagName da: use env auth token if set feat: enable multi frame txs and frame size setting for calldata txs chore: add log for multiframetxs setting da: try using blobdata for eth fallback da: add gas price flag (#451) da: reuse useblobs for multiframetxs (#452) Add Github CI (#472) Cleanup Github CI workflow (#478) feat: allow to toggle Celestia in op-batcher and op-node (#498) feat: add op-celestia indexer (#503) fix: init op-node client da: use celestia-node client (#504) da: fix batcher submit (#511) feat(op-celestia/indexer): add indexed l2 block status (#514)
build(deps): update go-da to v0.1.0 build(deps): update go-da to v0.2.0; add ctx da: add cli flags for da config da: add get timeout to da client build(deps): bump local-celestia-devnet to v0.12.7 fix(cli): fix da rpc check fix(cli): check return err fix(da): blob data source reuse DataFromEVMTransactions da: upgrade to go-da v0.5.0 feat(op-batcher): support disable eth fallback chore(op-batcher): refactor EthFallbackDisabledFlagName da: use env auth token if set feat: enable multi frame txs and frame size setting for calldata txs chore: add log for multiframetxs setting da: try using blobdata for eth fallback da: add gas price flag (#451) da: reuse useblobs for multiframetxs (#452) Add Github CI (#472) Cleanup Github CI workflow (#478) feat: allow to toggle Celestia in op-batcher and op-node (#498) feat: add op-celestia indexer (#503) fix: init op-node client da: use celestia-node client (#504) da: fix batcher submit (#511) feat(op-celestia/indexer): add indexed l2 block status (#514) da: optionally support new tx client (#517) da: fix celestia config da: fix celestia enabled da: update celestia-node v0.26.4 da: log celestia config
build(deps): update go-da to v0.1.0 build(deps): update go-da to v0.2.0; add ctx da: add cli flags for da config da: add get timeout to da client build(deps): bump local-celestia-devnet to v0.12.7 fix(cli): fix da rpc check fix(cli): check return err fix(da): blob data source reuse DataFromEVMTransactions da: upgrade to go-da v0.5.0 feat(op-batcher): support disable eth fallback chore(op-batcher): refactor EthFallbackDisabledFlagName da: use env auth token if set feat: enable multi frame txs and frame size setting for calldata txs chore: add log for multiframetxs setting da: try using blobdata for eth fallback da: add gas price flag (#451) da: reuse useblobs for multiframetxs (#452) Add Github CI (#472) Cleanup Github CI workflow (#478) feat: allow to toggle Celestia in op-batcher and op-node (#498) feat: add op-celestia indexer (#503) fix: init op-node client da: use celestia-node client (#504) da: fix batcher submit (#511) feat(op-celestia/indexer): add indexed l2 block status (#514) da: optionally support new tx client (#517) da: fix celestia config da: fix celestia enabled da: update celestia-node v0.26.4 da: log celestia config
build(deps): update go-da to v0.1.0 build(deps): update go-da to v0.2.0; add ctx da: add cli flags for da config da: add get timeout to da client build(deps): bump local-celestia-devnet to v0.12.7 fix(cli): fix da rpc check fix(cli): check return err fix(da): blob data source reuse DataFromEVMTransactions da: upgrade to go-da v0.5.0 feat(op-batcher): support disable eth fallback chore(op-batcher): refactor EthFallbackDisabledFlagName da: use env auth token if set feat: enable multi frame txs and frame size setting for calldata txs chore: add log for multiframetxs setting da: try using blobdata for eth fallback da: add gas price flag (#451) da: reuse useblobs for multiframetxs (#452) Add Github CI (#472) Cleanup Github CI workflow (#478) feat: allow to toggle Celestia in op-batcher and op-node (#498) feat: add op-celestia indexer (#503) fix: init op-node client da: use celestia-node client (#504) da: fix batcher submit (#511) feat(op-celestia/indexer): add indexed l2 block status (#514) da: optionally support new tx client (#517) da: fix celestia config da: fix celestia enabled da: update celestia-node v0.26.4 da: log celestia config
build(deps): update go-da to v0.1.0 build(deps): update go-da to v0.2.0; add ctx da: add cli flags for da config da: add get timeout to da client build(deps): bump local-celestia-devnet to v0.12.7 fix(cli): fix da rpc check fix(cli): check return err fix(da): blob data source reuse DataFromEVMTransactions da: upgrade to go-da v0.5.0 feat(op-batcher): support disable eth fallback chore(op-batcher): refactor EthFallbackDisabledFlagName da: use env auth token if set feat: enable multi frame txs and frame size setting for calldata txs chore: add log for multiframetxs setting da: try using blobdata for eth fallback da: add gas price flag (#451) da: reuse useblobs for multiframetxs (#452) Add Github CI (#472) Cleanup Github CI workflow (#478) feat: allow to toggle Celestia in op-batcher and op-node (#498) feat: add op-celestia indexer (#503) fix: init op-node client da: use celestia-node client (#504) da: fix batcher submit (#511) feat(op-celestia/indexer): add indexed l2 block status (#514) da: optionally support new tx client (#517) da: fix celestia config da: fix celestia enabled da: update celestia-node v0.26.4 da: log celestia config
build(deps): update go-da to v0.1.0 build(deps): update go-da to v0.2.0; add ctx da: add cli flags for da config da: add get timeout to da client build(deps): bump local-celestia-devnet to v0.12.7 fix(cli): fix da rpc check fix(cli): check return err fix(da): blob data source reuse DataFromEVMTransactions da: upgrade to go-da v0.5.0 feat(op-batcher): support disable eth fallback chore(op-batcher): refactor EthFallbackDisabledFlagName da: use env auth token if set feat: enable multi frame txs and frame size setting for calldata txs chore: add log for multiframetxs setting da: try using blobdata for eth fallback da: add gas price flag (#451) da: reuse useblobs for multiframetxs (#452) Add Github CI (#472) Cleanup Github CI workflow (#478) feat: allow to toggle Celestia in op-batcher and op-node (#498) feat: add op-celestia indexer (#503) fix: init op-node client da: use celestia-node client (#504) da: fix batcher submit (#511) feat(op-celestia/indexer): add indexed l2 block status (#514) da: optionally support new tx client (#517) da: fix celestia config da: fix celestia enabled da: update celestia-node v0.26.4 da: log celestia config
build(deps): update go-da to v0.1.0 build(deps): update go-da to v0.2.0; add ctx da: add cli flags for da config da: add get timeout to da client build(deps): bump local-celestia-devnet to v0.12.7 fix(cli): fix da rpc check fix(cli): check return err fix(da): blob data source reuse DataFromEVMTransactions da: upgrade to go-da v0.5.0 feat(op-batcher): support disable eth fallback chore(op-batcher): refactor EthFallbackDisabledFlagName da: use env auth token if set feat: enable multi frame txs and frame size setting for calldata txs chore: add log for multiframetxs setting da: try using blobdata for eth fallback da: add gas price flag (#451) da: reuse useblobs for multiframetxs (#452) Add Github CI (#472) Cleanup Github CI workflow (#478) feat: allow to toggle Celestia in op-batcher and op-node (#498) feat: add op-celestia indexer (#503) fix: init op-node client da: use celestia-node client (#504) da: fix batcher submit (#511) feat(op-celestia/indexer): add indexed l2 block status (#514) da: optionally support new tx client (#517) da: fix celestia config da: fix celestia enabled da: update celestia-node v0.26.4 da: log celestia config gh: delete dependabot
build(deps): update go-da to v0.1.0 build(deps): update go-da to v0.2.0; add ctx da: add cli flags for da config da: add get timeout to da client build(deps): bump local-celestia-devnet to v0.12.7 fix(cli): fix da rpc check fix(cli): check return err fix(da): blob data source reuse DataFromEVMTransactions da: upgrade to go-da v0.5.0 feat(op-batcher): support disable eth fallback chore(op-batcher): refactor EthFallbackDisabledFlagName da: use env auth token if set feat: enable multi frame txs and frame size setting for calldata txs chore: add log for multiframetxs setting da: try using blobdata for eth fallback da: add gas price flag (#451) da: reuse useblobs for multiframetxs (#452) Add Github CI (#472) Cleanup Github CI workflow (#478) feat: allow to toggle Celestia in op-batcher and op-node (#498) feat: add op-celestia indexer (#503) fix: init op-node client da: use celestia-node client (#504) da: fix batcher submit (#511) feat(op-celestia/indexer): add indexed l2 block status (#514) da: optionally support new tx client (#517) da: fix celestia config da: fix celestia enabled da: update celestia-node v0.26.4 da: log celestia config
build(deps): update go-da to v0.1.0 build(deps): update go-da to v0.2.0; add ctx da: add cli flags for da config da: add get timeout to da client build(deps): bump local-celestia-devnet to v0.12.7 fix(cli): fix da rpc check fix(cli): check return err fix(da): blob data source reuse DataFromEVMTransactions da: upgrade to go-da v0.5.0 feat(op-batcher): support disable eth fallback chore(op-batcher): refactor EthFallbackDisabledFlagName da: use env auth token if set feat: enable multi frame txs and frame size setting for calldata txs chore: add log for multiframetxs setting da: try using blobdata for eth fallback da: add gas price flag (#451) da: reuse useblobs for multiframetxs (#452) Add Github CI (#472) Cleanup Github CI workflow (#478) feat: allow to toggle Celestia in op-batcher and op-node (#498) feat: add op-celestia indexer (#503) fix: init op-node client da: use celestia-node client (#504) da: fix batcher submit (#511) feat(op-celestia/indexer): add indexed l2 block status (#514) da: optionally support new tx client (#517) da: fix celestia config da: fix celestia enabled da: update celestia-node v0.26.4 da: log celestia config gh: delete dependabot feat: `op-celestia-indexer` support for 4844 blob indexing (#530) Co-authored-by: Javed Khan <tuxcanfly@gmail.com>
This PR introduces the--da.enabledflag, allowing Celestia support to be toggled in bothop-nodeandop-batcher.This PR disables Celestia unless all of the following flags are set:
--da.rpc,--da.auth_token,--da.namespace.In addition, it reverts several changes within
op-node/rollup/derive, simplifying the process of rebasing onto the upstream repository.Finally, it restores functionality for end-to-end (E2E) tests — the
make testcommand now runs successfully.Note to reviewers: You're encouraged to review the commits individually for clarity.