Giter Site home page Giter Site logo

Comments (4)

xssnick avatar xssnick commented on August 27, 2024 1

Fixed cell issue in v0.1.4

from tonutils-go.

xssnick avatar xssnick commented on August 27, 2024

Hey @hotid, thank you for reporting, fixed, please pull v0.1.3 tag (latest)

RESP UINT 0
RESP CELL 596 bits, hex(000000000000000080051eec1b065126304253957c14810c949f9902ec722d1aa47adb690497b32f7cd0027e457611181313ddf9812a3ef5d3b9dcf80c7f1bdb9ff8d57fc9e74a3ce93c40)
RESP CELL 596 bits, hex(000000000000000080051eec1b065126304253957c14810c949f9902ec722d1aa47adb690497b32f7cd0027e457611181313ddf9812a3ef5d3b9dcf80c7f1bdb9ff8d57fc9e74a3ce93c40)
RESP CELL 0 bits, hex()```

from tonutils-go.

xssnick avatar xssnick commented on August 27, 2024

Oh, looks like found 1 more issue with bits, at the end of cell: 46 vs 40, will check

from tonutils-go.

xssnick avatar xssnick commented on August 27, 2024

Interesting, maybe its not bug actually :D

From lite-client log which you attached I see

02 95 000000000000000080051eec1b065126304253957c14810c949f9902ec722d1aa47adb690497b32f7cd0027e457611181313ddf9812a3ef5d3b9dcf80c7f1bdb9ff8d57fc9e74a3ce93c46 

0x02 means references number
0x95 means length in octets (bits * 4), in dec system it will equal 149, 149 octets = 596 bits which will equal

000000000000000080051eec1b065126304253957c14810c949f9902ec722d1aa47adb690497b32f7cd0027e457611181313ddf9812a3ef5d3b9dcf80c7f1bdb9ff8d57fc9e74a3ce93c40

which is actual result of this library. (0x40 at the end)

Maybe its lite client hex representation bug, but I will try to clarify it.

So IMO, you can use it safely for now, I'll write here result of research later.

Discussed this in deev chat and found issue, will fix asap.

from tonutils-go.

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.