Skip to content

Commit 3aa3d61

Browse files
outSHpetermetz
authored andcommitted
test(connector-go-ethereum-socketio): add functional test, bug fix
- 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 <[email protected]>
1 parent 06867a5 commit 3aa3d61

File tree

10 files changed

+1216
-245
lines changed

10 files changed

+1216
-245
lines changed

packages/cactus-plugin-ledger-connector-go-ethereum-socketio/package.json

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
"name": "@hyperledger/cactus-plugin-ledger-connector-go-ethereum-socketio",
33
"version": "1.1.2",
44
"license": "Apache-2.0",
5+
"main": "dist/index.js",
6+
"module": "dist/index.js",
7+
"types": "dist/index.d.ts",
58
"scripts": {
69
"start": "cd ./dist && node common/core/bin/www.js",
710
"debug": "nodemon --inspect ./dist/common/core/bin/www.js",
@@ -28,6 +31,9 @@
2831
"web3": "0.20.7"
2932
},
3033
"devDependencies": {
34+
"@hyperledger/cactus-test-tooling": "1.1.2",
35+
"@hyperledger/cactus-common": "1.1.2",
36+
"@hyperledger/cactus-api-client": "1.1.2",
3137
"@types/config": "0.0.41"
3238
}
3339
}

0 commit comments

Comments
 (0)