Ich verwende web3J, wenn ich versuche, den Vertrag bereitzustellen, den ich bekomme
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>}
Ich habe diese Methoden verwendet
ClientTransactionManager transactionManager = new ClientTransactionManager(quorum,
"0x0fbdc686b912d7722dc86510934589e0aaf3b55a", Arrays.asList(""));
BigInteger contract = InstanceOkoro.deploy(quorum, transactionManager, GAS_PRICE, GAS_LIMIT, BigInteger.ZERO)
.get().getGasPrice();
mit
private static final BigInteger GAS_PRICE = new BigInteger("0");
private static final BigInteger GAS_LIMIT = new BigInteger("900000");
Ich löse es, indem ich GAS_LIMIT ändere!
Conor Swensson
NaN