hyperledger-bevel / bevel

An automation framework for rapidly and consistently deploying production-ready DLT platforms
https://hyperledger-bevel.readthedocs.io/en/latest/
Apache License 2.0
347 stars 720 forks source link

Test the deployment of besu network with ethereum account generated using the geth binary #896

Closed suvajit-sarkar closed 4 years ago

suvajit-sarkar commented 4 years ago

Description

As a developer I want to generate ethereum account so that i can use them for smartcontract deployment

Use geth binary to generate the ethereum accounts and then use the accounts to deploy the Besu network

Acceptance Criteria

  1. Creating further stories if deployment is successful
lakshyakumar commented 4 years ago

Tested baf Besu code by adding the eth_accounts generated by the geth binary. The geth binary successfully created the ethereum accounts but the smartcontract deployment got failed with message "method is not enabled"

deploysmartcontractIssue

.

lakshyakumar commented 4 years ago
CreatedEthAccountswithweb3

Tested the creation of accounts using the web3.eth.accounts.privateKeyToAccount("privatekey") function, the function has created the ethereum accounts but the supplychain deployment is again failed with the message "method is not enabled".

lakshyakumar commented 4 years ago

image Tested the javascript code to create ethereum accounts, the supply chain deployment failed with the same message.

lakshyakumar commented 4 years ago

The next steps should be

use web3.eth.accounts.privateKeyToAccount() to create account in supplychain playbook.

suvajit-sarkar commented 4 years ago

903 bug is create for the investigation of this issue