Lesson 4: Got ExtraData error and the fix #524
weilainicolas
started this conversation in
General
Replies: 1 comment 1 reply
-
excellent contribution to the community @weilainicolas I hope this info might help for other users. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I tried to deploy the contract to rinkeby, I got the following error: web3.exceptions.ExtraDataLengthError: The field extraData is 97 bytes, but should be 32.
What I found online is that when we connect to POA network using Web3, it may cause this error. It is because POA will add additional data at extraData, which could exceed the required 32 bytes.
Found a fix online and it worked.
I hope this can help people who have the similar issues.
Beta Was this translation helpful? Give feedback.
All reactions