Repository navigation
Commit f04b887
chore: remove DAClient (#2221)
<!--
Please read and fill out this form before submitting your PR.
Please make sure you have reviewed our contributors guide before
submitting your
first PR.
NOTE: PR titles should follow semantic commits:
https://www.conventionalcommits.org/en/v1.0.0/
-->
## Overview
This pr aims to simplify the amount of abstractions by removing DAclient
as we are only supporting the da interface.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Refactor**
- Simplified and unified Data Availability (DA) client usage by removing
intermediate client wrappers and relying directly on the DA interface.
- Centralized DA submission and retrieval logic into helper functions
for consistent error handling and status reporting.
- Removed blob size management and retry adjustments from submission
logic, delegating these to the DA implementation.
- Updated node, sequencer, and block manager initialization and
configuration to use the updated DA interface.
- Replaced namespace handling with a placeholder in proof verification
to simplify DA interactions.
- **Bug Fixes**
- Improved error handling and logging for DA operations with more
precise status codes and messages.
- **Tests**
- Updated and expanded test suites to align with the new DA interface,
including concurrency and error scenario coverage.
- **Chores**
- Removed obsolete DA client implementation files and related mocks.
- Cleaned up dependencies, import paths, and unused imports across
modules.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: tac0turtle <you@example.com>1 parent dcb40d1 commit f04b887
42 files changed
Lines changed: 1401 additions & 1674 deletions
File tree
- block
- core/da
- da
- cmd/local-da
- jsonrpc
- proxy/jsonrpc
- node
- pkg/cmd
- rollups
- evm
- based/cmd
- single/cmd
- testapp
- cmd
- kv
- sequencers
- based
- single
- test/mocks
- types
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | 43 | | |
48 | 44 | | |
49 | 45 | | |
| |||
142 | 138 | | |
143 | 139 | | |
144 | 140 | | |
145 | | - | |
| 141 | + | |
146 | 142 | | |
147 | 143 | | |
148 | 144 | | |
| |||
252 | 248 | | |
253 | 249 | | |
254 | 250 | | |
255 | | - | |
| 251 | + | |
256 | 252 | | |
257 | 253 | | |
258 | 254 | | |
| |||
295 | 291 | | |
296 | 292 | | |
297 | 293 | | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | 294 | | |
308 | 295 | | |
309 | 296 | | |
| |||
329 | 316 | | |
330 | 317 | | |
331 | 318 | | |
332 | | - | |
333 | 319 | | |
334 | 320 | | |
335 | 321 | | |
| |||
351 | 337 | | |
352 | 338 | | |
353 | 339 | | |
| 340 | + | |
354 | 341 | | |
355 | 342 | | |
356 | 343 | | |
| |||
360 | 347 | | |
361 | 348 | | |
362 | 349 | | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | 350 | | |
369 | 351 | | |
370 | 352 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
147 | | - | |
| 146 | + | |
| 147 | + | |
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
198 | | - | |
| 197 | + | |
| 198 | + | |
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
213 | | - | |
214 | 212 | | |
215 | 213 | | |
216 | 214 | | |
| |||
231 | 229 | | |
232 | 230 | | |
233 | 231 | | |
234 | | - | |
235 | | - | |
| 232 | + | |
| 233 | + | |
236 | 234 | | |
237 | 235 | | |
238 | 236 | | |
239 | 237 | | |
240 | 238 | | |
241 | 239 | | |
242 | | - | |
| 240 | + | |
243 | 241 | | |
244 | 242 | | |
245 | 243 | | |
| |||
248 | 246 | | |
249 | 247 | | |
250 | 248 | | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | 249 | | |
255 | 250 | | |
256 | 251 | | |
257 | 252 | | |
258 | | - | |
| 253 | + | |
259 | 254 | | |
260 | 255 | | |
261 | 256 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
| 164 | + | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| |||
0 commit comments