Skip to content

Commit

Permalink
feat(handle-pragma-devnet):
Browse files Browse the repository at this point in the history
  • Loading branch information
akhercha committed Oct 8, 2024
1 parent 323e359 commit 27687f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function decodeTransfersInBlock({ header, events }) {
export const config = {
streamUrl: "https://devnet.pragma.a5a.ch",
startingBlock: Number(0),
network: "pragma-devnet",
network: "starknet",
filter,
batchSize: 1,
finality: "DATA_STATUS_PENDING",
Expand Down
5 changes: 3 additions & 2 deletions examples/pragma/pragma-devnet/devnet-script-spot.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,10 @@ export const config = {
streamUrl: "https://devnet.pragma.a5a.ch",
startingBlock: Number(0),
network: "starknet",
finality: "DATA_STATUS_PENDING",
filter,
sinkType: "console",
batchSize: 1,
finality: "DATA_STATUS_PENDING",
sinkType: "postgres",
sinkOptions: {
// Send data as returned by `transform`.
// When `raw = false`, the data is sent together with the starting and end cursor.
Expand Down

0 comments on commit 27687f2

Please sign in to comment.