Skip to content
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

Portal history: Add test vector for ephemeral headers content key #361

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions history/history-network-test-vectors.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,18 @@ content_key = 0x034e61bc0000000000
content_id = 0x2113990747a85ab39785d21342fa5db1f68acc0011605c0c73f68fc331643dcf
content_id: U256 = 14960950260935695396511307566164035182676768442501235074589175304147024756175
```

#### Ephemeral Block Headers

##### Input Parameters
```
block_hash = 0xd1c390624d3bd4e409a61a858e5dcc5517729a9170d014a6c96530d64dd8621d
ancestor_count = 242
```

##### Expected Output
```
content_key = 0x04d1c390624d3bd4e409a61a858e5dcc5517729a9170d014a6c96530d64dd8621df2
content_id = 0xee3af053669ddd2130227b62f899547d6b6cc94f2492e9bbc731025a5ff92d53
content_id: U256 = 107754593760180144978479156856849717135578675732374967927631096183784899947859
```
Loading