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
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.
com.google.protobuf.InvalidProtocolBufferException: Expect message object but got
hi, @d1ksim
From the error msg and codes you provide above, it seems like there is a mismatch between the expected protocol buffer message format and the actual data being passed.
Most likely, there is something wrong when generating the able string.
When setting the ABI for the contract, make sure you are passing it as a ByteString(you use String in your code) or in a format that the trident-java library expects.
maybe you can try and see if it works fine.
com.google.protobuf.InvalidProtocolBufferИсключение: ожидайте объекта сообщения, но получили
привет, @d1ksimСудя по ошибке msg и кодам, которые вы предоставили выше, кажется, что существует несоответствие между ожидаемым форматом буферного сообщения протокола и фактическими передаваемыми данными.Скорее всего, что-то не так при генерации умелой строки.Устанавливая ABI для контракта, убедитесь, что вы передаете его как ByteString (вы используете String в своем коде) или в формате, который ожидает библиотека trident-java.возможно, вы попробуете посмотреть, работает ли это нормально.
How can I pass the ABI as a ByteString if setAbi accepts a String?
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: