Closed ZzzzHui closed 12 months ago
Latest commit: b8b9f7d060c51b2d176dfa36522754c7b72062bc
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
We don't need the no changelog
label anymore, as it was only used to check if the CHANGELOG.md
file was modified or not. Now, since we are using changesets, this label will soon be removed.
It occurred to me that sometimes github CI tests failed on portal invariant tests like this one. The reason is that we used
msg.sender
as token sender, and sometimes forge assigns this randommsg.sender
an address that has already deployed a contract (e.g. the portal). This would cause the invariant test to fail because we require portal to have 0 balance all the time.