GithubHelp home page GithubHelp logo

Comments (4)

joshuafernandes avatar joshuafernandes commented on September 26, 2024

Hi @Atrass23
Could you please give us a set of reproducible steps so that we can look into this?

Cheers

from quorum-dev-quickstart.

Atrass23 avatar Atrass23 commented on September 26, 2024

Hi @joshuafernandes
i'm using a smart contract in which there is a simple function like this: function setStore(address[] memory _address) public{
for(uint i=0; i<_address.length; i++){
store.push(_address[i]);
}
}
when interacting with the GUI, inserting the array elements like this:
image
leads to the error described before.
also trying without [ ], "" or ' ' (I tried all the possible combinations).
So the problem is that i'm not finding a way to insert an array in the function input in the GUI.

from quorum-dev-quickstart.

NickSneo avatar NickSneo commented on September 26, 2024

Hey @Atrass23 ,

I have used your smart contract function -

// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;

contract Test {
    address[] store;
    function setStore(address[] memory _address) public{
        for(uint i=0; i<_address.length; i++){
            store.push(_address[i]);
        }
    }
}

Testing on Remix IDE, and it seems working fine for me with input - ["0x5B38Da6a701c568545dCfcB03FcB875f56beddC4","0xAb8483F64d9C6d1EcF9b849Ae677dD3315835cb2"]

Can you please test, if it is working fine?

from quorum-dev-quickstart.

joshuafernandes avatar joshuafernandes commented on September 26, 2024

Hello @Atrass23

Also confirm no issue with it, we even have a contract built in that does read/writes of arrays

image

Unfortunately can't sort this one out without being able to reproduce it

from quorum-dev-quickstart.

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.