You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set the polling interval in Web3j.build not work for abi generated contract instance.
Issue_description
First I tried to build a web3j instance with the default build method. When I use the generated contract class to make a contract call, it took about 15 seconds to get the transaction receipt.
Then I tried to use Web3j.build(url, 500L,...) to build the instance, but it didn't work.
Last, I tried to load the contract instance with a custom transaction manager:
final TransactionManager txManager = new RawTransactionManager(this.web3j, this.credentials, -1L, 20, 500L); contractInstance.load(address, web3j, txManager, gasProvider)
then I can get the transaction receipt will quickly.
@RealDeanZhao the polling interval that is set is used in combination with flowable the way you did it is the correct way. I will update the documentation to make this clear.
Issue_title
Set the polling interval in Web3j.build not work for abi generated contract instance.
Issue_description
First I tried to build a web3j instance with the default build method. When I use the generated contract class to make a contract call, it took about 15 seconds to get the transaction receipt.
Then I tried to use Web3j.build(url, 500L,...) to build the instance, but it didn't work.
Last, I tried to load the contract instance with a custom transaction manager:
final TransactionManager txManager = new RawTransactionManager(this.web3j, this.credentials, -1L, 20, 500L); contractInstance.load(address, web3j, txManager, gasProvider)
then I can get the transaction receipt will quickly.
Issue_context
Ethereum Client: Hyperledger Besu 1.3.5
Web3j: 4.5.7
The text was updated successfully, but these errors were encountered: