Fix content topic inconsistencies (#304)

This commit is contained in:
Hanno Cornelius 2021-03-17 09:21:23 +02:00 committed by GitHub
parent 297d8fd95f
commit ff25127c0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -83,7 +83,7 @@ message FilterRequest {
repeated ContentFilter contentFilters = 3; repeated ContentFilter contentFilters = 3;
message ContentFilter { message ContentFilter {
repeated string contentTopics = 1; repeated uint32 contentTopics = 1;
} }
} }

View File

@ -49,7 +49,7 @@ The `version` field MAY be filled out to allow for various types of payload encr
```protobuf ```protobuf
message WakuMessage { message WakuMessage {
optional bytes payload = 1; optional bytes payload = 1;
optional fixed32 contentTopic = 2; optional uint32 contentTopic = 2;
optional uint32 version = 3; optional uint32 version = 3;
} }
``` ```

View File

@ -120,7 +120,7 @@ TODO: discuss about the economic spam guarantees
// TODO to reflect this change on WakuMessage spec once the PR gets mature // TODO to reflect this change on WakuMessage spec once the PR gets mature
message WakuMessage { message WakuMessage {
optional bytes payload = 1; optional bytes payload = 1;
optional fixed32 contentTopic = 2; optional uint32 contentTopic = 2;
optional uint32 version = 3; optional uint32 version = 3;
optional ProofBundle proofBundle = 4; optional ProofBundle proofBundle = 4;
} }