I'm following this tutorial: link for building a private parity blockchain, for some reason I have to insert some binary data into smart contract. What do I have to do to let the smart contract store more than 1MB of data?
For Parity client I use web3j.
Contract contract = Contract.deploy(web3j, credentials, BigInteger.valueOf(5000L), BigInteger.valueOf(100_000_000L), bytes).send();
It always shows error: "Transaction is too big, see chain specification for the limit.".
I tried to increase "gasLimit" in chain spec but it seems not working.
Any help would be appreciated. Thanks.