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

BEP341 & BEP402 #52

Merged
merged 53 commits into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
62cc5d7
change proto
May 26, 2024
54f70ab
add epoch
May 26, 2024
6cbd06e
add trusted or untrsuted epoch
May 26, 2024
629c2b4
add test
May 27, 2024
78f3da7
fix header test
May 27, 2024
6dcc848
refactor header struct
May 27, 2024
df94ff9
fix client_state test
May 27, 2024
602c40a
change testdata structure
Jun 6, 2024
475d89a
remove unused testdata
Jun 6, 2024
3b421b2
add testdata trait
Jun 7, 2024
c13f74e
remove unused
Jun 7, 2024
0dc47fc
add rstest to test each network
Jun 7, 2024
db2d500
rename
Jun 7, 2024
f75b54a
use rstest
Jun 7, 2024
e317a42
use rstest
Jun 7, 2024
84519a0
use rstest
Jun 7, 2024
e083e3a
use rstest
Jun 7, 2024
5163826
add rstest to client
Jun 11, 2024
d131fde
repair test
Jun 11, 2024
111b51b
refactor test
Jun 11, 2024
8c9a361
fix clippy
Jun 11, 2024
cfdd60d
refactor test
Jun 12, 2024
e83810b
refactor test
Jun 12, 2024
6ae2f8e
fix conflict
Jul 3, 2024
e176805
change test
Jul 18, 2024
02b232a
modify test
Jul 19, 2024
0ce4a5d
modify test
Jul 19, 2024
919bae0
modify client state test
Jul 19, 2024
c270604
fix localnet testdata
Jul 19, 2024
5f37d89
modity test
Jul 19, 2024
d569f42
fix test
Jul 19, 2024
d69b045
refactor
Jul 19, 2024
963484a
get turn term from extra_data
Jul 20, 2024
837bf68
remove unused
Jul 20, 2024
f6362d9
Merge branch 'HF/Bohr' into feature/bep-341-1
Jul 23, 2024
74fb550
rename turn_term to turn_length
Jul 23, 2024
eab5093
fmt
Jul 23, 2024
aef2820
add 3-9 turn_length test
Jul 23, 2024
5734b89
support parent_beacon_root
Jul 23, 2024
0f6c460
add bep-402
Jul 23, 2024
1b10cd0
fix checkpoint logic
Jul 23, 2024
98c6f87
add testcase
Jul 23, 2024
86b8bbb
check priority allocation
Jul 24, 2024
104e135
validate turn_length
Jul 25, 2024
92c8cda
fix error test
Jul 25, 2024
8b7bbf9
fix test
Jul 25, 2024
b10f3fa
fix test
Jul 25, 2024
fef195f
fix conflict
Jul 27, 2024
68afd76
fix clippy
Jul 27, 2024
fb67367
fix clippy
Jul 29, 2024
a6b33c3
remove needless comment
Aug 14, 2024
bf44b77
Merge pull request #53 from datachainlab/feature/bep-341-2
yoshidan Aug 14, 2024
bbd0938
add validation for turn_length in request arg
Aug 14, 2024
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
127 changes: 125 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions light-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ hex-literal = "0.4.1"
[dev-dependencies]
store = { git = "https://github.com/datachainlab/lcp.git", rev = "v0.2.9", default-features = false }
time = { version = "0.3", default-features = false, features = ["macros", "parsing"] }
rstest = "0.18"

[features]
default = ["std"]
Expand Down
364 changes: 175 additions & 189 deletions light-client/src/client.rs

Large diffs are not rendered by default.

Loading
Loading