Skip to content

Commit

Permalink
Updating pubsub_substream to simple
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBger committed Feb 26, 2024
1 parent 4636782 commit 2f6c69e
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion cmd/substreams-sink-pubsub/sink.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var sinkCmd = Command(sinkRunE,
Publishs block data on a google PubSub from a Substreams output.
The required arguments are:
- <manifest-path>: URL or local path to a '.yaml' file (e.g. './examples/pubsub_substream/substreams.yaml').
- <manifest-path>: URL or local path to a '.yaml' file (e.g. './examples/simple/substreams.yaml').
- <moduleName>: The module name returning publish instructions in the substreams.
- <topicName>: The PubSub topic name to publish the messages to.
Expand Down
24 changes: 12 additions & 12 deletions examples/simple/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/simple/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "pubsub_substream"
name = "simple"
version = "0.0.1"
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion examples/simple/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use substreams::pb::sf::substreams::v1::Clock;

use pb::pubsub::v1::{Attribute, Message, Publish};
use pb::sf::substreams::sink::pubsub::v1::{Attribute, Message, Publish};

mod pb;

Expand Down
2 changes: 1 addition & 1 deletion examples/simple/substreams.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
specVersion: v0.1.0
package:
name: pubsub_substream
name: simple
version: v0.1.0

protobuf:
Expand Down

0 comments on commit 2f6c69e

Please sign in to comment.