Skip to content

chore(deps): replace pyth-sdk-solidity submodule with npm package #89

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
4 changes: 0 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@
path = lib/openzeppelin-contracts
url = https://github.com/OpenZeppelin/openzeppelin-contracts
branch = release-v4.9

[submodule "lib/pyth-sdk-solidity"]
path = lib/pyth-sdk-solidity
url = https://github.com/pyth-network/pyth-sdk-solidity
[submodule "lib/ethereum-vault-connector"]
path = lib/ethereum-vault-connector
url = https://github.com/euler-xyz/ethereum-vault-connector
Expand Down
2 changes: 1 addition & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
src = "src"
out = "out"
test = "test"
libs = ["lib"]
libs = ["lib", "node_modules"]
solc = "0.8.23"
evm_version = "cancun"
optimizer = true
Expand Down
1 change: 0 additions & 1 deletion lib/pyth-sdk-solidity
Submodule pyth-sdk-solidity deleted from c24b3e
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"author": "Euler Labs",
"license": "GPL-2.0-or-later",
"dependencies": {
"@redstone-finance/evm-connector": "^0.4.0"
"@redstone-finance/evm-connector": "^0.4.0",
"@pythnetwork/pyth-sdk-solidity": "^4.1.0"
}
}
2 changes: 1 addition & 1 deletion remappings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
@uniswap/v3-periphery/=lib/v3-periphery/
@redstone/evm-connector/=lib/redstone-oracles-monorepo/packages/evm-connector/contracts/
@openzeppelin/contracts=lib/openzeppelin-contracts/contracts/
@pyth/=lib/pyth-sdk-solidity/
@pyth/=node_modules/@pythnetwork/pyth-sdk-solidity/
ethereum-vault-connector/=lib/ethereum-vault-connector/src/
@pendle/core-v2/=lib/pendle-core-v2-public/contracts/