Skip to content

Commit a5a6973

Browse files
authored
Merge pull request #2793 from pyth-network/initialize-pyth-stylus
feat(stylus) - Initialize pyth stylus
2 parents b2df2dd + 131d2c3 commit a5a6973

File tree

11 files changed

+11505
-527
lines changed

11 files changed

+11505
-527
lines changed

target_chains/stylus/Cargo.lock

Lines changed: 5468 additions & 527 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

target_chains/stylus/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[workspace]
22
members = [
33
"contracts/wormhole",
4+
"contracts/pyth-receiver"
45
]
56
resolver = "2"
67

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[target.wasm32-unknown-unknown]
2+
rustflags = [
3+
"-C", "link-arg=-zstack-size=32768",
4+
"-C", "target-feature=-reference-types",
5+
"-C", "target-feature=+bulk-memory",
6+
]
7+
8+
[target.aarch64-apple-darwin]
9+
rustflags = [
10+
"-C", "link-arg=-undefined",
11+
"-C", "link-arg=dynamic_lookup",
12+
]
13+
14+
[target.x86_64-apple-darwin]
15+
rustflags = [
16+
"-C", "link-arg=-undefined",
17+
"-C", "link-arg=dynamic_lookup",
18+
]
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
RPC_URL=
2+
STYLUS_CONTRACT_ADDRESS=
3+
PRIV_KEY_PATH=

0 commit comments

Comments
 (0)