Skip to content

DLC contract setDivision & unexpected end of JSON input #484

@JoseMiguelHerrera

Description

@JoseMiguelHerrera

Hi there everyone, I'm trying to give this interesting repo a spin, trying to create some DLC's, but I keep getting stuck at the point where I have to add the division to the contract.

I'm following the "Executing a Discreet Log Contract using LIT-AF" tutorial, and when I get to

dlc contract setdivision 1 20000 10000
I get

entered command: dlc contract setdivision 1 20000 10000
Funding set successfully

Which looks good on lit-af, and on the lit node I get
Arguments Passed: {"CIdx":1,"ValueFullyOurs":20000,"ValueFullyTheirs":10000} which also looks good.

However, when I do a
dlc contract view 1

I get
dlc error: unexpected end of JSON input

If this was a simple error regarding console output it wouldn't matter, but I beleive that this is prevening me from continuing the tutorial, as when I do a
dlc contract offer 1 1 (the peers are connected)

The peer I sent it to gets nothing, and in fact I get an error in its lit console

2024/05/18 20:58:32.634607 [DEBUG] Got message of len 65535 from peer ln15yn83wyx8glw66hcvpnmzfdh82sudd0qr8x39x
2024/05/18 20:58:32.634660 [ERROR] Error proccessing message: no handler found for messasge of type f8

Any ideas/help?

Cheers

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