Skip to main content

New answers tagged

2 votes
Accepted

Utilize delegatecall to set values for struct fields

Both of the answers provided below are incorrect and doesn't provide the solution. The reason for this error is because your encoding is wrong. When we encode the function signature, we use full names ...
Zartaj Afser's user avatar
  • 4,434
0 votes

Utilize delegatecall to set values for struct fields

As, @Zartaj has mentioned, while calling encodeWithSignature, it won't recognise uint, rather it should be the complete name of the type i.e., uint256. But, even after doing this change, your code ...
SYED ASAD KAZMI's user avatar

Top 50 recent answers are included