You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The staked token implementation writes DOMAIN_SEPARATOR to storage in initialize. It will therefore not be able to handle a hard fork post-deployment, as the chainID is not updated and a valid signature for one chain could be replayed on the other.
The issue can be handled by using a dynamic domain separator which is generated on demand instead of reading from storage.
The text was updated successfully, but these errors were encountered:
The staked token implementation writes
DOMAIN_SEPARATOR
to storage ininitialize
. It will therefore not be able to handle a hard fork post-deployment, as the chainID is not updated and a valid signature for one chain could be replayed on the other.The issue can be handled by using a dynamic domain separator which is generated on demand instead of reading from storage.
The text was updated successfully, but these errors were encountered: