Skip to content

fix: add test fork setup and improve documentation#1

Open
pwvux wants to merge 1 commit intoCyfrin:mainfrom
pwvux:fix/test-setup-and-docs
Open

fix: add test fork setup and improve documentation#1
pwvux wants to merge 1 commit intoCyfrin:mainfrom
pwvux:fix/test-setup-and-docs

Conversation

@pwvux
Copy link

@pwvux pwvux commented Mar 9, 2026

  • Create BaseTest contract that automatically forks mainnet when FORK_URL is set
  • Update .env.sample with example RPC URL configuration
  • Add 'Running Tests' section to README with clear setup instructions
  • Remove TODO comment about Solidity version (codebase is stable on 0.8.33)

This enables tests to run against real contract state, fixing the setUp() failures when FORK_URL environment variable is configured with a valid Ethereum RPC provider.

- Create BaseTest contract that automatically forks mainnet when FORK_URL is set
- Update .env.sample with example RPC URL configuration
- Add 'Running Tests' section to README with clear setup instructions
- Remove TODO comment about Solidity version (codebase is stable on 0.8.33)

This enables tests to run against real contract state, fixing the setUp() failures
when FORK_URL environment variable is configured with a valid Ethereum RPC provider.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant