mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-01 06:55:01 -05:00
Merge pull request #3067 from etan-status/lc-synctestroot
Rename LC test check from `root` to `beacon_root`
This commit is contained in:
@@ -63,11 +63,11 @@ def get_checks(store):
|
||||
return {
|
||||
"finalized_header": {
|
||||
'slot': int(store.finalized_header.slot),
|
||||
'root': encode_hex(store.finalized_header.hash_tree_root()),
|
||||
'beacon_root': encode_hex(store.finalized_header.hash_tree_root()),
|
||||
},
|
||||
"optimistic_header": {
|
||||
'slot': int(store.optimistic_header.slot),
|
||||
'root': encode_hex(store.optimistic_header.hash_tree_root()),
|
||||
'beacon_root': encode_hex(store.optimistic_header.hash_tree_root()),
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -26,11 +26,11 @@ Each step includes checks to verify the expected impact on the `store` object.
|
||||
```yaml
|
||||
finalized_header: {
|
||||
slot: int, -- Integer value from store.finalized_header.slot
|
||||
root: string, -- Encoded 32-byte value from store.finalized_header.hash_tree_root()
|
||||
beacon_root: string, -- Encoded 32-byte value from store.finalized_header.hash_tree_root()
|
||||
}
|
||||
optimistic_header: {
|
||||
slot: int, -- Integer value from store.optimistic_header.slot
|
||||
root: string, -- Encoded 32-byte value from store.optimistic_header.hash_tree_root()
|
||||
beacon_root: string, -- Encoded 32-byte value from store.optimistic_header.hash_tree_root()
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user