Releases: pinax-network/substreams-sink-csv
Releases · pinax-network/substreams-sink-csv
v0.2.7
What's Changed
- improve logging by @DenisCarriere in #8
- Fix
last_block_num
&last_timestamp
from not updating - Added extra logging on start
- Converted logging to JSON format
- Fix
Full Changelog: v0.2.6...v0.2.7
v0.2.6
What's Changed
- fix sql table parsing by @DenisCarriere in #5
- add github workflows by @DenisCarriere in #6
Full Changelog: v0.2.5...v0.2.6
v0.2.5
What's new
- Improve SQL CREATE TABLE schema handling
$ substreams-sink-csv --schema schema.sql
Tested with
CREATE TABLE factory_pair_created (
"evt_tx_hash" VARCHAR(64),
"evt_index" INT,
"evt_block_time" TIMESTAMP,
"evt_block_number" DECIMAL,
"pair" VARCHAR(40),
"param3" DECIMAL,
"token0" VARCHAR(40),
"token1" VARCHAR(40),
PRIMARY KEY(evt_tx_hash,evt_index)
)
CREATE TABLE block_meta
(
id TEXT NOT NULL CONSTRAINT block_meta_pk PRIMARY KEY,
at TIMESTAMP,
number BIGINT,
hash TEXT,
parent_hash TEXT,
timestamp TIMESTAMP
);
What's Changed
- improve SQL create table handling by @DenisCarriere in #4
Full Changelog: v0.2.4...v0.2.5
v0.2.4
What's new
- fix issue with reading local spkg file
Following .env
should work:
// local file
MANIFEST=./src/substreams-eth-block-meta-v0.5.1.spkg
MANIFEST=substreams-eth-block-meta-v0.5.1.spkg
MANIFEST=/usr/local/share/substreams-eth-block-meta-v0.5.1.spkg
// remote URL
MANIFEST=https://github.com/streamingfast/substreams-eth-block-meta/releases/download/v0.5.1/substreams-eth-block-meta-v0.5.1.spkg
- add session logging
[substreams-sink-csv]
trace_id=3b26b6f6e35c425111b4ada6ad93f765 start_block=19340556 module_hash=3b180e1d2390afef1f22651581304e04245ba001 workers=4
last_block_num=0 last_timestamp= blocks=0 rows=0 bytes_read=310141454 bytes_written=0
- add
*.session
file
{
"traceId": "3b26b6f6e35c425111b4ada6ad93f765",
"resolvedStartBlock": "19340556",
"linearHandoffBlock": "19340556",
"maxParallelWorkers": "4"
}
What's Changed
- fix file remote path by @DenisCarriere in #1
- add logging for session by @DenisCarriere in #3
New Contributors
- @DenisCarriere made their first contribution in #1
Full Changelog: https://github.com/pinax-network/substreams-sink-csv/commits/v0.2.4