-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Restructure Beacon Chain RPC Servers Into Subpackages #3975
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* rm'ed in protobuf * build proto * build proto * build proto * fix core package * Gazelle * Fixed all the tests * Fixed static test * Comment out spec test for now * One more skip * fix-roundRobinSync (#3862) * Starting but need new seed function * Revert initial sync * Updated Proposer Slashing * Fixed all tests * Lint * Update inclusion reward * Fill randao mixes with eth1 data hash * Test * Fixing test part1 * All tests passing * One last test * Updated config * Build proto * Proper skip message * Conflict and fmt * Removed crosslinks and shards. Built * Format and gazelle * Fixed all the block package tests * Fixed all the helper tests * All epoch package tests pass * All core package tests pass * Fixed operation tests * Started fixing rpc test * RPC tests passed! * Fixed all init sync tests * All tests pass * Fixed blockchain tests * Lint * Lint * Preston's feedback * Starting * Remove container * Fixed block spec tests * All passing except for block_processing test * Failing block processing test * Starting * Add AggregateAndProof * All mainnet test passes
* Starting * Add AggregateAndProof
* rm'ed in protobuf * build proto * build proto * build proto * fix core package * Gazelle * Fixed all the tests * Fixed static test * Comment out spec test for now * One more skip * fix-roundRobinSync (#3862) * Starting but need new seed function * Revert initial sync * Updated Proposer Slashing * Fixed all tests * Lint * Update inclusion reward * Fill randao mixes with eth1 data hash * Test * Fixing test part1 * All tests passing * One last test * Updated config * Build proto * Proper skip message * Conflict and fmt * Removed crosslinks and shards. Built * Format and gazelle * Fixed all the block package tests * Fixed all the helper tests * All epoch package tests pass * All core package tests pass * Fixed operation tests * Started fixing rpc test * RPC tests passed! * Fixed all init sync tests * All tests pass * Fixed blockchain tests * Lint * Lint * Preston's feedback * Starting * Remove container * Fixed block spec tests * All passing except for block_processing test * Failing block processing test * Starting * Add AggregateAndProof * All mainnet test passes * Unskip block util tests
* Starting * Add AggregateAndProof * Unskip slot processing mainnet test
* Rm outdated interop tests * Rm test runner * Gazelle
* Updated committee cache * Removed shuffled indices cache * Started testing run time * Lint * Fixed test
rauljordan
changed the title
Restructure Beacon Chain RPC Servers Into Subpackages
WIP: Restructure Beacon Chain RPC Servers Into Subpackages
Nov 11, 2019
Codecov Report
@@ Coverage Diff @@
## master #3975 +/- ##
=======================================
Coverage 20.13% 20.13%
=======================================
Files 166 166
Lines 10535 10535
=======================================
Hits 2121 2121
Misses 8114 8114
Partials 300 300 |
rauljordan
changed the title
WIP: Restructure Beacon Chain RPC Servers Into Subpackages
Restructure Beacon Chain RPC Servers Into Subpackages
Nov 12, 2019
rauljordan
requested review from
prestonvanloon,
terencechain,
nisdas,
0xKiwi and
shayzluf
November 12, 2019 04:52
shayzluf
reviewed
Nov 12, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
maybe beacon-chain/rpc/attester/attester_server.go could be changed to beacon-chain/rpc/attester/server.go since you created the directory structure
nisdas
approved these changes
Nov 12, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves #3973
Description
Write why you are making the changes in this pull request
This PR splits up our massive RPC server implementations into smaller subpackages with compartmentalized files and tests.
Change List
beacon/server.go
BeaconChainService
intobeacon/attestations.go
beacon_chain_server_test.go
into individual test files for groups of related functionalityNOTE: No logic changed in this PR, only files moved around