Skip to content
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

Update Functions examples to use Sepolia #58

Merged
merged 6 commits into from
Apr 12, 2024
Merged

Conversation

thedriftofwords
Copy link
Collaborator

@thedriftofwords thedriftofwords commented Apr 12, 2024


Below is a summarization created by an LLM (gpt-4-turbo). Be mindful of hallucinations and verify accuracy.

Why

The changes across multiple JavaScript files in the functions-examples directory primarily involve updating configurations to switch from the Polygon Mumbai test network to the Ethereum Sepolia test network. This includes updates to network-specific parameters such as router addresses, link token addresses, and RPC URLs.

What

  • request.js (multiple occurrences)
    • Updated the network configuration from Polygon Mumbai to Ethereum Sepolia, which includes changes to routerAddress, linkTokenAddress, donId, and explorerUrl.
    • Changed the RPC URL environment variable from POLYGON_MUMBAI_RPC_URL to ETHEREUM_SEPOLIA_RPC_URL.
  • updateRequest.js
    • Similar to request.js, updated network configurations for Ethereum Sepolia and adjusted related variables and URLs.
    • Added linkTokenAddress and explorerUrl to align with the new network settings.
  • readLatest.js
    • Updated only the RPC URL environment variable to match the Ethereum Sepolia network.
  • gen-offchain-secrets.js and request.js (7-use-secrets-url)
    • Updated router address and DON ID to match the Ethereum Sepolia configurations.
  • Multiple other example files
    • Consistently updated across various script files, replacing the network configuration from Polygon Mumbai to Ethereum Sepolia, which involves updating router addresses, link token addresses, DON IDs, and explorer URLs.
    • Adjusted RPC URL and other network-specific settings to align with Ethereum Sepolia.

@thedriftofwords thedriftofwords marked this pull request as draft April 12, 2024 13:26
@thedriftofwords thedriftofwords marked this pull request as ready for review April 12, 2024 14:15
@dwightjl dwightjl merged commit 3810115 into main Apr 12, 2024
@dwightjl dwightjl deleted the functions-mumbai-updates branch April 12, 2024 20:11
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.

2 participants