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
Seems that when gno lint runs, it also has a specific context, and executes init functions; This context can contain OrigCaller & PrevRealm addresses that will fail for some ownable scenarios and lint errors in those cases.
With tests, we solve this with TestSetXYZ functions but this is obviously impossible with lint (and shouldn't be the case).
Description
Seems that when
gno lint
runs, it also has a specific context, and executesinit
functions; This context can contain OrigCaller & PrevRealm addresses that will fail for some ownable scenarios and lint errors in those cases.With tests, we solve this with
TestSetXYZ
functions but this is obviously impossible with lint (and shouldn't be the case).Check this code and this job.
h/t @ajnavarro
The text was updated successfully, but these errors were encountered: