-
Notifications
You must be signed in to change notification settings - Fork 152
feat: generalized wrappers #3700
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
Merged
Merged
Changes from all commits
Commits
Show all changes
67 commits
Select commit
Hold shift + click to select a range
cb15a18
feat: generalized wrappers
kaze-cow 1c3c0c3
fix: improve docker builds
kaze-cow ab75508
everything works
kaze-cow 2250d08
its close
kaze-cow 6c6340c
successful placement of wrapped order!
kaze-cow c24b371
undo cargo changes
kaze-cow d248fe4
Merge remote-tracking branch 'origin/main' into feat/generalized-wrapper
kaze-cow b9af257
Merge remote-tracking branch 'origin/main' into feat/generalized-wrapper
kaze-cow 4214939
add gpv2wrapper info
kaze-cow 07ff1a1
wrapper_data is close to working but not getting sent somewhere
kaze-cow fa3a650
all working
kaze-cow 4e26f52
Merge remote-tracking branch 'origin/main' into feat/generalized-wrapper
kaze-cow 2b842d4
remove unnecessary wrapper file
kaze-cow 0c5cbb6
clean out superfluous changes
kaze-cow 2b27533
format
kaze-cow 83476ca
fix issues, now working
kaze-cow bf69f8e
Update crates/solvers/src/api/routes/solve/dto/solution.rs
kaze-cow 56e6118
changes in response to comments
kaze-cow 866db4b
Update crates/driver/src/infra/solver/dto/solution.rs
kaze-cow acac299
removed all tuple structures
kaze-cow 631ab9f
Merge branch 'feat/generalized-wrapper' of https://github.com/cowprot…
kaze-cow 533a572
Merge remote-tracking branch 'origin/main' into feat/generalized-wrapper
kaze-cow aa4ff59
fix compile
kaze-cow 657d19a
just fmt
kaze-cow 0a83903
fix e2e
kaze-cow c41442e
fix one more test
kaze-cow a8d7efc
Merge remote-tracking branch 'origin/main' into feat/generalized-wrapper
kaze-cow 20a743f
test e2e verify works
kaze-cow 65184fa
fix clippy
kaze-cow 02b58ab
remove settlement from the upstream wrapper encoding
kaze-cow e0f3a8e
Merge remote-tracking branch 'origin/main' into feat/generalized-wrapper
kaze-cow a97d588
update default wrapper address
kaze-cow fd7a061
Merge remote-tracking branch 'origin/main' into feat/generalized-wrapper
kaze-cow 0d64a6f
update encoding to include wrapperData length
kaze-cow 87cdc3f
add `is_omittable` to appData
kaze-cow cfd68dc
update the test to use new wrapper parse
kaze-cow f3187c2
Update crates/contracts/build.rs
kaze-cow 8ae48f6
Update crates/app-data/src/app_data.rs
kaze-cow 4830313
fix feedbacks
kaze-cow a281238
update internal data structures to not be Optional Vecs
kaze-cow ead79d5
remove unnecessary comment
kaze-cow e8b04a2
restructure flashloans and wrappers structuring in encoding.rs
kaze-cow 09be947
refactor
kaze-cow c88c44d
just fmt
kaze-cow 0596789
Merge branch 'main' into feat/generalized-wrapper
kaze-cow ef7b2bd
Merge branch 'main' into feat/generalized-wrapper
kaze-cow bbd8097
fix so that settle_calldata always is appended with the auction id an…
kaze-cow f7601b6
Merge branch 'main' into feat/generalized-wrapper
kaze-cow d94a5f0
Update crates/solvers/src/domain/solution.rs
kaze-cow ade0037
Update crates/driver/src/domain/competition/solution/mod.rs
kaze-cow 4601ec1
Update crates/driver/src/domain/competition/solution/encoding.rs
kaze-cow a203947
Update crates/driver/src/domain/competition/solution/encoding.rs
kaze-cow 2696ee8
Update crates/driver/src/domain/competition/solution/encoding.rs
kaze-cow abb3a44
just format abi files
kaze-cow a80ad6b
fix feedbacks and compile errors
kaze-cow afe17c5
Merge branch 'main' into feat/generalized-wrapper
kaze-cow e191844
Merge branch 'main' into feat/generalized-wrapper
kaze-cow de269d7
fix test failures
kaze-cow 7a2ba66
Merge remote-tracking branch 'origin/main' into feat/generalized-wrapper
kaze-cow 447ac7c
add e2e test for wrapper
kaze-cow e8d13a9
implement feedback
kaze-cow f392fc1
add safety condition
kaze-cow e4d4216
final changes
kaze-cow 6e810ca
fix
kaze-cow 1f356b0
final test cleanups
kaze-cow 525224a
Merge remote-tracking branch 'origin/main' into feat/generalized-wrapper
kaze-cow 2edbd05
make test more reliable
kaze-cow 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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,5 @@ | ||
| app-data-fetching-enabled = true | ||
| orderbook-url = "http://orderbook" | ||
| tx-gas-limit = "45000000" | ||
|
|
||
| [[solver]] | ||
|
|
||
This file contains hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| { | ||
| "abi": [ | ||
| { | ||
| "type": "function", | ||
| "name": "parseWrapperData", | ||
| "inputs": [ | ||
| { | ||
| "name": "wrapperData", | ||
| "type": "bytes", | ||
| "internalType": "bytes" | ||
| } | ||
| ], | ||
| "outputs": [ | ||
| { | ||
| "name": "remainingWrapperData", | ||
| "type": "bytes", | ||
| "internalType": "bytes" | ||
| } | ||
| ], | ||
| "stateMutability": "view" | ||
| }, | ||
| { | ||
| "type": "function", | ||
| "name": "wrappedSettle", | ||
| "inputs": [ | ||
| { | ||
| "name": "settleData", | ||
| "type": "bytes", | ||
| "internalType": "bytes" | ||
| }, | ||
| { | ||
| "name": "wrapperData", | ||
| "type": "bytes", | ||
| "internalType": "bytes" | ||
| } | ||
| ], | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable" | ||
| } | ||
| ] | ||
| } |
This file contains hidden or 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 hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.