Closed mhchia closed 6 years ago
"proto: invalid utf-8 string" occurs in addpeer and broadcastcollation. Reference: https://github.com/ethresearch/sharding-p2p-poc/pull/33#issuecomment-411469138
addpeer
broadcastcollation
Change type blobs in message Collation from string to []byte
blobs
Additionally
listeningshards_test.go
Hash
keccak
GetCollationHash
TODO
AddPeer
![put a cute animal picture link inside the parentheses]()
cc @NIC619
What was wrong?
"proto: invalid utf-8 string" occurs in
addpeer
andbroadcastcollation
. Reference: https://github.com/ethresearch/sharding-p2p-poc/pull/33#issuecomment-411469138How was it fixed?
Change type
blobs
in message Collation from string to []byteAdditionally
listeningshards_test.go
Hash
tokeccak
andGetCollationHash
TODO
AddPeer
Cute Animal Picture
![put a cute animal picture link inside the parentheses]()