Skip to content

Commit

Permalink
Renames imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ansermino committed Nov 6, 2024
1 parent ee7822a commit af4a920
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .sfreleaser
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
global:
owner: streamingfast
owner: chainsafe
project: firehose-acme
binary: fireacme
language: golang
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.bundle
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ ARG SF_VERSION=latest
# image.
FROM ghcr.io/streamingfast/dummy-blockchain:$CHAIN_VERSION as chain

# The 'ghcr.io/streamingfast/firehose-acme' image is the one published by
# The 'ghcr.io/chainsafe/firehose-filecoin' image is the one published by
# Dockerfile found at the root of this project.
FROM ghcr.io/streamingfast/firehose-acme:$SF_VERSION
FROM ghcr.io/chainsafe/firehose-filecoin:$SF_VERSION

# Adjusted first element of copy to match the path of the binary in the chain image
COPY --from=chain /app/dummy-blockchain /app/dummy-blockchain
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Firehose Starter for new blockchain integrations
[![reference](https://img.shields.io/badge/godoc-reference-5272B4.svg?style=flat-square)](https://pkg.go.dev/github.com/streamingfast/firehose-acme)
[![reference](https://img.shields.io/badge/godoc-reference-5272B4.svg?style=flat-square)](https://pkg.go.dev/github.com/chainsafe/firehose-filecoin)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

What's [ACME](https://en.wikipedia.org/wiki/Acme_Corporation)?
Expand Down
4 changes: 2 additions & 2 deletions cmd/fireacme/main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
pbacme "github.com/streamingfast/firehose-acme/pb/sf/acme/type/v1"
pbacme "github.com/chainsafe/firehose-filecoin/pb/sf/acme/type/v1"
firecore "github.com/streamingfast/firehose-core"
fhCmd "github.com/streamingfast/firehose-core/cmd"
)
Expand All @@ -11,7 +11,7 @@ func main() {
ShortName: "acme",
LongName: "Acme",
ExecutableName: "dummy-blockchain",
FullyQualifiedModule: "github.com/streamingfast/firehose-acme",
FullyQualifiedModule: "github.com/chainsafe/firehose-filecoin",
Version: version,

FirstStreamableBlock: 1,
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/streamingfast/firehose-acme
module github.com/chainsafe/firehose-filecoin

go 1.22

Expand Down
4 changes: 2 additions & 2 deletions proto/buf.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

Protobuf definitions when dealing with Firehose Acme chain(s) like Acme Mainnet and Acme Testnet.

Foremost, this provides [sf.acme.types.v1.Block](https://buf.build/streamingfast/firehose-acme/docs/main:sf.acme.type.v1#sf.acme.type.v1.Block) which is used for consuming Firehose & Substreams Acme block model.
Foremost, this provides [sf.acme.types.v1.Block](https://buf.build/chainsafe/firehose-filecoin/docs/main:sf.acme.type.v1#sf.acme.type.v1.Block) which is used for consuming Firehose & Substreams Acme block model.

This is probably the only model you should really care about, the rest are meant for internal communications for Firehose operators.

Useful links:
- Documentation: [https://substreams.streamingfast.io/](https://substreams.streamingfast.io/) ([Firehose Docs](https://firehose.streamingfast.io/))
- Source: [https://github.com/streamingfast/firehose-acme](https://github.com/streamingfast/firehose-acme)
- Source: [https://github.com/chainsafe/firehose-filecoin](https://github.com/chainsafe/firehose-filecoin)
2 changes: 1 addition & 1 deletion proto/buf.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version: v1
name: buf.build/streamingfast/firehose-acme
name: buf.build/chainsafe/firehose-filecoin

lint:
use:
Expand Down
2 changes: 1 addition & 1 deletion proto/sf/acme/type/v1/type.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ syntax = "proto3";

package sf.acme.type.v1;

option go_package = "github.com/streamingfast/firehose-acme/pb/sf/acme/type/v1;pbacme";
option go_package = "github.com/chainsafe/firehose-filecoin/pb/sf/acme/type/v1;pbacme";

message BlockHeader {
uint64 height = 1;
Expand Down
2 changes: 1 addition & 1 deletion substreams.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ specVersion: v0.1.0
package:
name: acme
version: v1.0.0
url: https://github.com/streamingfast/firehose-acme
url: https://github.com/chainsafe/firehose-filecoin
doc: |
Protobuf definitions for developing Substreams Acme modules.
Expand Down

0 comments on commit af4a920

Please sign in to comment.