Conversation
chrisli30
commented
Apr 8, 2026
- ci: read CHAIN_ENDPOINT and BUNDLER_URL from secrets
- docs: update the usage of create-api-key aggregator command
- docs(examples): document getExecutions/getExecution and AVS_API_KEY setup
prod-test-on-pr.yml: read CHAIN_ENDPOINT from per-environment secrets instead of plaintext variables. Each matrix env (sepolia/ethereum/base/ base-sepolia) now carries its own chain-specific value as a secret. dev-test-on-pr.yml: read BUNDLER_URL from secrets. The bundler URL embeds an apikey query parameter and was previously a plaintext repo variable, exposing it in workflow logs.
…etup Add CLI usage examples for getExecutions and getExecution to the example.ts header, and a dedicated section explaining how to mint an AVS_API_KEY (create-api-key with an EOA subject) and how the loader picks it up from .env.dev. Also enable .env.dev auto-loading so the dev environment behaves like every other env file.
PR Review — docs: update create-api-key usage + CI secretsOverall this is a clean, well-scoped PR with good documentation improvements. The commit messages are clear and explain the why for each change. A few items worth discussing before merging: Bug / Usability Issue
-"apikey-gen": "... --subject=apikey ..."
+"apikey-gen": "... --subject=0x804e49e8C4eDb560AE7c48B554f6d2e27Bb81557 ..."The old Suggestion — derive the address from # Option A: use a placeholder and fail loudly
"apikey-gen": "sh -c '[ -n \"$SUBJECT_ADDRESS\" ] || (echo \"ERROR: set SUBJECT_ADDRESS to your wallet address\" && exit 1); API_KEY=$(docker compose exec aggregator /ava create-api-key --role=admin --subject=$SUBJECT_ADDRESS) && ...'",
# Option B: derive from TEST_PRIVATE_KEY via cast/ethers if availableThe CI use ( Minor Issues
Moving from
-if (currentEnv && currentEnv !== "dev") {
+if (currentEnv) {This is the right fix ( What's Good
Verdict: The documentation improvements are solid. The main concern is the hardcoded address in |