Skip to content

fix: use settlement contract address instead of null address in CowSwap quote requests#2516

Merged
falvaradorodriguez merged 1 commit into
mainfrom
fix/cowswap-null-address-denylist
Jun 3, 2026
Merged

fix: use settlement contract address instead of null address in CowSwap quote requests#2516
falvaradorodriguez merged 1 commit into
mainfrom
fix/cowswap-null-address-denylist

Conversation

@falvaradorodriguez
Copy link
Copy Markdown
Contributor

Summary

  • get_estimated_amount was using NULL_ADDRESS as the from field when
    calling the CowSwap quote API, which has been deny-listed by CowSwap
    returning Forbidden instead of the expected response
  • Replace NULL_ADDRESS with self.settlement_contract_address, a known
    valid address for all supported networks

@falvaradorodriguez falvaradorodriguez requested a review from a team as a code owner June 2, 2026 14:22
@falvaradorodriguez falvaradorodriguez merged commit f84a339 into main Jun 3, 2026
23 of 39 checks passed
@falvaradorodriguez falvaradorodriguez deleted the fix/cowswap-null-address-denylist branch June 3, 2026 08:31
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