-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update forge-std to v1.8.1 #865
Conversation
build: remove @prb/test dep test: rename `timestamp` to `newTimestamp` in `vm.warp` test: declare some functions as `pure` and `view` test: rename `assumeNoPrecompiles` to `assumeNotPrecompile` test: use StdAssertions log events test: define BaseVm contract test: define MAX_UINT256 in Constants
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job.
We should also make sure to remove PRBTest in all upstream dependencies, e.g.
@PaulRBerg, I have incorporated your suggestions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with the new forge version now we get the following log when we use changePrank
: "changePrank is deprecated. Please use vm.startPrank instead"
should we implement a changeMsgSender
function (or any other name) in our Utils
contract?
Yes @andreivladbrg. I've created a separate issue for that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
two things to tidy up
I am sorry. I've missed that issue. |
In Should I delete BaseVm and inherit from |
IMO we should delete |
agree with @andreivladbrg |
311b3fa
to
169947e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM now, good to merge?
* build: update forge-std to v1.8.1 build: remove @prb/test dep test: rename `timestamp` to `newTimestamp` in `vm.warp` test: declare some functions as `pure` and `view` test: rename `assumeNoPrecompiles` to `assumeNotPrecompile` test: use StdAssertions log events test: define BaseVm contract test: define MAX_UINT256 in Constants * test: Use from forge-std * test(refactor): rename log names in Assertions * build: update prb math peer dep version * chore: address pr feedback * chore: update bun.lockb file * test: use CommonBase for vm * test: deprecate changePrank in favor of resetPrank --------- Co-authored-by: andreivladbrg <andreivladbrg@gmail.com> Co-authored-by: Paul Razvan Berg <paul.razvan.berg@gmail.com>
* build: update forge-std to v1.8.1 build: remove @prb/test dep test: rename `timestamp` to `newTimestamp` in `vm.warp` test: declare some functions as `pure` and `view` test: rename `assumeNoPrecompiles` to `assumeNotPrecompile` test: use StdAssertions log events test: define BaseVm contract test: define MAX_UINT256 in Constants * test: Use from forge-std * test(refactor): rename log names in Assertions * build: update prb math peer dep version * chore: address pr feedback * chore: update bun.lockb file * test: use CommonBase for vm * test: deprecate changePrank in favor of resetPrank --------- Co-authored-by: andreivladbrg <andreivladbrg@gmail.com> Co-authored-by: Paul Razvan Berg <paul.razvan.berg@gmail.com>
Closes #842, #843, #866 and #747 (1st task only).
Subtasks
changePrank
#866Notable changes
@prb/test
depOther changes
timestamp
tonewTimestamp
invm.warp
assumeNoPrecompiles
toassumeNotPrecompile