Files
mev-beta/.envrc
Krypto Kajun 850223a953 fix(multicall): resolve critical multicall parsing corruption issues
- Added comprehensive bounds checking to prevent buffer overruns in multicall parsing
- Implemented graduated validation system (Strict/Moderate/Permissive) to reduce false positives
- Added LRU caching system for address validation with 10-minute TTL
- Enhanced ABI decoder with missing Universal Router and Arbitrum-specific DEX signatures
- Fixed duplicate function declarations and import conflicts across multiple files
- Added error recovery mechanisms with multiple fallback strategies
- Updated tests to handle new validation behavior for suspicious addresses
- Fixed parser test expectations for improved validation system
- Applied gofmt formatting fixes to ensure code style compliance
- Fixed mutex copying issues in monitoring package by introducing MetricsSnapshot
- Resolved critical security vulnerabilities in heuristic address extraction
- Progress: Updated TODO audit from 10% to 35% complete

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-17 00:12:55 -05:00

37 lines
1.2 KiB
Bash

# Global configuration for reusable development tools
# This file can be sourced by scripts to share configuration
# Default configuration values
export TEST_LEVEL="${TEST_LEVEL:-basic}"
export COVERAGE="${COVERAGE:-false}"
export OUTPUT_DIR="${OUTPUT_DIR:-test-results}"
export PACKAGE_FILTER="${PACKAGE_FILTER:-./...}"
export TIMEOUT="${TIMEOUT:-10m}"
export JUNIT_OUTPUT="${JUNIT_OUTPUT:-false}"
# Build configuration
export BINARY_NAME="${BINARY_NAME:-$(basename $(pwd))}"
export BINARY_DIR="${BINARY_DIR:-bin}"
export MAIN_FILE="${MAIN_FILE:-.}"
export BUILD_TAGS="${BUILD_TAGS:-}"
export LDFLAGS="${LDFLAGS:-}"
export OUTPUT="${OUTPUT:-$BINARY_DIR/$BINARY_NAME}"
export GOOS="${GOOS:-$(go env GOOS)}"
export GOARCH="${GOARCH:-$(go env GOARCH)}"
# Profile configuration
export PROFILE_TYPES="${PROFILE_TYPES:-cpu,mem,block,mutex}"
export REPORT_DIR="${REPORT_DIR:-reports/performance}"
# Common directories
export LOGS_DIR="${LOGS_DIR:-logs}"
export REPORTS_DIR="${REPORTS_DIR:-reports}"
export STORAGE_DIR="${STORAGE_DIR:-storage}"
export CONFIG_DIR="${CONFIG_DIR:-config}"
# Create directories if they don't exist
mkdir -p "$LOGS_DIR" "$REPORTS_DIR" "$STORAGE_DIR" "$CONFIG_DIR" 2>/dev/null || true
ARBISCAN_API_KEY=H8PEIY79385F4UKYU7MRV5IAT1BI1WYIVY