EIPs icon indicating copy to clipboard operation
EIPs copied to clipboard

Update EIP-1155: Fix arg order for balanceOf

Open cha0sg0d opened this issue 3 years ago • 5 comments
trafficstars

In ERC1155, the function balanceOf is defined as follows: function balanceOf(address _owner, uint256 _id) external view returns (uint256);

However, in the Split ID bits section of EIP1155, the ordering of args is reversed:

balanceOf(baseTokenNFT, msg.sender); 
balanceOf(baseTokenNFT + indexNFT, msg.sender); 
balanceOf(baseTokenFT, msg.sender); 

This PR simply switches the args to match the spec.

cha0sg0d avatar Sep 25 '22 10:09 cha0sg0d

✅ All reviewers have approved.

eth-bot avatar Sep 25 '22 10:09 eth-bot

Please fix the EIP Walidator errors.

Pandapip1 avatar Sep 27 '22 12:09 Pandapip1

Please fix the EIP Walidator errors.

@Pandapip1 sorry for the trouble, but it looks like the EIP Walidator errors aren't related to the code snippet I changed. Could you advise on how to remove the errors?

cha0sg0d avatar Sep 27 '22 14:09 cha0sg0d

@Pandapip1 sorry for the trouble, but it looks like the EIP Walidator errors aren't related to the code snippet I changed. Could you advise on how to remove the errors?

Ah - this changes a final EIP. This is waiting for approval from one of (@coinfork, @AC0DEM0NK3Y, @wighawag) and then we can merge this manually.

Pandapip1 avatar Sep 29 '22 11:09 Pandapip1

Tagging @PhABC as well.

SamWilsn avatar Nov 04 '22 19:11 SamWilsn

There has been no activity on this pull request for 2 weeks. It will be closed after 3 months of inactivity. If you would like to move this PR forward, please respond to any outstanding feedback or add a comment indicating that you have addressed all required feedback and are ready for a review.

github-actions[bot] avatar Dec 02 '22 00:12 github-actions[bot]

There has been no activity on this pull request for 2 weeks. It will be closed after 3 months of inactivity. If you would like to move this PR forward, please respond to any outstanding feedback or add a comment indicating that you have addressed all required feedback and are ready for a review.

pinging @PhABC @SamWilsn just to make sure this gets addressed before PR is auto-closed. Thanks!

cha0sg0d avatar Dec 11 '22 15:12 cha0sg0d

There has been no activity on this pull request for 2 weeks. It will be closed after 3 months of inactivity. If you would like to move this PR forward, please respond to any outstanding feedback or add a comment indicating that you have addressed all required feedback and are ready for a review.

github-actions[bot] avatar Dec 30 '22 00:12 github-actions[bot]

I think this change is sufficiently minor that a manual merge is justified. Tagging @SamWilsn - thoughts?

Pandapip1 avatar Jan 04 '23 22:01 Pandapip1

I got in touch with @PhABC on twitter, but I guess he hasn't come by yet.

SamWilsn avatar Jan 10 '23 15:01 SamWilsn

There has been no activity on this pull request for 2 weeks. It will be closed after 3 months of inactivity. If you would like to move this PR forward, please respond to any outstanding feedback or add a comment indicating that you have addressed all required feedback and are ready for a review.

github-actions[bot] avatar Jan 25 '23 00:01 github-actions[bot]

Waiting on author review. Re-CC @PhABC

Pandapip1 avatar Jan 25 '23 14:01 Pandapip1

There has been no activity on this pull request for 2 weeks. It will be closed after 3 months of inactivity. If you would like to move this PR forward, please respond to any outstanding feedback or add a comment indicating that you have addressed all required feedback and are ready for a review.

github-actions[bot] avatar Feb 15 '23 00:02 github-actions[bot]

Waiting on author review. Re-CC @PhABC

Pandapip1 avatar Feb 15 '23 03:02 Pandapip1

@eth-bot rerun

Pandapip1 avatar Feb 15 '23 03:02 Pandapip1

There has been no activity on this pull request for 2 weeks. It will be closed after 3 months of inactivity. If you would like to move this PR forward, please respond to any outstanding feedback or add a comment indicating that you have addressed all required feedback and are ready for a review.

github-actions[bot] avatar Mar 02 '23 00:03 github-actions[bot]

Dismissing stale bot

Pandapip1 avatar Mar 03 '23 22:03 Pandapip1

There has been no activity on this pull request for 2 weeks. It will be closed after 3 months of inactivity. If you would like to move this PR forward, please respond to any outstanding feedback or add a comment indicating that you have addressed all required feedback and are ready for a review.

github-actions[bot] avatar Mar 19 '23 00:03 github-actions[bot]

Dismissing stale bot

Pandapip1 avatar Mar 21 '23 00:03 Pandapip1

There has been no activity on this pull request for 2 weeks. It will be closed after 3 months of inactivity. If you would like to move this PR forward, please respond to any outstanding feedback or add a comment indicating that you have addressed all required feedback and are ready for a review.

github-actions[bot] avatar Apr 06 '23 00:04 github-actions[bot]

There has been no activity on this pull request for 2 weeks. It will be closed after 3 months of inactivity. If you would like to move this PR forward, please respond to any outstanding feedback or add a comment indicating that you have addressed all required feedback and are ready for a review.

github-actions[bot] avatar May 04 '23 00:05 github-actions[bot]

The commit b13a653a357f9a099c7cd0efd2466869b97661b2 (as a parent of 304b3dca3b2a6da71ae266ed090d7d7434cd74a4) contains errors. Please inspect the Run Summary for details.

github-actions[bot] avatar May 08 '23 18:05 github-actions[bot]