-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
41de446
commit 1acd5d1
Showing
16 changed files
with
103 additions
and
66 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
[package] | ||
name = "blocks" | ||
version = "0.2.0" | ||
authors = ["Denis <[email protected]>", "Zhi"] | ||
description = "Messari Blocks" | ||
license = "MIT" | ||
edition = "2021" | ||
publish = false | ||
[workspace] | ||
members = [ | ||
"blocks/evm", | ||
"common" | ||
] | ||
|
||
[badges] | ||
maintenance = { status = "actively-developed" } | ||
resolver = "2" | ||
|
||
[lib] | ||
crate-type = ["cdylib"] | ||
[workspace.package] | ||
edition = "2021" | ||
version = "0.1.0" | ||
|
||
[dependencies] | ||
[workspace.dependencies] | ||
substreams = "0.5" | ||
substreams-entity-change = "1.3" | ||
substreams-ethereum = "0.9" | ||
substreams-entity-change = "1.3" | ||
# substreams-antelope = "0.4" | ||
# substreams-bitcoin = "1.0" | ||
# substreams-near = "0.9" |
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,35 +1,3 @@ | ||
.PHONY: all | ||
all: | ||
make build | ||
make pack | ||
make graph | ||
make info | ||
|
||
.PHONY: build | ||
build: | ||
cargo build --target wasm32-unknown-unknown --release | ||
|
||
.PHONY: pack | ||
pack: | ||
substreams pack | ||
|
||
.PHONY: graph | ||
graph: | ||
substreams graph | ||
|
||
.PHONY: info | ||
info: | ||
substreams info | ||
|
||
.PHONY: run | ||
run: | ||
substreams run -e eth.substreams.pinax.network:443 graph_out -s 20293026 -t 20293027 | ||
|
||
.PHONY: gui | ||
gui: | ||
substreams gui -e eth.substreams.pinax.network:443 graph_out -s 1000 -t 1001 | ||
|
||
.PHONY: deploy | ||
deploy: | ||
graph build | ||
graph deploy --studio clock | ||
cd blocks/evm; $(MAKE) --no-print-directory all |
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,13 @@ | ||
[package] | ||
name = "raw_blocks_evm" | ||
edition.workspace = true | ||
version.workspace = true | ||
|
||
[lib] | ||
crate-type = ["cdylib"] | ||
|
||
[dependencies] | ||
common = { path = "../../common" } | ||
substreams-ethereum = { workspace = true } | ||
substreams-entity-change = { workspace = true } | ||
substreams = { workspace = true } |
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,35 @@ | ||
.PHONY: all | ||
all: | ||
make build | ||
make pack | ||
make graph | ||
make info | ||
|
||
.PHONY: build | ||
build: | ||
cargo build --target wasm32-unknown-unknown --release | ||
|
||
.PHONY: pack | ||
pack: | ||
substreams pack | ||
|
||
.PHONY: graph | ||
graph: | ||
substreams graph | ||
|
||
.PHONY: info | ||
info: | ||
substreams info | ||
|
||
.PHONY: run | ||
run: | ||
substreams run -e eth.substreams.pinax.network:443 graph_out -s 20293026 -t 20293027 | ||
|
||
.PHONY: gui | ||
gui: | ||
substreams gui -e eth.substreams.pinax.network:443 graph_out -s 1000 -t 1001 | ||
|
||
.PHONY: deploy | ||
deploy: | ||
graph build | ||
graph deploy --studio clock |
File renamed without changes.
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,7 @@ | ||
[package] | ||
name = "common" | ||
edition.workspace = true | ||
version.workspace = true | ||
|
||
[dependencies] | ||
substreams.workspace = true |
File renamed without changes.
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,4 +1,4 @@ | ||
[toolchain] | ||
channel = "1.65.0" | ||
channel = "1.69.0" | ||
components = [ "rustfmt" ] | ||
targets = [ "wasm32-unknown-unknown" ] |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.