Completed clean root directory structure: - Root now contains only: .git, .env, docs/, orig/ - Moved all remaining files and directories to orig/: - Config files (.claude, .dockerignore, .drone.yml, etc.) - All .env variants (except active .env) - Git config (.gitconfig, .github, .gitignore, etc.) - Tool configs (.golangci.yml, .revive.toml, etc.) - Documentation (*.md files, @prompts) - Build files (Dockerfiles, Makefile, go.mod, go.sum) - Docker compose files - All source directories (scripts, tests, tools, etc.) - Runtime directories (logs, monitoring, reports) - Dependency files (node_modules, lib, cache) - Special files (--delete) - Removed empty runtime directories (bin/, data/) V2 structure is now clean: - docs/planning/ - V2 planning documents - orig/ - Complete V1 codebase preserved - .env - Active environment config (not in git) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
18 lines
491 B
Bash
Executable File
18 lines
491 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
LOG_FILE=${1:-logs/diagnostics/multicall_samples.log}
|
|
LIMIT=${2:-10}
|
|
|
|
if [[ ! -f "$LOG_FILE" ]]; then
|
|
echo "No diagnostic log found at $LOG_FILE" >&2
|
|
exit 1
|
|
fi
|
|
|
|
echo "Found entries (showing up to $LIMIT):"
|
|
awk '{print NR"|"$0}' "$LOG_FILE" | tail -n "$LIMIT"
|
|
|
|
echo "\nTo fetch calldata for an entry (requires network + API key):"
|
|
echo " export ARBISCAN_API_KEY=<your_key>"
|
|
echo " ./scripts/fetch_arbiscan_tx.sh <tx_hash> | jq -r '.result.input'"
|