Re-wrote a bunch of Solana code to avoid all the bloated and unecessary clones

This commit is contained in:
Matthieu Vachon
2024-02-14 11:02:54 -05:00
parent ce8676b337
commit 8534cfb946
6 changed files with 126 additions and 149 deletions

View File

@@ -6,6 +6,10 @@ protogen:
build:
cargo build --target wasm32-unknown-unknown --release
.PHONY: run
run: build
substreams run substreams.yaml $(if $(MODULE),$(MODULE),map_block_meta) $(if $(START_BLOCK),-s $(START_BLOCK)) $(if $(STOP_BLOCK),-t $(STOP_BLOCK)) $(if $(PARAMS),-p '$(PARAMS)')
.PHONY: package
package: build
substreams pack substreams.yaml