Skip to content

Conversation

@ayushboss
Copy link
Contributor

Summary

Initializing and defining the framework for the Pyth-receiver contract in stylus.

Rationale

The whole receiver contract is necessary for getting Arbitrum chain programs to be able to interact with Pyth Network. This particular PR runs the necessary initialization steps.

How has this been tested?

  • Current tests cover my changes
  • Added new tests
  • Manually tested the code

No new functionality, so a simple cargo build makes sure things work for now.

@vercel
Copy link

vercel bot commented Jun 20, 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 Jun 20, 2025 1:22pm
component-library ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 20, 2025 1:22pm
developer-hub ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 20, 2025 1:22pm
entropy-debugger ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 20, 2025 1:22pm
entropy-explorer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 20, 2025 1:22pm
insights ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 20, 2025 1:22pm
proposals ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 20, 2025 1:22pm
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 20, 2025 1:22pm

Copy link
Collaborator

@ali-behjati ali-behjati left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good here, you can address the feedbacks on the following ones. Why are you not merging this in main?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i suppose you remove it later no?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup!

}

// PriceInfo struct storing price information
pub type PriceInfoReturn = (U64, I32, I64, U64, I64, U64); No newline at end of file
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not a named struct here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Running into some versioning errors that were preventing me, I'll need to fix versioning on the wormhole contract

Comment on lines +2 to +9
name = "stylus-hello-world"
version = "0.1.11"
edition = "2021"
license = "MIT OR Apache-2.0"
homepage = "https://github.com/OffchainLabs/stylus-hello-world"
repository = "https://github.com/OffchainLabs/stylus-hello-world"
keywords = ["arbitrum", "ethereum", "stylus", "alloy"]
description = "Stylus hello world example"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pls update the placeholder values

Base automatically changed from pyth-wormhole-stylus-integration to main June 30, 2025 17:39
@ayushboss ayushboss merged commit a5a6973 into main Jun 30, 2025
9 checks passed
@ayushboss ayushboss deleted the initialize-pyth-stylus branch June 30, 2025 22:40
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.

4 participants