Code Monkey home page Code Monkey logo

Comments (3)

larrysalibra avatar larrysalibra commented on August 26, 2024

I added from config import log which solves the NameError but now getting other strange errors:

root@blockchainid:~# blockstore-cli get_consensus_at 385159
[DEBUG] [utils:40] (14105) ERROR in pretty print: expected string or buffer
null
root@blockchainid:~# nano +876 /usr/local/lib/python2.7/dist-packages/blockstore_client/utils.py
root@blockchainid:~# blockstore-cli get_consensus_at 385100
[DEBUG] [utils:40] (14111) ERROR in pretty print: No JSON object could be decoded
"f"
root@blockchainid:~# blockstore-cli get_consensus_at 385000
1
root@blockchainid:~# blockstore-cli get_consensus_at 384000
0
root@blockchainid:~#

from stacks.js.

larrysalibra avatar larrysalibra commented on August 26, 2024

get_nameops_at also seems affected by this (or something similar)

root@blockchainid:~# blockstore-cli get_nameops_at 385000
[DEBUG] [utils:40] (14166) ERROR in pretty print: expected string or buffer
[]
root@blockchainid:~# 

from stacks.js.

muneeb-ali avatar muneeb-ali commented on August 26, 2024

Here is the output of the two commands now:

(blockstore-client)muneeb@amsterdam:bin$ ./blockstore-cli get_consensus_at 384000
{
    "result": "00bc6f1800ea01674bcad0fdad8a1839"
}

and

(blockstore-client)muneeb@amsterdam:bin$ ./blockstore-cli get_nameops_at 385000
{}

As, @jcnelson mentioned that we're going to take another pass over the JSON RPC interface. And will be improving return formats etc of individual RPC calls.

from stacks.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.