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
{{ message }}
This repository was archived by the owner on Dec 10, 2025. It is now read-only.
Hello, Sir. I have deployed a Contract to the era_node_test network. Using zysync2-java, I am able to call view methods within the Contract, but I am unable to invoke methods that consume gas.
🖥️ Environment
Operating System & Version: [e.g., Ubuntu 22.04]
Other relevant environment details: zksync-java0.3.0
17:28:02.420 [main] DEBUG org.web3j.protocol.http.HttpService - <-- END HTTP (87-byte body)
Exception in thread "main" org.web3j.protocol.exceptions.TransactionException: Transaction 0x4f22aee9d0e477914df3b4ab81a2b963c739d27e289df805fbf5bb7e2d3453ed has failed with status: 0x0. Gas used: 130610. Revert reason: 'execution reverted'.
at org.web3j.tx.Contract.executeTransaction(Contract.java:435)
at org.web3j.tx.Contract.executeTransaction(Contract.java:374)
at org.web3j.tx.Contract.executeTransaction(Contract.java:368)
at org.web3j.tx.Contract.executeTransaction(Contract.java:363)
at org.web3j.tx.Contract.lambda$executeRemoteCallTransaction$3(Contract.java:468)
at org.web3j.protocol.core.RemoteCall.send(RemoteCall.java:42)
at Main.main(Main.java:61)
`