Giter Club home page Giter Club logo

Comments (2)

Relfos avatar Relfos commented on July 24, 2024

I was investigating this now after reading the issue, as I checked that transaction, got the bytecode from it here:

https://neoscan-testnet.io/transaction/78a1552b1a4cf1eb04a9cfa4998965603a0beb148a80354f0d2d58ef5aeb58c2

Then I ran it through the official NEO VM, and the "amount" decodes correctly as a BigInteger with value 100000000000.

Also the code I'm using to include a BigInteger in the transaction comes from the official source too:
https://github.com/neo-project/neo-vm/blob/master/src/neo-vm/ScriptBuilder.cs#L48
The padding should make no difference and might be a red herring, the problem could lie in something else.

Could be a temporary network problem that made the tokens being reported as 0. I will investigate this further.

from neo-lux.

Relfos avatar Relfos commented on July 24, 2024

Fixed token transfer, in the end there were 3 different problems affecting like, like lack of nonce added to each tx meaning repeated transfers from same address with same quantity would fail, also for some reason the order of the script parameters was incorrect, just even if tx would get accepted it would fail at VM level.

from neo-lux.

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.