Skip to content
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

feat: remove native transfer gas limit #189

Merged
merged 1 commit into from
Aug 21, 2023
Merged

Conversation

marktoda
Copy link
Collaborator

Gas limit for native transfer can cause some reasonable smart contract
wallets that perform operations in their receive function to be unable
to receive native output from uniswapX. compatibilty preferred here

Resolves M-02

Gas limit for native transfer can cause some reasonable smart contract
wallets that perform operations in their receive function to be unable
to receive native output from uniswapX. compatibilty preferred here

Resolves M-02
@marktoda marktoda changed the base branch from main to development August 21, 2023 21:15
@marktoda marktoda merged commit d2e90d1 into development Aug 21, 2023
2 checks passed
This was referenced Dec 12, 2023
marktoda added a commit that referenced this pull request Dec 18, 2023
* fix: typos (#190)

This commit fixes a couple typos.

Fixes: N-03

* feat: remove native transfer gas limit (#189)

Gas limit for native transfer can cause some reasonable smart contract
wallets that perform operations in their receive function to be unable
to receive native output from uniswapX. compatibilty preferred here

Resolves M-02

* fix: remove unused imports (#191)

Fixes: N-02

* fix: documentation (#193)

Fixes: L-05

* fix: Add missing natspec (#192)

Fixes: L-04

* fix: enforce dutch decay actually decays (#194)

Previously there was ambiguous undefined behavior for if startTime and
endTime were the same - This commit removes that ambiguity by enforcing
startTime !== endTime

* fix: magic number documentation (#196)

document magic numbers in orderquoter

Fixes: L-08

* feat: improve test coverage (#197)

* Remove unused return param names (#199)

* Remove unused return names

* Update OrderQuoter.sol

* fix: fmt

---------

Co-authored-by: Alice <[email protected]>
marktoda added a commit that referenced this pull request Jan 23, 2024
* fix: typos (#190)

This commit fixes a couple typos.

Fixes: N-03

* feat: remove native transfer gas limit (#189)

Gas limit for native transfer can cause some reasonable smart contract
wallets that perform operations in their receive function to be unable
to receive native output from uniswapX. compatibilty preferred here

Resolves M-02

* fix: remove unused imports (#191)

Fixes: N-02

* fix: documentation (#193)

Fixes: L-05

* fix: Add missing natspec (#192)

Fixes: L-04

* fix: enforce dutch decay actually decays (#194)

Previously there was ambiguous undefined behavior for if startTime and
endTime were the same - This commit removes that ambiguity by enforcing
startTime !== endTime

* fix: magic number documentation (#196)

document magic numbers in orderquoter

Fixes: L-08

* feat: improve test coverage (#197)

* Remove unused return param names (#199)

* Remove unused return names

* Update OrderQuoter.sol

* fix: fmt

* fix: tests

* fix: lint

* fix: typos

* fix: revert if decay times are equal

* fix: check for 0 address signer

* fix: remove old exclusivityOverride for now

* feat: add tests for override and cosigner

* fix: ensure output overrides length is correct

* feat: tests with successful override

* feat: flatten v2 struct

This commit flattens the V2 struct to maintain the reactor interface
requirement that OrderInfo should be first struct so integrations like
quoters can reliably fetch the reactor address and other order info
fields

Also saves a decent amt of gas from less encoding/decoding

* fix: cleaup

* fix: tests overrides

---------

Co-authored-by: Alice <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants