Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@vminkov
Copy link
Contributor

@vminkov vminkov commented Jun 23, 2022

Description

This is another way to resolve the breaking compatibility of solmate/test/DSTestPlus.sol and forge-std/Test.sol when used together as parents in an inheriting testing contract

Checklist

Ensure you completed all of the steps below before submitting your pull request:

  • Ran forge snapshot?
  • Ran npm run lint?
  • Ran forge test?

Pull requests with an incomplete checklist will be thrown out.

@vminkov vminkov changed the title Change DSTestPlus::bound( ) to virtual Change DSTestPlus::bound( ) to public virtual Jun 23, 2022
@transmissions11
Copy link
Owner

dont want this to be public, happy to make it virtual but its really not a public method

@transmissions11
Copy link
Owner

DSTestPlus and Test.sol are not really meant to be used together rn

@vminkov vminkov changed the title Change DSTestPlus::bound( ) to public virtual Change DSTestPlus::bound( ) to virtual Jun 24, 2022
@vminkov vminkov changed the title Change DSTestPlus::bound( ) to virtual Change DSTestPlus.bound( ) to virtual Jun 24, 2022
@vminkov vminkov marked this pull request as ready for review June 27, 2022 08:36
@vminkov
Copy link
Contributor Author

vminkov commented Jun 28, 2022

@transmissions11 , can you, please, approve the github workflow for the PR? The checklist has been done. Thanks

and the forge-std PR has been merged, too

@transmissions11 transmissions11 changed the title Change DSTestPlus.bound( ) to virtual ♻️ Make bound virtual Jul 5, 2022
@transmissions11 transmissions11 merged commit 03e4254 into transmissions11:main Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants