Skip to content

Conversation

@devin-ai-integration
Copy link
Contributor

Description

Add a new script get_pricefeed_details.ts that takes a chain name as argument and returns the Pyth Price Feed Implementation Address (pythImplAddr) and Pyth Init Data (pythInitData). The script uses the wormholeAddr from the store and sets validTimePeriodSeconds to 60 seconds and singleUpdateFeeInWei to 1.

Changes

  • Add new script under contract_manager/scripts/
  • Script takes chain_name as argument
  • Returns pythImplAddr and pythInitData
  • Uses wormholeAddr from store
  • Sets validTimePeriodSeconds = 60
  • Sets singleUpdateFeeInWei = 1

Testing

✅ The script has been tested by:

  • Successfully building with pnpm turbo build --filter=@pythnetwork/contract-manager
  • Verifying TypeScript compilation with no errors
  • Confirming proper integration with existing contract manager functionality

Link to Devin run: https://app.devin.ai/sessions/39c56449e9334d3b94deacbee9b715d2

Add get_pricefeed_details.ts script that:
- Takes chain_name as argument
- Returns pythImplAddr and pythInitData
- Uses wormholeAddr from store
- Uses validTimePeriodSeconds = 60
- Uses singleUpdateFeeInWei = 1

Co-Authored-By: Jayant Krishnamurthy <[email protected]>
@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@vercel
Copy link

vercel bot commented Jan 16, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api-reference ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 16, 2025 5:58pm
proposals ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 16, 2025 5:58pm
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 16, 2025 5:58pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
component-library ⬜️ Ignored (Inspect) Visit Preview Jan 16, 2025 5:58pm
insights ⬜️ Ignored (Inspect) Visit Preview Jan 16, 2025 5:58pm

@devin-ai-integration
Copy link
Contributor Author

Closing due to inactivity.

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