Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Pubsub message fields #1077

Merged
merged 11 commits into from
Nov 17, 2017
Merged

Pubsub message fields #1077

merged 11 commits into from
Nov 17, 2017

Conversation

richardschneider
Copy link
Contributor

@richardschneider richardschneider commented Nov 14, 2017

  • Rename topicCIDs to topicIDs
  • msg.from is base64 encoded in go-ipfs

See the background discussion.

@richardschneider
Copy link
Contributor Author

@diasdavid Needs PR libp2p/js-libp2p-floodsub#49 and ipfs-inactive/interface-js-ipfs-core#169 released. Then update dependencies.

@ghost ghost assigned daviddias Nov 16, 2017
@ghost ghost added the status/in-progress In progress label Nov 16, 2017
@daviddias
Copy link
Member

@richardschneider deps updated. Could you please add some interop pubsub tests to make sure both communicate well?

@richardschneider
Copy link
Contributor Author

It's not an easy test to create; which is most likely why no-one has written it yet. I'm solving other issues now. Perhaps create an issue and assign it to me.

@daviddias
Copy link
Member

@richardschneider wrote the set up for you, all you have to do is npm run test:interop and whatever assertions you write there get checked. Wanna give it a try?

Copy link
Member

@daviddias daviddias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs interop test

@richardschneider
Copy link
Contributor Author

will try to write interop test tomorrow

@richardschneider
Copy link
Contributor Author

@diasdavid Could you merge these changes. Then I can starting testing from a solid base. Cheers!

@@ -39,7 +40,7 @@ class GoDaemon {
this.node = node
this.node.setConfig('Bootstrap', '[]', cb)
},
(res, cb) => this.node.startDaemon(cb),
(res, cb) => this.node.startDaemon(this.flags, cb),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@richardschneider this was causing all interop tests to fail.

@daviddias daviddias merged commit 9de6f4c into master Nov 17, 2017
@daviddias daviddias deleted the pubsub-message branch November 17, 2017 09:27
@ghost ghost removed the status/in-progress In progress label Nov 17, 2017
MicrowaveDev pushed a commit to galtproject/js-ipfs that referenced this pull request May 22, 2020
Too much greenkeeper noise and they are not critical to the project.
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