For gas savings, we now skip the allowance target altogether. Allowances should instead be set directly on the exchange proxy itself. There is a fallback, though, to try spending from the allowance target if the original transfer fails.
Testing instructions
yarn build && yarn test from contracts/zero-ex
Types of changes
New feature
Checklist:
[x] Prefix PR title with [WIP] if necessary.
[x] Add tests to cover changes as needed.
[ ] Update documentation as needed.
[ ] Add new entries to the relevant CHANGELOG.jsons.
Description
For gas savings, we now skip the allowance target altogether. Allowances should instead be set directly on the exchange proxy itself. There is a fallback, though, to try spending from the allowance target if the original transfer fails.
Testing instructions
yarn build && yarn test
fromcontracts/zero-ex
Types of changes
Checklist:
[WIP]
if necessary.