Code Monkey home page Code Monkey logo

Comments (5)

maoueh avatar maoueh commented on August 17, 2024

No idea, if you can create a reproducible test case in eos-go, I can take a look. You will need the ABI as well as the struct data you are trying to encode. It's possible the format has changed.

Try with develop branch, some changes landed there around improved support for LEAP.

from eos-go.

matthewdarwin avatar matthewdarwin commented on August 17, 2024

From telegram:

Sebastian Montero, [2022-10-29 7:51 P.M.]
Hi, I'm not sure if this is the correct forum for this question, but after compiling a contract with the LEAP CDT, I can no longer call contract actions using the eos canada eos go client(v0.10.2), I get a pack data exception, like the following:
cannot pack action data for action: Internal Service Error: Pack data exception: Missing field 'first' in input object while processing struct

Is anyone having the same issue?

Jeeyong "conr2d" Um, [2022-10-29 11:43 P.M.]
[In reply to Sebastian Montero]
I guess this change causes your issue.
AntelopeIO/cdt@e8bc581

Jeeyong "conr2d" Um, [2022-10-29 11:45 P.M.]
If you provide the items with the key "key" and "value", it should be "first" and "second" instead. Or, eos go client might have hard coded key names, then it needs to be fixed by the maintainer of eos go client.

from eos-go.

sebastianmontero avatar sebastianmontero commented on August 17, 2024

I tried with the develop branch, but I still get the same error

from eos-go.

maoueh avatar maoueh commented on August 17, 2024

I searched for key within the repository and did not spot the offending occurence, a repro test case will be needed.

from eos-go.

sebastianmontero avatar sebastianmontero commented on August 17, 2024

@maoueh my bad, the "key" and "value" names are specified in the field struct tags, changing them fixed the issue

from eos-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.