erc721m icon indicating copy to clipboard operation
erc721m copied to clipboard

ERC1155 ZKSync

Open tenthirtyone opened this issue 1 year ago • 2 comments

Apologies, the solidity formatter hit some files.

Changes:

  • Update .gitignore with coverage and zkout dir
  • replaces import {ERC1155} from "solady/src/tokens/ERC1155.sol"; with import {ERC1155} from "solady/src/tokens/ext/zksync/ERC1155.sol";
  • Bumps solady to 0.0.298 in foundry and npm

tenthirtyone avatar Jan 23 '25 07:01 tenthirtyone

good to know that solady has zksync ext.

does it work for non-zksync chains?

nothing0012 avatar Jan 23 '25 17:01 nothing0012

@nothing0012 I think it depends. This contract should, but code related to zksync-specific features (system contracts, account abstraction, bridging) won't and some EVM opcodes are inefficient on zksync and not implemented.

tenthirtyone avatar Jan 23 '25 17:01 tenthirtyone