Hot answers tagged

3 votes
Accepted

Why am I not able to deploy ERC721 contract to Avalanche Fuji?

Solidity 0.8.20 introduced the PUSH0(0x5f) opcode which is only supported on the ETH mainnet and not on any other chains. That's why other chains can't find the PUSH0(0x5f) opcode and throw this error....
Zartaj Afser's user avatar
  • 2,150
1 vote

Trying to create a soulbound token. Keep getting two errors

Seems like you are using version 5 of OZ contracts. In version 5 they have removed the _beforeTokenTransfer and _afterTokenTransfer functions. And introduced a new single function, _update. Now you ...
Zartaj Afser's user avatar
  • 2,150

Only top scored, non community-wiki answers of a minimum length are eligible