Skip to content

Commit

Permalink
test(connector-go-ethereum-socketio): add functional test, bug fix
Browse files Browse the repository at this point in the history
- Add functional test of all functions from go-ethereum-socketio validator.
- Refactor go-ethereum validator to allow importing as a module, to simplify the functional test.
- Fix sendRawTransaction to work with Verifier protocol.
  It couldn't be reached by any client library until now, so I consider this as "private" interface.
- Add common web3 client object in openethereum test ledger helper class.
- Add few new functions to ethereum test ledger helper class:
  newEthPersonalAccount, transferAssetFromCoinbase, deployContract.

Depends on hyperledger-cacti#2051
Depends on hyperledger-cacti#2047

Closes: hyperledger-cacti#2052

Signed-off-by: Michal Bajer <michal.bajer@fujitsu.com>
  • Loading branch information
outSH authored and petermetz committed Nov 22, 2022
1 parent 06867a5 commit 3aa3d61
Show file tree
Hide file tree
Showing 10 changed files with 1,216 additions and 245 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"name": "@hyperledger/cactus-plugin-ledger-connector-go-ethereum-socketio",
"version": "1.1.2",
"license": "Apache-2.0",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"start": "cd ./dist && node common/core/bin/www.js",
"debug": "nodemon --inspect ./dist/common/core/bin/www.js",
Expand All @@ -28,6 +31,9 @@
"web3": "0.20.7"
},
"devDependencies": {
"@hyperledger/cactus-test-tooling": "1.1.2",
"@hyperledger/cactus-common": "1.1.2",
"@hyperledger/cactus-api-client": "1.1.2",
"@types/config": "0.0.41"
}
}
Loading

0 comments on commit 3aa3d61

Please sign in to comment.