-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* docs: instructions for how to work locally with CLI * commit example repo * feat: support for phantom events * run in prod * fix: last path fix to inherit from dev computer * docs: update readme for phantom * docs: phantom docs * docs: reference etherscan API keys * fix: create API key to post overlay * fix: resolve to the correct out after compile * docs: update phantom in places missed * feat: WIP shadow * Write serialization logic from Forge output JSON to ethers_solc::CompilerOutput * Ensure that source files are properly parsed * serde::rename DeployShadowResponse * fix: resolve issue with no inputs in events syntax error for postgres * feat: phantom last touches * docs: update changelog.mdx * fix: better error message when etherscan is not supported for network * refactor: use --contract-name and --network in the cli for phantom * docs: fix contract mapping without string * fix: some regressions * fix: some regressions * fix: abi mapping * fix: inject shadow API key into jsonrpc provider * fix: do not inject http headers into createClient * fix: oops swap * fix: provider expose RetryClientError * fix: remove odd syncing log --------- Co-authored-by: Alexander <alex@deekerno.com>
- Loading branch information
1 parent
e889990
commit d74c831
Showing
48 changed files
with
2,339 additions
and
120 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
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,36 +1,43 @@ | ||
prod_build: | ||
RUSTFLAGS='-C target-cpu=native' cargo build --release --features jemalloc | ||
new_no_code: | ||
cargo run -- new --path /Users/joshstevens/code/rindexer/examples no-code | ||
RUSTFLAGS='-C target-cpu=native' cargo run --release --features jemalloc -- new --path $(CURDIR)/../examples no-code | ||
new_rust: | ||
RUSTFLAGS='-C target-cpu=native' cargo run --release --features jemalloc -- new --path /Users/joshstevens/code rust | ||
start: | ||
cargo run -- start --path /Users/joshstevens/code/rindexer/examples/rindexer_demo_cli all | ||
start_prod: | ||
RUSTFLAGS='-C target-cpu=native' cargo run --release --features jemalloc -- start all | ||
RUSTFLAGS='-C target-cpu=native' cargo run --release --features jemalloc -- new --path $(CURDIR)/../../ rust | ||
start_indexer: | ||
cargo run -- start --path /Users/joshstevens/code/rindexer/examples/rindexer_demo_cli indexer | ||
start_indexer_base_paint: | ||
RUSTFLAGS='-C target-cpu=native' cargo run --release --features jemalloc -- start --path /Users/joshstevens/code/rindexer/examples/base_paint indexer | ||
start_graphql_base_paint: | ||
RUSTFLAGS='-C target-cpu=native' cargo run --release --features jemalloc -- start --path /Users/joshstevens/code/rindexer/examples/base_paint graphql | ||
start_indexer_prod: | ||
RUSTFLAGS='-C target-cpu=native' cargo run --release --features jemalloc -- start --path /Users/joshstevens/code/rindexer/examples/rindexer_demo_cli all | ||
start_indexer_lens_mirrors: | ||
RUSTFLAGS='-C target-cpu=native' cargo run --release --features jemalloc -- start --path /Users/joshstevens/code/rindexer/examples/lens_mirrors all | ||
RUSTFLAGS='-C target-cpu=native' RUST_BACKTRACE='full' cargo run --release --features jemalloc -- start --path $(CURDIR)/../examples/rindexer_demo_cli indexer | ||
start_all: | ||
RUSTFLAGS='-C target-cpu=native' RUST_BACKTRACE='full' cargo run --release --features jemalloc -- start --path $(CURDIR)/../examples/rindexer_demo_cli all | ||
start_graphql: | ||
cargo run -- start --path /Users/joshstevens/code/rindexer/examples/rindexer_demo_cli graphql | ||
start_indexer_uniswap_v3_factory: | ||
RUSTFLAGS='-C target-cpu=native' cargo run --release --features jemalloc -- start --path /Users/joshstevens/code/rindexer/examples/uniswap_v3_factory all | ||
codegen: | ||
RUSTFLAGS='-C target-cpu=native' cargo run --release --features jemalloc -- codegen --path /Users/joshstevens/code/kami typings | ||
RUSTFLAGS='-C target-cpu=native' RUST_BACKTRACE='full' cargo run --release --features jemalloc -- start --path $(CURDIR)/../examples/rindexer_demo_cli graphql | ||
codegen_typings: | ||
cargo run -- codegen typings | ||
RUSTFLAGS='-C target-cpu=native' cargo run --release --features jemalloc -- codegen --path $(CURDIR)/../rindexer_rust_playground typings | ||
codegen_indexer: | ||
cargo run -- codegen indexer | ||
RUSTFLAGS='-C target-cpu=native' cargo run --release --features jemalloc -- codegen --path $(CURDIR)/../rindexer_rust_playground indexer | ||
codegen_graphql: | ||
cargo run -- codegen --path /Users/joshstevens/code/rindexer/examples/base_paint graphql --endpoint http://0.0.0.0:5005/graphql | ||
RUSTFLAGS='-C target-cpu=native' cargo run --release --features jemalloc -- codegen --path $(CURDIR)/../examples/rindexer_demo_cli graphql --endpoint http://0.0.0.0:5005/graphql | ||
add_contract: | ||
RUSTFLAGS='-C target-cpu=native' cargo run --release --features jemalloc -- add --path /Users/joshstevens/code/rindexer/examples/rindexer_demo_cli contract | ||
RUSTFLAGS='-C target-cpu=native' cargo run --release --features jemalloc -- add --path $(CURDIR)/../examples/rindexer_demo_cli contract | ||
delete: | ||
RUSTFLAGS='-C target-cpu=native' cargo run --release --features jemalloc -- delete --path /Users/joshstevens/code/rindexer/examples/rindexer_demo_cli | ||
prod_build: | ||
RUSTFLAGS='-C target-cpu=native' cargo build --release --features jemalloc | ||
RUSTFLAGS='-C target-cpu=native' cargo run --release --features jemalloc -- delete --path $(CURDIR)/../examples/rindexer_demo_cli | ||
phantom_init: | ||
RUSTFLAGS='-C target-cpu=native' cargo run --release --features jemalloc -- phantom --path $(CURDIR)/../examples/rindexer_demo_cli init | ||
phantom_clone: | ||
RUSTFLAGS='-C target-cpu=native' cargo run --release --features jemalloc -- phantom --path $(CURDIR)/../examples/rindexer_demo_cli clone --contract-name RocketPoolETH --network ethereum | ||
phantom_compile: | ||
RUSTFLAGS='-C target-cpu=native' cargo run --release --features jemalloc -- phantom --path $(CURDIR)/../examples/rindexer_demo_cli compile --contract-name RocketPoolETH --network ethereum | ||
phantom_deploy: | ||
RUSTFLAGS='-C target-cpu=native' cargo run --release --features jemalloc -- phantom --path $(CURDIR)/../examples/rindexer_demo_cli deploy --contract-name RocketPoolETH --network ethereum | ||
help: | ||
RUSTFLAGS='-C target-cpu=native' cargo run --release --features jemalloc -- phantom --help | ||
|
||
|
||
################################################################################ | ||
# LOCAL NONE CHECKED IN PROJECT COMMANDS | ||
################################################################################ | ||
start_indexer_base_paint: | ||
RUSTFLAGS='-C target-cpu=native' cargo run --release --features jemalloc -- start --path $(CURDIR)/../examples/base_paint indexer | ||
start_graphql_base_paint: | ||
RUSTFLAGS='-C target-cpu=native' cargo run --release --features jemalloc -- start --path $(CURDIR)/../examples/base_paint graphql | ||
start_indexer_lens_mirrors: | ||
RUSTFLAGS='-C target-cpu=native' cargo run --release --features jemalloc -- start --path $(CURDIR)/../examples/lens_mirrors 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
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
Oops, something went wrong.