Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion target_chains/ethereum/contracts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pnpm turbo build --filter @pythnetwork/pyth-evm-contract
## Testing

Run `forge build` to build the contracts and `forge test` to run the contract unit tests.
The unit tests live in the `forge-test` directory.
The unit tests live in the `test` directory.

### Code Coverage

Expand Down
2 changes: 1 addition & 1 deletion target_chains/ethereum/contracts/contracts/pulse/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Pulse replaces the service formerly known as "scheduler" or "price pusher," and
## Build and Test

Run `forge build` to build the contracts and `forge test` to run the contract unit tests.
The unit tests live in the `../../forge-test` directory.
The unit tests live in the `../../test` directory.

Gas benchmarks that cover the most frequent usage patterns are in `PulseSchedulerGasBenchmark.t.sol`. Run the benchmark with -vv to to see the gas usage for the operations under test, without setup costs.

Expand Down
4 changes: 2 additions & 2 deletions target_chains/ethereum/contracts/foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ evm_version = "paris"
optimizer = true
optimizer_runs = 200
src = 'contracts'
# Tests are in the forge-test directory
test = 'forge-test'
# Tests are in the test directory
test = 'test'

libs = ['lib', 'node_modules']

Expand Down
Loading