Skip to content

Commit

Permalink
Merge pull request #87 from croath/main
Browse files Browse the repository at this point in the history
croath updates 5.5
  • Loading branch information
croath authored May 8, 2024
2 parents 62db4f6 + ccd0656 commit d49a47b
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ I'm Bruce from [PlanckerDAO](https://twitter.com/PlanckerDAO), [EIP Fun](https:/

| Name | 4.05 | 4.06 | 4.07 | 4.08 | 4.09 | 4.10 | 4.11 | 4.12 | 4.13 | 4.14 | 4.15 | 4.16 | 4.17 | 4.18 | 4.19 | 4.20 | 4.21 | 4.22 | 4.23 | 4.24 | 4.25 | 4.26 | 4.27 | 4.28 | 4.29 | 4.30 | 5.01 | 5.02 | 5.03 | 5.04 | 5.05 | 5.06 | 5.07 | 5.08 | 5.09 | 5.10 |
| :------ | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| Bruce ||||||||||||||||||||||||||||||||| | | |
| Croath | ⭕️ | ⭕️ | ⭕️ |||||||||||| ⭕️ | ⭕️ || ⭕️ |||| ⭕️ |||| ⭕️ | ⭕️ ||| | | | | | |
| Bruce ||||||||||||||||||||||||||||||||| | | |
| Croath | ⭕️ | ⭕️ | ⭕️ |||||||||||| ⭕️ | ⭕️ || ⭕️ |||| ⭕️ |||| ⭕️ | ⭕️ ||| | | ⭕️ | ⭕️ | | |
| Stephen ||||||||||||| ⭕️ |||||||| ⭕️ ||||||||| ⭕️ | ⭕️ ||| | |
| Fanka ||||||||||||| ⭕️ |||||||||||||||||| | | | | |
| ray ||||||||||||||||||||| ⭕️ |||||||||| ⭕️ |||| |
Expand Down
42 changes: 42 additions & 0 deletions croath.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,49 @@ Validator services 包括 Consensus service/Block construction service 两部分

Portal Network 的 DHT 方案是 Kademlia,没有找到为什么不使用 Chord 的原因,可能是因为和以太坊对齐会比较方便?

### 2024.5.4

学习资料:

- https://hackmd.io/@shemnon/precompiles#/
- https://lucasmartincalderon.medium.com/exploring-precompiled-contracts-on-ethereum-a-deep-dive-4e9f9682e0aa
- https://www.evm.codes/precompiled
- https://epf.wiki/#/eps/week10-dev

Precompiles 是一系列预编译的方法或实现,主要用于三个方面:

1. 在 EVM 中自行实现太复杂或消耗 gas 太高
2. 有一些不能在 EVM 中操作的事情,或者在 EVM 中操作有副作用的事情
3. 和链初始化有关的一些操作

EVM 中常见的 precompiles:

- ecRecover
- SHA2-256
- identity
- ecAdd, ecMul
- Blake2B F Function
- KZG Point Evaluation

待实现的 precompiles:

- BLS - 9 separate functions
- ECDSA(secp256r1) verification
- EVMMAX

### 2024.5.5

学习资料:

- https://epf.wiki/#/eps/week10-research
- https://github.com/eth-protocol-fellows/protocol-studies/blob/main/docs/eps/presentations/week10-research.pdf
- https://github.com/ethereum/pos-evolution/blob/master/pos-evolution.md

PoS 的 validator 有 `effective_balance`,但是在 `BeaconState` 中有独立存储的 `balances`。当 `effective balance` 在整数个 ETH 上下 0.25 个区间(总共0.5)以外浮动时才会触发可用余额变化,这样可以避免攻击者对于可用余额进行频繁变动的攻击拖慢整条链。

(内容较多,未完继续)

### 2024.5.8

### 待学习

Expand Down

0 comments on commit d49a47b

Please sign in to comment.