GithubHelp home page GithubHelp logo

Comments (5)

androlo avatar androlo commented on May 14, 2024

Hey sorry for "injecting" myself - putting storage modifier in the JSON interface seems like a Solidity error to me rather then web3j, since the only references you can create through an external call is to calldata and memory (in case it is a non-external function). I can't remember how this is treated in libraries since i never call those externally, but im guessing those functions should probably be omitted from the JSON ABI entirely.

from web3j.

conor10 avatar conor10 commented on May 14, 2024

Are you able to provide an ABI file extract? It may make sense to get web3j to ignore.

from web3j.

colortigerhu avatar colortigerhu commented on May 14, 2024

Hello conor,

The ABI is here:
[{"constant":false,"inputs":[{"name":"i","type":"uint256"},{"name":"arry","type":"address[] storage"}],"name":"removeAddress","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"a","type":"address"},{"name":"arry","type":"address[] storage"}],"name":"findAddress","outputs":[{"name":"","type":"int256"}],"payable":false,"type":"function"}]

File is uploaded(you can rename it to Lib1.abi):

Lib1.abi.txt

from web3j.

conor10 avatar conor10 commented on May 14, 2024

Fine - so web3j should ignore these when specified.

from web3j.

conor10 avatar conor10 commented on May 14, 2024

Fixed.

from web3j.

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.