lukso-network / universalprofile-test-dapp

Testing dApps for ERC725 and Universal Profiles.
https://up-test-dapp.lukso.tech/
17 stars 14 forks source link

fix: insufficient funds for gas error when validating signature on UP contract #45

Closed olusoladavid closed 2 years ago

olusoladavid commented 2 years ago

Description

This PR fixes an error that was occurring when you try to validate a message against a signature. The RPC node returns a err: insufficient funds for gas * price + value: ... error. After some investigation, it was discovered it's a recent behavior with L16 nodes (where passing an explicit gasPrice causes a call to a view function to fail). The fix here applies only for the special case of signature validation while we continue to investigate what has changed at the network level

Details: https://app.clickup.com/t/2jzquwd

Message
dzbo commented 2 years ago

Feel free to merge if ready