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
tendermint_proto::Protobuf::encode_vec() cannot fail since it uses a vector with required capacity and calls prost::Message::encode() which only fails if the input buffer doesn't have sufficient capacity.
Sorry for the delay in getting to this @thanethomson. I started working on this before but got busy with other things. Just opened PR #1093 to resolve this. 👍
What went wrong?
tendermint_proto::Protobuf::encode_vec()
cannot fail since it uses a vector with required capacity and callsprost::Message::encode()
which only fails if the input buffer doesn't have sufficient capacity.Definition of "done"
tendermint_proto::Protobuf::encode_vec()
could simply return aVec<u8>
andunwrap()
internally.The text was updated successfully, but these errors were encountered: