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

Clean Up Client Project, Update Docs, Eliminate Unnecessary Items #399

Merged
merged 6 commits into from
Aug 15, 2018

Conversation

rauljordan
Copy link
Contributor

Hi all,

This is the final PR in the series for #315. We are finally tidying up everything within client and aligning the docs to match our latest work, the beacon spec, and ensure we have no remnants of deprecated items.

@rauljordan rauljordan added this to the Ruby milestone Aug 13, 2018
@rauljordan rauljordan self-assigned this Aug 13, 2018
@codecov
Copy link

codecov bot commented Aug 13, 2018

Codecov Report

Merging #399 into master will decrease coverage by 0.26%.
The diff coverage is 47.61%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #399      +/-   ##
==========================================
- Coverage   53.56%   53.29%   -0.27%     
==========================================
  Files          31       31              
  Lines        2500     2501       +1     
==========================================
- Hits         1339     1333       -6     
- Misses        999     1000       +1     
- Partials      162      168       +6
Impacted Files Coverage Δ
client/node/node.go 40.21% <47.05%> (+4.04%) ⬆️
client/rpcclient/service.go 82.35% <50%> (-4.75%) ⬇️
beacon-chain/rpc/service.go 91.11% <0%> (-8.89%) ⬇️
beacon-chain/blockchain/service.go 21.35% <0%> (-5.83%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9c76455...1f02733. Read the comment docs.

Copy link
Member

@terencechain terencechain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice! We are so close to a very clean client codebase

README.md Outdated
```

This will extract 1000ETH from your account balance and insert you into the SMC's attesters. Then, the program will listen for incoming block headers and notify you when you have been selected as to vote on proposals for a certain shard in a given period. Once you are selected, your sharding node will download collation information to check for data availability on vote on proposals that have been submitted via the `addHeader` function on the SMC.
Now, deposit ETH to become a validator in the contract. TODO: Add instructions for this.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -110,7 +103,7 @@ func (s *ShardEthereum) Start() {
}
}
debug.Exit() // Ensure trace and CPU profile data are flushed.
panic("Panic closing the sharding node")
panic("Panic closing the sharding client")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if it's better to call it beacon node client than sharding client? Up to you!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be too confusing with the beacon-chain project. This will eventually become a sharding client though, so I think it's alright.

README.md Outdated
--datadir /path/to/your/datadir \
--password /path/to/your/password.txt \
--networkid 12345
./bazel-bin/beacon-chain/YOUR-ARCHITECTURE/beacon-chain --web3provider ws://127.0.0.1:8546 --datadir /path/to/your/datadir --rpc-port 5000 --simulator --verbosity debug
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you change this to use bazel run and format it so that there is 1 flag per line? It helps for readability.

The concern about multiple bazel runs at the same time is no longer an issue.

README.md Outdated
--password /path/to/your/password.txt \
--shardid 0 \
--networkid 12345
./bazel-bin/client/YOUR-ARCHITECTURE/client --beacon-rpc-provider http://localhost:4000 --verbosity debug
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment here

Copy link
Member

@terencechain terencechain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but codecov is failing though

@rauljordan rauljordan merged commit f3fad73 into prysmaticlabs:master Aug 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants