Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

feat(object): object.put protobuf encoding test #7

Merged
merged 1 commit into from
May 13, 2016
Merged

Conversation

dignifiedquire
Copy link
Contributor

Closes #3

@daviddias
Copy link
Contributor

go-ipfs doesn't like the protobuf

Uncaught AssertionError: expected [Error: invalid character 'S' looking for beginning of value] to not exist

I wonder is because it gets stringified to be put on the wire. @whyrusleeping thoughts?

@daviddias
Copy link
Contributor

Note that we have tests to match the protobufs generated in JS to the ones in Go, byte by byte. Sharing this so that you don't spend time trying to see if the protobuf is correctly formated.

@dignifiedquire
Copy link
Contributor Author

This PR is correct, the issue was in js-ipfs-api see this PR for a fix: ipfs-inactive/js-ipfs-http-client#272

@daviddias daviddias merged commit e6fbeb6 into master May 13, 2016
@daviddias daviddias deleted the proto branch May 13, 2016 21:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants