Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Conversation

hysz
Copy link
Contributor

@hysz hysz commented May 21, 2019

Description

In this PR:

  1. Load from calldata into memory only the components of asset data that will remain unchanged
  2. Read ERC1155 asset address from calldata, rather than memory.
  3. The offset to asset data includes 4 bytes for the selector, simplifying some calculations and making it consistent with other offsets.

Testing instructions

Types of changes

Checklist:

  • Prefix PR title with [WIP] if necessary.
  • Add tests to cover changes as needed.
  • Update documentation as needed.
  • Add new entries to the relevant CHANGELOG.jsons.

@coveralls
Copy link

coveralls commented May 21, 2019

Coverage Status

Coverage remained the same at 84.231% when pulling 2b7e7d1 on fix/contracts/erc1155AssetProxyReadability into a8451d5 on fix/contracts/erc1155AssetProxyScaledValues.

@hysz hysz force-pushed the fix/contracts/erc1155AssetProxyScaledValues branch 2 times, most recently from def6efd to ba596d5 Compare May 22, 2019 00:05
@hysz hysz force-pushed the fix/contracts/erc1155AssetProxyReadability branch from 35a29bc to 5a25b02 Compare May 22, 2019 00:08
@hysz hysz force-pushed the fix/contracts/erc1155AssetProxyScaledValues branch 3 times, most recently from 5751b80 to 8013b57 Compare May 22, 2019 15:11
@hysz hysz force-pushed the fix/contracts/erc1155AssetProxyReadability branch from 5a25b02 to d29dc9d Compare May 22, 2019 16:03
@hysz hysz force-pushed the fix/contracts/erc1155AssetProxyReadability branch from d29dc9d to 2b7e7d1 Compare May 22, 2019 16:07
@hysz
Copy link
Contributor Author

hysz commented May 30, 2019

This PR has been superseded by #1837

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants