Commit 5ab0183
v1.9 (#776)
* v1.8.2-dev
* fix CONTRIBUTING lint path (#683)
* Update linters and fix issues (#707)
* Update main.go (#706)
* chore: add `.env.example` (#696)
* chore(git): add *.env, !.env.example to .gitignore
* chore: .env.example
* docs: fix invalid link in the document (#690)
* Release the RISC-V binary. (#682)
Part of #681.
* Add support for Electra (#651)
* Replace go-*-client deps with electra forks
* Add processElectraPayload
* Run make fmt
* Replace Exits with WithdrawRequests
* Rename WithdrawRequest to WithdrawalRequest
* Run go mod tidy
* Use go-*-client@electra
* Upgrade go-eth2-client
* update deps
* Add t.Helper() call
* Add back nolint comment
* Replace attestantio/go-*-client deps
* Fix accidental change
* Update go-boost-utils
* Update go-eth2-client for alpha.7 support
* Fix mistake
* Update & reverse payload decoding order
* Revert decoding order & add replacements
* Update go-eth2-client
* Update go-builder-client
* Modify processElectraPayload to use a channel (#704)
* server: refactor processElectraPayload (#703)
* Update go-eth2-client to latest electra commit
* Remove nolint:canonicalheader comments
* Disable canonicalheader linter
---------
Co-authored-by: avalonche <[email protected]>
Co-authored-by: Tyler <[email protected]>
* Update golang to 1.23 (#717)
* Update linter tools (#718)
* Update dependencies (#716)
* Update go-ethereum to v1.14.13
* Update go-utils to v0.8.3
* Update uint256 to v1.3.2
* Update testify to v1.10.0
* Update urfave/cli/v3 to v3.0.0-beta1
* Update go-bitfield to v0.0.0-20240618144021-706c95b2dd15
* Bump golang.org/x/crypto from 0.23.0 to 0.31.0 (#714)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.23.0 to 0.31.0.
- [Commits](golang/crypto@v0.23.0...v0.31.0)
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Minor cleanup (#715)
* server: refactor bidRespKey
* server: split http handling and functionality
* Fix versionFlag to output to stdout (#710)
* Fix versionFlag to output to stdout
* Write version with fmt.Fprintf(cmd.Writer, ...)
---------
Co-authored-by: Justin Traglia <[email protected]>
Co-authored-by: Justin Traglia <[email protected]>
* server: split http handling and functionality (part2) (#721)
* server: split out logger preparation (#722)
* server: make processPayload generic (#723)
* server: re-add capella types (#724)
* server: re-add capella types
* Remove unnecessary type arguments
* Add missing verifyBlockhash for electra
---------
Co-authored-by: Justin Traglia <[email protected]>
* server: re-add bellatrix support (#725)
* server: re-add bellatrix support
* Remove unnecessary type arguments
* server: refactor TestGetPayloadFork tests (#726)
* server: refactor getPayloadForks tests
* server: remove old tests
* server: add nolint directive
* server: remove duplicate tests
* server: tiny refactor
* server: tiny refactor
* server: tiny refactor
* server: refactor tests again
* Rename denebHeader & add comment
---------
Co-authored-by: Justin Traglia <[email protected]>
* Fix various nits (#728)
* Make error message better
* Use phase0.Slot type for slots
* Do a little clean up in service
* Rename "_slot" to "slot"
* Clean up getHeader function
* Do some clean up in functionality
* Split functionality.go into get_{header,payload}.go (#730)
* Use consistent capitalization for log messages (#732)
* Add fixes to SendHTTPRequest (#735)
* add missing error check
* move error check and use the same format for header comments
* Bump github.com/ethereum/go-ethereum from 1.14.13 to 1.15.0 (#737)
Bumps [github.com/ethereum/go-ethereum](https://github.com/ethereum/go-ethereum) from 1.14.13 to 1.15.0.
- [Release notes](https://github.com/ethereum/go-ethereum/releases)
- [Commits](ethereum/go-ethereum@v1.14.13...v1.15.0)
---
updated-dependencies:
- dependency-name: github.com/ethereum/go-ethereum
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Forward validator registrations without decoding (#733)
* Bump github.com/ethereum/go-ethereum from 1.15.0 to 1.15.1 (#740)
Bumps [github.com/ethereum/go-ethereum](https://github.com/ethereum/go-ethereum) from 1.15.0 to 1.15.1.
- [Release notes](https://github.com/ethereum/go-ethereum/releases)
- [Commits](ethereum/go-ethereum@v1.15.0...v1.15.1)
---
updated-dependencies:
- dependency-name: github.com/ethereum/go-ethereum
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add SSZ tests for registerValidator (#741)
* Add SSZ tests for registerValidator
* Simplify conditional
* Fix a flakey test
* Remove support for relay monitors (#739)
* Remove support for relay monitors
* Remove blocknative relay from example
* Add getHeader SSZ support (#734)
* docs: fix Rémy Roy's guide link in README.md (#744)
* docs: fix Rémy Roy's guide link in README.md
* Update README.md
Co-authored-by: Marius van der Wijden <[email protected]>
---------
Co-authored-by: Marius van der Wijden <[email protected]>
* Bump github.com/ethereum/go-ethereum from 1.15.1 to 1.15.2 (#743)
Bumps [github.com/ethereum/go-ethereum](https://github.com/ethereum/go-ethereum) from 1.15.1 to 1.15.2.
- [Release notes](https://github.com/ethereum/go-ethereum/releases)
- [Commits](ethereum/go-ethereum@v1.15.1...v1.15.2)
---
updated-dependencies:
- dependency-name: github.com/ethereum/go-ethereum
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump github.com/attestantio/go-builder-client (#745)
* Add HeaderDateMilliseconds for improved request timing tracking (#748)
- Introduce new HeaderDateMilliseconds constant in constants.go
- Add HeaderDateMilliseconds to getHeader and processPayload methods
- Mark HeaderStartTimeUnixMS as deprecated with a comment
* Update dependencies (#755)
* Upgrade to go 1.24
* Update dependencies
* Update linters & fix complaints
* Update go versions elsewhere
* Add Hoodi testnet flag (#758)
* Add hoodi flag to the CLI
* Update docs
* Add getPayload SSZ support (#742)
* Start to add getPayload SSZ support
* Add log for failed content parsing
* Update go-builder-client
* Properly parse getPayload response content type
* s/relaysToRequestFrom/relays
* Do a single SSZ to JSON conversion if necessary
* Only use JSON if necessary
* Simplify
* Only do conversion if necessary
* Bump version to v1.9-rc3 (#759)
* Remove deprecated HeaderStartTimeUnixMS (#749)
- Remove HeaderStartTimeUnixMS constant from constants.go
- Remove HeaderStartTimeUnixMS from getHeader and processPayload methods
- Fully transition to using HeaderDateMilliseconds for request timing
Co-authored-by: Justin Traglia <[email protected]>
* Add more logging to registerValidator (#768)
* fix: JSON Content-Type for relay get payload w/o SSZ support (#769)
* Update linters (#772)
* Update linters & migrate golangci-lint config
* Fix linter errors
* Update all dependencies (#771)
* Update version to v1.9 (#775)
---------
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Chris Hager <[email protected]>
Co-authored-by: Jonas Warlike <[email protected]>
Co-authored-by: Tyler <[email protected]>
Co-authored-by: richard <[email protected]>
Co-authored-by: Lorenzo <[email protected]>
Co-authored-by: guckool <[email protected]>
Co-authored-by: Leonardo Arias <[email protected]>
Co-authored-by: avalonche <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marius van der Wijden <[email protected]>
Co-authored-by: coincashew <[email protected]>
Co-authored-by: Alexey Shekhirin <[email protected]>
Co-authored-by: Alexander Tesfamichael <[email protected]>
Co-authored-by: Jacob Kaufmann <[email protected]>1 parent cb1b521 commit 5ab0183
File tree
35 files changed
+3068
-1119
lines changed- .github/workflows
- cli
- cmd/test-cli
- config
- server
- mock
- types
- testdata
35 files changed
+3068
-1119
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | | - | |
| 3 | + | |
3 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
4 | 10 | | |
5 | 11 | | |
| 12 | + | |
6 | 13 | | |
7 | 14 | | |
8 | 15 | | |
| 16 | + | |
| 17 | + | |
9 | 18 | | |
10 | 19 | | |
11 | 20 | | |
12 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
13 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
14 | 28 | | |
| 29 | + | |
15 | 30 | | |
16 | | - | |
17 | 31 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | 32 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | 33 | | |
42 | 34 | | |
43 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
44 | 38 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | 51 | | |
53 | 52 | | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | 199 | | |
208 | 200 | | |
209 | 201 | | |
| |||
220 | 212 | | |
221 | 213 | | |
222 | 214 | | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
242 | | - | |
243 | 241 | | |
244 | 242 | | |
| 243 | + | |
| 244 | + | |
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | 261 | | |
266 | 262 | | |
267 | 263 | | |
| |||
0 commit comments