Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Example tx.js returns internal server error #30

Open
dnck opened this issue Jul 22, 2019 · 2 comments
Open

Example tx.js returns internal server error #30

dnck opened this issue Jul 22, 2019 · 2 comments

Comments

@dnck
Copy link
Contributor

dnck commented Jul 22, 2019

Expected Behavior

I expect the example/tx.js from the dev branch to work with a zero value transaction with the helix-1.0/dev branch node running on localhost.

Current Behavior

The client returns an Internal Server Error.

Steps to Reproduce

  1. Fork helix-lib, clone, and checkout dev branch set to track upstream dev on local computer.
npm init
npm i @helixnetwork/core
  1. Fork helix-1-0, clone, and checkout dev branch set to track upstream dev on local computer.
  2. Put the private key for the coordinator into helix-1.0/resources
  3. Start helix-1.0 with default configurations
java -jar target/helix*.jar -p 14700 
  1. Run the example/tx.js from the client directory.

Version:

  • Operating System: Ubuntu bionic beaver
  • Clean installs of helix-1.0 dev branch, Helix-lib dev branch.

Failure Logs

The steps result in the helix-1.0 log issuing,

07/22 14:20:24.238 [XNIO-1 task-4] ERROR net.helix.hlx.service.API - API Validation failed: Invalid parameters

And the client console issuing,

Request error: Internal Server Error

Note

I think this is related to the refactor of the helix-1.0 node:

HelixNetwork/pendulum@023efc3

@oracle58
Copy link
Contributor

Hey Dan, most likely associated to the refactoring done recently (HelixNetwork/pendulum#99) .hbytes parameter would have to be changed to txs in the lib, which will be done soon.

@dnck
Copy link
Contributor Author

dnck commented Jul 22, 2019

Hey Dan, most likely associated to the refactoring done recently (HelixNetwork/helix-1.0#99) .hbytes parameter would have to be changed to txs in the lib, which will be done soon.

OK - will check back later for update.

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

No branches or pull requests

2 participants