Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt inx-mqtt to iota 2.0 #100

Merged
merged 30 commits into from
Sep 20, 2023
Merged

Adapt inx-mqtt to iota 2.0 #100

merged 30 commits into from
Sep 20, 2023

Conversation

jkrvivian
Copy link
Contributor

No description provided.

components/mqtt/publish.go Outdated Show resolved Hide resolved
components/mqtt/publish.go Outdated Show resolved Hide resolved
components/mqtt/publish.go Outdated Show resolved Hide resolved
if err != nil {
return
}

s.PublishRawOnTopicIfSubscribed(topicBlocks, blk.GetData())

switch payload := block.Payload.(type) {
basicBlk, isBasicBlk := block.Block.(*iotago.BasicBlock)
Copy link
Contributor

Choose a reason for hiding this comment

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

I still think it will be valuable to have a topic for validator blocks, but maybe we can add that in the future?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're right, I always forgot about validator blocks. 😛
Let's add that in the future.

@muXxer muXxer merged commit 6ea078f into feat/iota-core Sep 20, 2023
4 checks passed
@muXxer muXxer deleted the feat/adapt-to-iota2.0 branch September 20, 2023 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants