These are the updates for the week of 2023/10/30. This is the last regular update.
While this feature was finished on week 15, I had to fix some CI issues to merge the PR.
Many contributors were having troubles debugging failing spec tests. The main reason was that sometimes BeaconStates can be very big, and when elixir prints the expected state compared with the obtained post state, the console was overflown with output.
I designed and implemented a simple utility that compared any two elixir maps/structures/lists and printed the exact difference and nothing else. This helped many builders to quickly identify their issues and fixed their code. As an example, one of them was debugging an epoch procesing state transition function for days, and was able to locate the error an hour after my PR was merged.
Most contributors working with SSZ bit-vectors were having common issues:
These are all normal operations, so I designed a library to implement all of these behaviors over bitvectors, independent of the internal representation (be it bitstrings, integers, etc).
The library was merged in this PR.
or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Syncing