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
It seems like the test script and the contracts and transactions executed using Test.executeTransaction are not sharing an environment. This is not clear anywhere in the documentation. Accessing block information, for example, from the scripts executed and within the test, doesn't result in the same block.