Skip to content

Commit f13980a

Browse files
committed
fix(cli): allow any PONDER_ prefixed env vars
1 parent d89450f commit f13980a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ Pandvil provides a Docker-based testing environment that:
2020
We haven't set up NPM yet, but you can download from GitHub like so:
2121

2222
```bash
23-
# Replace v0.0.15 with whatever version you want
24-
pnpm add -D https://github.com/morpho-org/pandvil/releases/download/v0.0.15/package.tgz
23+
# Replace v0.0.16 with whatever version you want
24+
pnpm add -D https://github.com/morpho-org/pandvil/releases/download/v0.0.16/package.tgz
2525
```
2626

2727
## Setup

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@morpho-org/pandvil",
33
"description": "A testing environment for ponder that supports chain forking via anvil",
4-
"version": "0.0.15",
4+
"version": "0.0.16",
55
"author": "Morpho Association <[email protected]>",
66
"contributors": [
77
"Hayden Shively <[email protected]>"

src/bin/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ startCommand
201201

202202
// Add all PONDER_RPC_URL_* environment variables
203203
for (const [key, value] of Object.entries(process.env)) {
204-
if (key.startsWith("PONDER_RPC_URL_") && value) {
204+
if (key.startsWith("PONDER_") && value) {
205205
dockerCmdArgs.push("-e", `${key}=${value}`);
206206
}
207207
}

0 commit comments

Comments
 (0)