-
Notifications
You must be signed in to change notification settings - Fork 806
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
Improve e2store README #4035
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
a04684b
to
9896dfb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm
|
||
// 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 | ||
} |
There was a problem hiding this comment.
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):
And when you then run the npm command (and code is not yet there) you can test if the stuff is inserted automatically.
Updates package README