Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6,305 changes: 5,780 additions & 525 deletions target_chains/stylus/Cargo.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions target_chains/stylus/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[workspace]
members = [
"contracts/wormhole",
"contracts/pyth-receiver"
]
resolver = "2"

Expand Down
18 changes: 18 additions & 0 deletions target_chains/stylus/contracts/pyth-receiver/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[target.wasm32-unknown-unknown]
rustflags = [
"-C", "link-arg=-zstack-size=32768",
"-C", "target-feature=-reference-types",
"-C", "target-feature=+bulk-memory",
]

[target.aarch64-apple-darwin]
rustflags = [
"-C", "link-arg=-undefined",
"-C", "link-arg=dynamic_lookup",
]

[target.x86_64-apple-darwin]
rustflags = [
"-C", "link-arg=-undefined",
"-C", "link-arg=dynamic_lookup",
]
3 changes: 3 additions & 0 deletions target_chains/stylus/contracts/pyth-receiver/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
RPC_URL=
STYLUS_CONTRACT_ADDRESS=
PRIV_KEY_PATH=
Loading