-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
InvalidProtocolBufferException ABI #122
Comments
hi, @d1ksim |
How can I pass the ABI as a ByteString if setAbi accepts a String? |
You need to convert your ABI JSON string to a ByteString before passing it to the setAbi method. Here's how you can do it using the com.google.protobuf.ByteString class:
|
Hello, friends.
When using trident java and publishing a smart contract, I get the error: com.google.protobuf.InvalidProtocolBufferException: Expect message object but got
I don't understand what the problem is, I follow the instructions strictly.
https://gist.github.com/d1ksim/1a915d9c13a1efefe92e2059c3d06465
The text was updated successfully, but these errors were encountered: