-
Notifications
You must be signed in to change notification settings - Fork 22
Refactor: env vars #399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Refactor: env vars #399
Conversation
✅ Deploy Preview for kleros-court ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
39cc727 to
7748a1b
Compare
919e628 to
5a04dc1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "uniswapV2Router02Address": "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D", | ||
| "uniswapV2FactoryAddress": "0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These addresses are from the old .env but are not present on netlify.toml 🤔
.env
REACT_APP_UNISWAP_V2_ROUTER_02_ADDRESS=0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
REACT_APP_UNISWAP_V2_FACTORY_ADDRESS=0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f
netlify.toml
REACT_APP_UNISWAP_EXCHANGE_ADDRESS='0xF506828B166de88cA2EDb2A98D960aBba0D2402A'
|






All the deployment related env vars have been moved to a json file in
src/assets/deployments/[network name].json.The other env vars are handled by the Netlify console, most of them are RPC-related.
PR-Codex overview
This PR updates contract addresses and deployment information, improves fallback URL handling, and refactors network configuration for better readability.
Detailed summary