Skip to content

Commit 5ee6483

Browse files
authored
chore: remove duplicate package import (#3331)
chore: remove duplicate package import and fix some CI issues Signed-off-by: caltechustc <caltechustc@outlook.com>
1 parent 53c5669 commit 5ee6483

27 files changed

Lines changed: 117 additions & 64 deletions

.markdownlint.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,17 @@ default: true
22
MD010:
33
code_blocks: false
44
MD013: false
5+
MD025:
6+
front_matter_title: ""
57
MD024:
68
siblings_only: true
9+
MD033:
10+
allowed_elements:
11+
- a
12+
- div
13+
- OAIntroduction
14+
- OAOperation
15+
- script
16+
- span
17+
- style
18+
- CelestiaGasEstimator

CLAUDE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
# CLAUDE.md
2+
13
See [AGENTS.md](./AGENTS.md)

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22

33
Ev-node is the basis of the Evolve Stack. For more in-depth information about Evolve, please visit our [website][docs].
44

5-
<!-- markdownlint-disable MD013 -->
65
[![Go Report Card](https://goreportcard.com/badge/github.com/evstack/ev-node)](https://goreportcard.com/report/github.com/evstack/ev-node)
76
[![codecov](https://codecov.io/gh/evstack/ev-node/branch/main/graph/badge.svg?token=CWGA4RLDS9)](https://codecov.io/gh/evstack/ev-node)
87
[![GoDoc](https://godoc.org/github.com/evstack/ev-node?status.svg)](https://godoc.org/github.com/evstack/ev-node)
9-
<!-- markdownlint-enable MD013 -->
108

119
> **⚠️ Version Notice**: Do not use tags or releases before v1.*. Pre-v1 releases are not stable and should be considered abandoned.
1210

RELEASE.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -348,56 +348,56 @@ go get github.com/evstack/ev-node/core@v0.3.0
348348

349349
### GitHub Releases
350350

351-
**"Invalid tag format" error**
351+
#### "Invalid tag format" error
352352

353353
- Ensure tag follows semantic versioning: `v1.2.3`
354354
- Check for typos or incorrect format
355355
- Valid examples: `v1.2.3`, `v1.2.3-rc.4`, `v1.2.3-beta.1`
356356

357-
**"Version not found in CHANGELOG.md"**
357+
#### "Version not found in CHANGELOG.md"
358358

359359
- Verify CHANGELOG.md contains a section for the version
360360
- Check version format matches exactly (e.g., `v1.2.3` vs `1.2.3`)
361361
- Ensure CHANGELOG.md is committed and pushed
362362

363-
**"Claude API error"**
363+
#### "Claude API error"
364364

365365
- Verify `CLAUDE_CODE_OAUTH_TOKEN` secret is configured
366366
- Check repository permissions for GitHub Actions
367367
- Review workflow logs for specific error messages
368368

369-
**Empty or incomplete release notes**
369+
#### Empty or incomplete release notes
370370

371371
- Ensure CHANGELOG.md has detailed entries for the version
372372
- Check that changelog sections (Added, Changed, Fixed, etc.) are properly formatted
373373
- Review the draft release and manually edit if needed
374374

375375
### Docker Releases
376376

377-
**"App directory does not exist"**
377+
#### "App directory does not exist"
378378

379379
- Ensure tag matches app path: `apps/evm/``apps/evm/v0.2.0`
380380
- Check spelling and case sensitivity
381381

382-
**"Dockerfile not found"**
382+
#### "Dockerfile not found"
383383

384384
- Verify Dockerfile exists at `apps/{app-path}/Dockerfile`
385385
- Check filename is exactly `Dockerfile`
386386

387-
**"Image not found" in tests**
387+
#### "Image not found" in tests
388388

389389
- Wait for Docker build workflow to complete
390390
- Check workflow dependencies in Actions tab
391391

392392
### Go Module Releases
393393

394-
**Go proxy delay**
394+
#### Go proxy delay
395395

396396
- Wait 5-30 minutes for propagation
397397
- Use `go list -m` to verify availability
398398
- Check <https://proxy.golang.org/>
399399

400-
**Dependency version conflicts**
400+
#### Dependency version conflicts
401401

402402
- Ensure all dependencies are released before dependent modules
403403
- Verify go.mod has correct versions

apps/evm/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ spamoor \
165165

166166
Transactions submitted to the Force Inclusion API are included in the chain at specific DA heights based on the `da_epoch_forced_inclusion` configuration in `genesis.json`. The API logs will show when the transaction will be force included:
167167

168-
```
168+
```text
169169
INF transaction successfully submitted to DA layer da_height=100
170170
INF transaction will be force included blocks_until_inclusion=8 inclusion_at_height=110
171171
```

block/internal/syncing/da_retriever.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ func (r *daRetriever) processBlobs(ctx context.Context, blobs [][]byte, daHeight
195195
}
196196
}
197197

198-
var events []common.DAHeightEvent
198+
events := make([]common.DAHeightEvent, 0, len(r.pendingHeaders))
199199

200200
// Match headers with data and create events
201201
for height, header := range r.pendingHeaders {

docs/adr/adr-009-state-fraud-proofs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ message ResponseGenerateFraudProof {
188188
}
189189
```
190190

191-
Note that currently the only underlying store supported by Cosmos SDK is the Merkle IAVL+ tree. As part of generating state witnesses, we added preliminary support for Deep Subtrees to this library [here](https://github.com/rollkit/iavl/tree/deepsubtrees_0.19.x). It enables import and export of partial state and adds tracing to IAVL trees. Note that documentation and exploring optimizations of Deep Subtrees is a work in progress.
191+
Note that currently the only underlying store supported by Cosmos SDK is the Merkle IAVL+ tree. As part of generating state witnesses, we added preliminary support for Deep Subtrees to the [IAVL Deep Subtrees branch](https://github.com/rollkit/iavl/tree/deepsubtrees_0.19.x). It enables import and export of partial state and adds tracing to IAVL trees. Note that documentation and exploring optimizations of Deep Subtrees is a work in progress.
192192

193193
### Gossiping Fraud Proofs
194194

docs/adr/adr-012-based-sequencing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,15 +159,15 @@ When forced inclusion transactions exceed `MaxBytes`:
159159

160160
**Block 1**:
161161

162-
```
162+
```text
163163
Epoch [100-109] contains 3MB of transactions
164164
Block at DA height 100: 2MB (partial)
165165
Remaining in queue: 1MB
166166
```
167167

168168
**Block 2**:
169169

170-
```
170+
```text
171171
Block at DA height 101: 1MB (remainder) + new regular txs
172172
Queue cleared
173173
```

docs/adr/adr-019-forced-inclusion-mechanism.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ We implement a **forced inclusion mechanism** that allows users to submit transa
4747

4848
### High-Level Architecture
4949

50-
```
50+
```text
5151
┌─────────────────────────────────────────────────────────────────┐
5252
│ User Actions │
5353
├─────────────────────────────────────────────────────────────────┤
@@ -385,7 +385,7 @@ func (s *Syncer) verifyForcedInclusionTxs(currentState State, data *Data) error
385385

386386
**Smoothing Example**:
387387

388-
```
388+
```text
389389
Epoch [100-109] contains 3MB of forced inclusion transactions
390390
391391
Block at DA height 100:
@@ -551,18 +551,18 @@ graceBoundary := epochEnd + (effectiveGracePeriod * DAEpochForcedInclusion)
551551

552552
Configuration: `DAEpochForcedInclusion = 50`, Base grace period of 1 epoch (dynamically adjusted)
553553

554-
_Example 1: Normal Inclusion (Within Same Epoch)_
554+
#### Example 1: Normal Inclusion (Within Same Epoch)
555555

556-
```
556+
```text
557557
- Forced tx submitted to DA at height 75 (epoch 51-100)
558558
- Sequencer fetches at height 101 (next epoch start)
559559
- Sequencer includes tx in block at DA height 105
560560
- Result: ✅ Valid - included within same epoch
561561
```
562562

563-
_Example 2: Grace Period Usage (Included in Next Epoch)_
563+
#### Example 2: Grace Period Usage (Included in Next Epoch)
564564

565-
```
565+
```text
566566
- Forced tx submitted to DA at height 75 (epoch 51-100)
567567
- Sequencer fetches at height 101
568568
- DA temporarily unavailable, sequencer cannot fetch
@@ -571,9 +571,9 @@ _Example 2: Grace Period Usage (Included in Next Epoch)_
571571
- Result: ✅ Valid - within grace period
572572
```
573573

574-
_Example 3: Malicious Sequencer (Past Grace Boundary)_
574+
#### Example 3: Malicious Sequencer (Past Grace Boundary)
575575

576-
```
576+
```text
577577
- Forced tx submitted to DA at height 75 (epoch 51-100)
578578
- Sequencer fetches at height 101
579579
- Sequencer deliberately omits tx
@@ -582,9 +582,9 @@ _Example 3: Malicious Sequencer (Past Grace Boundary)_
582582
- Result: ❌ Block rejected, sequencer flagged as malicious
583583
```
584584

585-
_Example 4: Low Chain Activity (Minimum Grace Period)_
585+
#### Example 4: Low Chain Activity (Minimum Grace Period)
586586

587-
```
587+
```text
588588
- Chain is mostly empty (<20% full)
589589
- Grace period is at minimum (0.5x base period)
590590
- Forced tx submitted at height 75 (epoch 51-100)
@@ -593,9 +593,9 @@ _Example 4: Low Chain Activity (Minimum Grace Period)_
593593
- Result: Faster censorship detection when block space is available
594594
```
595595

596-
_Example 5: Multiple Pending Transactions_
596+
#### Example 5: Multiple Pending Transactions
597597

598-
```
598+
```text
599599
- Tx A from epoch ending at height 100, grace boundary 150
600600
- Tx B from epoch ending at height 150, grace boundary 200
601601
- Current DA height: 155
@@ -604,9 +604,9 @@ _Example 5: Multiple Pending Transactions_
604604
- Result: Block rejected due to Tx A
605605
```
606606

607-
_Example 6: High Chain Activity (Extended Grace Period)_
607+
#### Example 6: High Chain Activity (Extended Grace Period)
608608

609-
```
609+
```text
610610
- Chain is highly congested (>80% full)
611611
- Grace period is extended (up to 3x base period)
612612
- Forced tx submitted at height 75 (epoch 51-100)

docs/guides/da/visualizer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ rpc:
3838
3939
Once enabled, the DA Visualizer is accessible through your node's RPC server. By default, this is:
4040
41-
```
41+
```text
4242
http://localhost:7331/da
4343
```
4444

0 commit comments

Comments
 (0)