Skip to content

Commit

Permalink
new code structure and github action
Browse files Browse the repository at this point in the history
  • Loading branch information
billettc committed Apr 24, 2024
1 parent b862bfd commit 487ec4d
Show file tree
Hide file tree
Showing 21 changed files with 73 additions and 3,668 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ jobs:
echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
echo "##[set-output name=release_train;]$(echo ${GITHUB_REF#refs/heads/release/})"
- name: Build
run: go build -v -ldflags "-X main.version=${{ github.event.ref }} -X main.commit=${{ github.sha }} -X main.date=$(date -u +%Y-%m-%dT%H:%MZ)" -o ./firecosmos ./cmd/firecosmos
- name: Build Injective
working-directory: ./injective
run: go build -v -ldflags "-X main.version=${{ github.event.ref }} -X main.commit=${{ github.sha }} -X main.date=$(date -u +%Y-%m-%dT%H:%MZ)" -o ../fireinjective ./cmd/fireinjective

- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ jobs:
restore-keys: |
${{ runner.os }}-go-
- name: Run Tests
- name: Run Injective Tests
working-directory: ./injective
run: go test ./...

- name: Build
- name: Build Injective
working-directory: ./injective
run: go build ./...
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*.lz4
/.idea
/injective/.idea/
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<a href="https://www.streamingfast.io/">
<img width="100%" src="https://github.com/streamingfast/firehose-ethereum/raw/develop/assets/firehose-banner.png" alt="StreamingFast Fireshose Banner" />
</a>

# Firehose for Solana
[![reference](https://img.shields.io/badge/godoc-reference-5272B4.svg?style=flat-square)](https://pkg.go.dev/github.com/streamingfast/firehose-solana)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)


### License
[Apache 2.0](LICENSE)
65 changes: 0 additions & 65 deletions cmd/generate_one_block/main.go

This file was deleted.

19 changes: 0 additions & 19 deletions cmd/txhash/main.go

This file was deleted.

10 changes: 10 additions & 0 deletions cosmos/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module github.com/streamingfast/firehose-cosmos/cosmos

go 1.22

toolchain go1.22.0

require google.golang.org/protobuf v1.33.0
require github.com/google/go-cmp v0.6.0 // indirect

replace github.com/jhump/protoreflect => github.com/streamingfast/protoreflect v0.0.0-20231205191344-4b629d20ce8d
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package sf.cosmos.type.v2;
import "google/protobuf/timestamp.proto";
import "google/protobuf/duration.proto";

option go_package = "github.com/streamingfast/firehose-injective/pb/sf/injective/type/v1;pbinj";
option go_package = "github.com/streamingfast/firehose-cosmos/cosmos/pb/sf/cosmos/type/v1;pbcomos";

// Firehose-centric Block
message Block {
Expand Down
235 changes: 0 additions & 235 deletions go.mod

This file was deleted.

Loading

0 comments on commit 487ec4d

Please sign in to comment.