Skip to content

Commit

Permalink
update to v0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisCarriere committed Sep 26, 2024
1 parent 62aae11 commit 6981c09
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ publish:

.PHONY: gui
gui:
substreams gui ./substreams/antelope-transactions-v0.4.2.spkg -e eos.substreams.pinax.network:443 graph_out -s 387995902 --production-mode --params "graph_out=code:bbsdailyrwrd || code:dwebregistry || code:bbseosbridge || code:bbsbbsbbseos || code:bbsengagemnt || code:deweb.eosn"
substreams gui ./substreams/antelope-transactions-v0.5.0.spkg -e eos.substreams.pinax.network:443 graph_out --production-mode -s 393779876 -t 0 --production-mode --params "graph_out=code:bbsdailyrwrd || code:dwebregistry || code:bbseosbridge || code:bbsbbsbbseos || code:bbsengagemnt || code:deweb.eosn"
21 changes: 16 additions & 5 deletions schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ type Action @entity {
isInput: Boolean!
console: String!

# order by
timestamp: BigInt! # seconds
block_number: BigInt!

# derived fields
block: Block!
transaction: Transaction!
Expand All @@ -34,6 +38,10 @@ type DbOp @entity {
oldDataJson: String!
oldData: String!

# order by
timestamp: BigInt! # seconds
block_number: BigInt!

# derived fields
block: Block!
transaction: Transaction!
Expand All @@ -47,6 +55,10 @@ type Transaction @entity {
netUsage: BigInt!
scheduled: Boolean!

# order by
timestamp: BigInt! # seconds
block_number: BigInt!

# derived fields
block: Block!
actions: [Action!]! @derivedFrom(field: "transaction")
Expand All @@ -57,18 +69,17 @@ type Authorization @entity {
id: ID!
actor: String!
permission: String!

# derived fields
action: Action!
transaction: Transaction!
}

type Block @entity {
id: ID!
number: BigInt!
date: String!
month: String!
year: String!
timestamp: Timestamp!
number: BigInt!
previous: String!
producer: String!
timestamp: BigInt! # seconds
transactions: [Transaction!]! @derivedFrom(field: "block")
}
4 changes: 2 additions & 2 deletions subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ dataSources:
name: roundtable
network: eos
source:
startBlock: 391448823
startBlock: 393779876
package:
moduleName: graph_out
params: "code:bbsdailyrwrd || code:dwebregistry || code:bbseosbridge || code:bbsbbsbbseos || code:bbsengagemnt || code:deweb.eosn"
file: ./substreams/antelope-transactions-v0.4.2.spkg
file: ./substreams/antelope-transactions-v0.5.0.spkg
mapping:
kind: substreams/graph-entities
apiVersion: 0.0.5
Binary file removed substreams/antelope-transactions-v0.4.2.spkg
Binary file not shown.
Binary file added substreams/antelope-transactions-v0.5.0.spkg
Binary file not shown.

0 comments on commit 6981c09

Please sign in to comment.