flowchart LR
%% Data Sources
Node["EVM Node (Local or RPC)"]
%% AMP Core
subgraph AMP["AMP Indexer"]
Extract["Block and Log Extraction (Parallel)"]
Raw["Raw EVM Datasets Parquet in Object Storage"]
Compact["Compaction Optimized Parquet"]
This file contains hidden or 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
| └── apps | |
| └── contract-verification | |
| ├── reset.d.ts | |
| ├── .env.example | |
| ├── container | |
| ├── tsconfig.json | |
| ├── compiler.ts | |
| └── index.ts | |
| ├── scripts | |
| ├── local-d1.sh |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| TEMPO_RPC_URL="https://rpc-orchestra.testnet.tempo.xyz" | |
| # NOTE: This is a throaway PK created for this test | |
| PRIVATE_KEY=${PK:-"0xa4b3490c35582d544451fbbfd7a0e4c5fa4d0ded06563ccc199057c7a5e6c9de"} | |
| VERIFIER_URL=${VERIFIER_URL:-"https://contracts.tempo.xyz"} | |
| TEMP_DIR=$(mktemp -d) |
This file contains hidden or 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
| <h1 id="evm-benchmark-results">EVM Benchmark Results</h1> | |
| <p><em>Times shown are per-execution averages from 1 internal runs per benchmark.</em></p> | |
| <table> | |
| <thead> | |
| <tr> | |
| <th>Benchmark</th> | |
| <th>Guillotine (ms)</th> | |
| <th>REVM (ms)</th> | |
| <th>ethrex (ms)</th> | |
| <th>Guillotine-Rust (ms)</th> |
I initially followed the guide here: https://docs.sourcify.dev/docs/running-server.
I encountered some issues so I'm writing this guide based off-of the original one.
- PostgreSQL 16+
- Node.js LTS
-
Critical: when running any command, always wrap it with
~/dev/commands/command.shin the following format:/bin/bash ~/dev/commands/command.sh --timeout 30 <command>
Examples:
/bin/bash ~/dev/commands/command.sh --timeout 30 wrangler dev
-
/bin/bash ~/dev/commands/command.sh --timeout 30 bun dev
This file contains hidden or 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
| import * as React from 'react' | |
| import { Porto, Mode } from 'porto' | |
| import { WebView } from 'react-native-webview' | |
| const porto = Porto.create({ | |
| mode: Mode.reactNative(), | |
| }) | |
| const injected = /* javascript */ ` | |
| (function () { |
This file contains hidden or 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 hidden or 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
| type Node<K, V> = { | |
| key: K | |
| value: V | |
| previous: Node<K, V> | null | |
| next: Node<K, V> | null | |
| } | |
| export class InMemoryLru<Key, Value = unknown> { | |
| private readonly capacity: number | |
| private readonly map = new Map<Key, Node<Key, Value>>() |
NewerOlder