Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Substreams rust setup #14

Merged
merged 9 commits into from
Mar 29, 2024
Merged

Conversation

ssd04
Copy link
Contributor

@ssd04 ssd04 commented Mar 28, 2024

Added substreams example with rust setup.
Added proto structures for outport block data.

Cargo.lock Outdated
@@ -0,0 +1,579 @@
# This file is automatically @generated by Cargo.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we move the rust substreams example into a subpackage ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved rust substreams setup to separate folder

Cargo.toml Outdated
@@ -0,0 +1,17 @@
[package]
name = "firehose-multiversx"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rename to substreams-multiversx

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

substreams.yaml Outdated
@@ -13,3 +13,16 @@ protobuf:
- sf/multiversx/type/v1/type.proto
importPaths:
- ./proto

binaries:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we move the example related code to a separate substreams yaml inside the example package?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@ssd04 ssd04 marked this pull request as ready for review March 29, 2024 13:34

[build-dependencies]
prost-build = "0.11.9"
protoc-rust = "2"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, removed unused deps

@AdoAdoAdo AdoAdoAdo merged commit 490a117 into update-from-latest-acme Mar 29, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants