Skip to main content

New answers tagged

0 votes

Help Needed: Resolving "EIP2612: Invalid Signature"

You're facing that error because the owner address that you've used while generating the signature off-chain is not matching with the _signatureTransferData.owner value that you're passing as the ...
SYED ASAD KAZMI's user avatar
1 vote
Accepted

TESTS FOR MY ERC20 TOKEN IS NOT WORKING

It's great that you are learnig new things For 1st and 2nd error In ES6 using node module ethers, you can convert Wei to Ether as follows: import { ethers } from "ethers"; const WeiToEther = ...
Vinit_2311's user avatar
1 vote
Accepted

Two or more base classes define function with same name and parameter types

This is because both of the contracts you are inheriting are inherited from ERC20 itself. This code should work, as you need to override the _update function only. import "@openzeppelin/contracts/...
Zartaj Afser's user avatar
  • 4,474
0 votes

What can be the workaround to work with the new `Initializable` contract?

OZ team has replied on the forum It is NOT safe to upgrade a proxy from an implementation that uses OpenZeppelin Contracts 4.x to an implementation that uses 5.x. Version 5.x is a major version and ...
Zartaj Afser's user avatar
  • 4,474

Top 50 recent answers are included