-
Notifications
You must be signed in to change notification settings - Fork 12
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
Refactor/fit periphery #9
Merged
Merged
Changes from 8 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
d94784a
deps: remove exising deps
chefburger ef571f4
forge install: pancake-v4-periphery
chefburger 75cd96a
refactor: unify deps version with v4-periphery
chefburger ef3e50e
refactor: some updates to fit new periphery interfaces
chefburger 48e3829
forge install: forge-std
chefburger 04d72e0
forge install: forge-gas-snapshot
chefburger 1d49ff8
deps: add forge-std & forge-gas-snapshot back
chefburger 9e0f823
feat: necessary updates to align with latest periphery design
chefburger d0ca89d
chore: removed unused code
chefburger File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
[submodule "lib/forge-std"] | ||
path = lib/forge-std | ||
url = https://github.com/foundry-rs/forge-std | ||
[submodule "lib/pancake-v4-core"] | ||
path = lib/pancake-v4-core | ||
url = https://github.com/pancakeswap/pancake-v4-core | ||
[submodule "lib/pancake-v4-periphery"] | ||
path = lib/pancake-v4-periphery | ||
url = https://github.com/pancakeswap/pancake-v4-periphery | ||
[submodule "lib/forge-gas-snapshot"] | ||
path = lib/forge-gas-snapshot | ||
url = https://github.com/marktoda/forge-gas-snapshot | ||
[submodule "lib/pancake-v4-universal-router"] | ||
path = lib/pancake-v4-universal-router | ||
url = https://github.com/pancakeswap/pancake-v4-universal-router |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule forge-gas-snapshot
added at
9fc447
Submodule forge-std
updated
10 files
+1 −1 | package.json | |
+4 −1 | src/StdChains.sol | |
+1 −1 | src/StdStorage.sol | |
+185 −58 | src/Vm.sol | |
+401 −382 | src/console.sol | |
+1 −1,555 | src/console2.sol | |
+693 −4 | src/safeconsole.sol | |
+1 −0 | test/StdChains.t.sol | |
+8 −0 | test/StdStorage.t.sol | |
+2 −2 | test/Vm.t.sol |
Submodule pancake-v4-core
deleted from
52b216
Submodule pancake-v4-periphery
deleted from
035570
Submodule pancake-v4-universal-router
added at
8cefac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
@pancakeswap/v4-core/=lib/pancake-v4-core/ | ||
@pancakeswap/v4-periphery/=lib/pancake-v4-periphery/ | ||
@openzeppelin/=lib/pancake-v4-periphery/lib/openzeppelin-contracts/ | ||
forge-std/=lib/forge-std/src/ | ||
ds-test/=lib/forge-std/lib/ds-test/src/ | ||
openzeppelin-contracts/=lib/pancake-v4-universal-router/lib/pancake-v4-periphery/lib/pancake-v4-core/lib/openzeppelin-contracts/ | ||
solmate/=lib/pancake-v4-universal-router/lib/pancake-v4-periphery/lib/pancake-v4-core/lib/solmate/ | ||
pancake-v4-core/=lib/pancake-v4-universal-router/lib/pancake-v4-periphery/lib/pancake-v4-core/ | ||
pancake-v4-periphery/=lib/pancake-v4-universal-router/lib/pancake-v4-periphery/ | ||
pancake-v4-universal-router/=lib/pancake-v4-universal-router/ | ||
permit2/=lib/pancake-v4-universal-router/lib/pancake-v4-periphery/lib/permit2/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've put the remapping settings into remappings.txt