Skip to content

Commit

Permalink
Updated substreams.sink.files.v1 to be sf.substreams.sink.files.v1
Browse files Browse the repository at this point in the history
  • Loading branch information
maoueh committed Jan 10, 2023
1 parent c1fb775 commit 5b1d2d8
Show file tree
Hide file tree
Showing 8 changed files with 178 additions and 177 deletions.
5 changes: 3 additions & 2 deletions devel/sink-local/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

project="$ROOT/../.."
sink="$ROOT/../substreams-sink-files"

main() {
Expand All @@ -28,8 +29,8 @@ main() {
"--encoder=lines" \
"--state-store=$output_dir/working/state.yaml" \
"${SUBSTREAMS_ENDPOINT:-"mainnet.eth.streamingfast.io:443"}" \
"gs://staging.dfuseio-global.appspot.com/substreams/eth-token-transfers/spkg/substreams-v0.3.0.spkg" \
"${SUBSTREAMS_MODULE:-"map_json_transfers"}" \
"${project}/docs/tutorial/substreams.yaml" \
"${SUBSTREAMS_MODULE:-"jsonl_out"}" \
"$output_dir/out" \
"$@"
}
Expand Down
2 changes: 1 addition & 1 deletion encoder/lines.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/golang/protobuf/proto"
"github.com/streamingfast/substreams-sink-files/bundler/writer"
pbsinkfiles "github.com/streamingfast/substreams-sink-files/pb/substreams/sink/files/v1"
pbsinkfiles "github.com/streamingfast/substreams-sink-files/pb/sf/substreams/sink/files/v1"
pbsubstreams "github.com/streamingfast/substreams/pb/sf/substreams/v1"
)

Expand Down
2 changes: 1 addition & 1 deletion encoder/lines_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/streamingfast/bstream"
"github.com/streamingfast/substreams-sink-files/bundler/writer"
pbsinkfiles "github.com/streamingfast/substreams-sink-files/pb/substreams/sink/files/v1"
pbsinkfiles "github.com/streamingfast/substreams-sink-files/pb/sf/substreams/sink/files/v1"
pbsubstreams "github.com/streamingfast/substreams/pb/sf/substreams/v1"
"github.com/stretchr/testify/assert"
"github.com/test-go/testify/require"
Expand Down
4 changes: 2 additions & 2 deletions pb/last_generate.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
generate.sh - Fri Jan 6 14:05:20 EST 2023 - maoueh
streamingfast/substreams-sink-files revision: cc76c8b3a7ab3e8053006a2831e8d27b7a1f82bb
generate.sh - Tue Jan 10 11:00:42 EST 2023 - maoueh
streamingfast/substreams-sink-files revision: c1fb775ba17785a7839593b41564c09ed92a307b
167 changes: 167 additions & 0 deletions pb/sf/substreams/sink/files/v1/files.pb.go

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

167 changes: 0 additions & 167 deletions pb/substreams/sink/files/v1/files.pb.go

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
syntax = "proto3";

// The substreams.sink.files.v1 package can be use in your Substreams to defined a `map` module
// The `sf.substreams.sink.files.v1` package can be use in your Substreams to defined a `map` module
// whose output type will be one of the message defined in the package. The `substreams-sink-files`
// binary will then consume your module's output to create the files containing your extracted data.
//
// The current package supports a single output format which is the `Lines` message which represents
// a list of plain-text "line" that should be appended together in a single bundle.
package substreams.sink.files.v1;
package sf.substreams.sink.files.v1;

option go_package = "github.com/streamingfast/substreams-sink-files/pb/sf/substreams/sink/files/v1;pbsinkfiles";

Expand Down
Loading

0 comments on commit 5b1d2d8

Please sign in to comment.