Skip to content

Improve e2store README #4035

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 26, 2025
Merged

Improve e2store README #4035

merged 1 commit into from
Apr 26, 2025

Conversation

ScottyPoi
Copy link
Contributor

Updates package README

Copy link

codecov bot commented Apr 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.55%. Comparing base (1f8f8c7) to head (9896dfb).
Report is 2 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

Flag Coverage Δ
block 84.33% <ø> (ø)
blockchain 89.32% <ø> (ø)
client 67.99% <ø> (ø)
common 97.51% <ø> (ø)
devp2p 86.78% <ø> (+0.53%) ⬆️
evm 73.11% <ø> (ø)
mpt 89.74% <ø> (+0.05%) ⬆️
statemanager 69.06% <ø> (ø)
static 99.11% <ø> (ø)
tx 90.59% <ø> (ø)
util 89.36% <ø> (ø)
vm 55.50% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@acolytec3 acolytec3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@acolytec3 acolytec3 merged commit 30c2491 into master Apr 26, 2025
40 checks passed
@holgerd77 holgerd77 deleted the e2store-README branch April 26, 2025 12:16

// Read Beacon Blocks from era file
let count = 0
for await (const block of readBlocksFromEra(eraFile)) {
console.log(block.message.slot)
console.log(`Block slot: ${block.message.slot}`)
count++
if (count > 10) break
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, can we also add all the examples from the README to a dedicated examples folder so that they are auto-inserted from now on when npm run build:examples is run?

So, the way that this works is that you add the comment line (and you can leave the example code itself in first round) from the screenshot below in the README example block(s):

grafik

And when you then run the npm command (and code is not yet there) you can test if the stuff is inserted automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants