1

I'm using web3J when i try to deploy contract i get

Error processing transaction request: Non-200 status code: &{Status:400 Bad Request StatusCode:400 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Date:[Mon, 29 May 2017 13:03:02 GMT] Server:[Warp/3.2.8]] Body:0xc425668cc0 ContentLength:-1 TransferEncoding:[chunked] Close:false Uncompressed:false Trailer:map[] Request:0xc42045a690 TLS:<nil>}

I used this methods

ClientTransactionManager transactionManager = new ClientTransactionManager(quorum,
            "0x0fbdc686b912d7722dc86510934589e0aaf3b55a", Arrays.asList(""));


    BigInteger contract = InstanceOkoro.deploy(quorum, transactionManager, GAS_PRICE, GAS_LIMIT, BigInteger.ZERO)
            .get().getGasPrice();

with

private static final BigInteger GAS_PRICE = new BigInteger("0");
private static final BigInteger GAS_LIMIT = new BigInteger("900000");
2
  • In your Quorum node configuration is the account that you're using for the transactions unlocked 0x0fbdc686b912d7722dc86510934589e0aaf3b55a? Also, can you provide the JSON-RPC output associated with the requests - see docs.web3j.io/…? Commented Jun 1, 2017 at 23:47
  • Can you please give me a sample Quorum code, how you called your application binary, executed the functions. ?
    – NaN
    Commented Aug 13, 2017 at 14:02

1 Answer 1

-2

I resolve it by changing GAS_LIMIT !

2
  • 2
    Changed it to what? Could you improve your answer?
    – q9f
    Commented Jun 14, 2017 at 11:06
  • I am also getting the same error when deploying contract privately in quorum could you please explain how you resolved it
    – Jazz
    Commented Nov 22, 2017 at 15:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.