Skip to content
This repository has been archived by the owner on Dec 10, 2020. It is now read-only.

Add eth_protocolVersion and modularize createNode in tests #81

Merged
merged 1 commit into from
Dec 11, 2018

Conversation

aunyks
Copy link
Contributor

@aunyks aunyks commented Dec 10, 2018

Adding eth_protocolVersion.

Also abstracting the createNode function to the test helpers file, because every RPC test calls the function and it's best not to repeat its implementation in every RPC test.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 91.905% when pulling c47f202 on aunyks:master into 9f17eaa on ethereumjs:master.

@@ -84,7 +84,7 @@ class EthereumService extends Service {
* Returns all protocols required by this service
* @type {Protocol[]} required protocols
*/
protocols () {
get protocols () {
Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, this should just be a getter... good catch

Copy link
Contributor

@vpulim vpulim 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. Thanks

@vpulim vpulim merged commit 2b6e286 into ethereumjs:master Dec 11, 2018
@aunyks
Copy link
Contributor Author

aunyks commented Dec 12, 2018

Referencing #17 to keep track

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants