fix: also update red-team.sh addresses to Base Sepolia (#873)
red-team.sh produces the stream JSONL that export-attacks.py parses, so they must agree on addresses. Update SWAP_ROUTER and NPM in red-team.sh to Base Sepolia and fix the invariant comment in export-attacks.py. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
99b3a8bc80
commit
53b3b995a6
2 changed files with 5 additions and 5 deletions
|
|
@ -31,7 +31,7 @@ import re
|
|||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
# ── Constants (must match red-team.sh and AttackRunner.s.sol) ──────────────────
|
||||
# ── Constants (must match red-team.sh and helpers/) ───────────────────────────
|
||||
WETH_ADDR = "0x4200000000000000000000000000000000000006"
|
||||
# Base Sepolia SwapRouter02 — https://sepolia.basescan.org/address/0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4
|
||||
SWAP_ROUTER_ADDR = "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4"
|
||||
|
|
|
|||
|
|
@ -43,10 +43,10 @@ RECENTER_PK=0x5de4111afa1a4b94908f83103eb1f1706367c2e68ca870fc3fb9a804cdab365a
|
|||
|
||||
# ── Infrastructure constants ───────────────────────────────────────────────────
|
||||
WETH=0x4200000000000000000000000000000000000006
|
||||
# Base mainnet SwapRouter02 — https://basescan.org/address/0x2626664c2603336E57B271c5C0b26F421741e481
|
||||
SWAP_ROUTER=0x2626664c2603336E57B271c5C0b26F421741e481
|
||||
# Base mainnet NonfungiblePositionManager — https://basescan.org/address/0x03a520B32c04bf3beef7BEb72E919cF822Ed34F3
|
||||
NPM=0x03a520B32c04bf3beef7BEb72E919cF822Ed34F3
|
||||
# Base Sepolia SwapRouter02 — https://sepolia.basescan.org/address/0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4
|
||||
SWAP_ROUTER=0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4
|
||||
# Base Sepolia NonfungiblePositionManager — https://sepolia.basescan.org/address/0x27F971cb582BF9E50F397e4d29a5C7A34f11faA2
|
||||
NPM=0x27F971cb582BF9E50F397e4d29a5C7A34f11faA2
|
||||
POOL_FEE=10000
|
||||
|
||||
# ── Logging helpers ────────────────────────────────────────────────────────────
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue