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

Adding eth_mining and eth_hashrate #34

Closed
wants to merge 65 commits into from

Conversation

Ferret-san
Copy link

  • Implemented eth_minining to return if a wallet is staking or not
  • Implemented eth_hashrate to return the staking difficulty as a hex value
  • Included changes done for local docker container development

Makfile: add make rules for local test purposes

pkg/eth/rpc_types: refactor GetBlockByHashRequest.UnmarshalJSON()

pkg/transformer/eth_getBlockByHash: small refactor ProxyETHGetBlockByHash.request(); add todos to discuss

.gitignore: add api.rest
…refactor at ProxyETHGetBlockByHash.request()
…tions `from` field at getTransactionByHash()
IntegralTeam and others added 25 commits February 15, 2021 14:48
…ponseBodyToResult()

(cherry picked from commit 94004967c981fd34876b1f4f82cbd3e72ec9b3c0)
Added a script (index.js) to test RPC calls through web3.js methods and a bash script that handles integration testing.
Separated the different libraries accordingly and updated the integration testing scripts.
A simple txt file highlighting differences between the pre-revision test-suite branch and the post-revision test-suite branch. A comparison is not created for logs that thad similar if not the exact same result.
Added a script (index.js) to test RPC calls through web3.js methods and a bash script that handles integration testing.
Separated the different libraries accordingly and updated the integration testing scripts.
A simple txt file highlighting differences between the pre-revision test-suite branch and the post-revision test-suite branch. A comparison is not created for logs that thad similar if not the exact same result.
@Ferret-san Ferret-san closed this Feb 15, 2021
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.

2 participants