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

Example tx.js returns internal server error #30

@dnck

Description

@dnck

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions