-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from streamingfast/enol/v0.3.3
Upgrade to v0.3.3
- Loading branch information
Showing
4 changed files
with
64 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
specVersion: v0.1.0 | ||
package: | ||
name: "solana_common" | ||
version: v0.3.3 # based on v0.2.0 to keep the caches on the existing modules | ||
image: ./solana.png | ||
|
||
network: solana | ||
|
||
imports: | ||
solana: https://github.com/streamingfast/firehose-solana/releases/download/v0.1.1/solana-v0.1.1.spkg | ||
v020: https://spkg.io/streamingfast/solana-common-v0.2.0.spkg | ||
v030: https://spkg.io/streamingfast/solana-common-v0.3.0.spkg | ||
|
||
protobuf: | ||
excludePaths: | ||
- sf/substreams/rpc | ||
- sf/substreams/v1 | ||
- sf/substreams/sink | ||
- sf/substreams/index | ||
- sf/substreams/index/v1 | ||
- instructions.proto # sol.instructions.v1 from the v0.2.0 spkg | ||
- transactions.proto # sol.transactions.v1 from the v0.2.0 spkg | ||
|
||
binaries: | ||
default: | ||
type: wasm/rust-v1 | ||
file: ../target/wasm32-unknown-unknown/release/solana_common.wasm | ||
|
||
modules: | ||
- name: blocks_without_votes | ||
use: v020:blocks_without_votes # unchanged from v0.2.0 to keep the same hashes and caches | ||
|
||
- name: program_ids_without_votes | ||
use: v020:program_ids_without_votes # unchanged from v0.2.0 to keep the same hashes and caches | ||
|
||
- name: program_ids_and_accounts_without_votes | ||
kind: blockIndex | ||
inputs: | ||
- map: blocks_without_votes | ||
output: | ||
type: proto:sf.substreams.index.v1.Keys | ||
|
||
- name: transactions_by_programid_without_votes | ||
use: v030:transactions_by_programid_without_votes # unchanged from v0.3.0 to keep the same hashes and caches | ||
|
||
- name: transactions_by_programid_and_account_without_votes | ||
kind: map | ||
inputs: | ||
- params: string | ||
- map: blocks_without_votes | ||
blockFilter: | ||
module: program_ids_and_accounts_without_votes | ||
query: | ||
params: true | ||
output: | ||
type: proto:sf.substreams.solana.v1.Transactions | ||
|
||
params: # Default parameters for the filter modules. You can override these parameters based on your needs. | ||
transactions_by_programid_without_votes: "program:4vMsoUT2BWatFweudnQM1xedRLfJgJ7hswhcpz4xgBTy" | ||
transactions_by_programid_and_account_without_votes: "program:4vMsoUT2BWatFweudnQM1xedRLfJgJ7hswhcpz4xgBTy || (account:Gnt27xtC473ZT2Mw5u8wZ68Z3gULkSTb5DuxJy7eJotD && program:FsJ3A3u2vn5cTVofAjvy6y5kwABJAqYWpe4975bi2epH)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
./substreams-v0.3.2.yaml | ||
substreams-v0.3.3.yaml |