-
Notifications
You must be signed in to change notification settings - Fork 23
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
remove tx.origin checks #269
Conversation
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 - I'd remove the whole test but not mission critical I reckon.
test/QuestFactory.t.sol
Outdated
@@ -306,8 +305,7 @@ contract TestQuestFactory is Test, Errors, Events, TestUtils { | |||
} | |||
|
|||
function test_claimCompressed_revert_txOriginMismatch() public{ |
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.
Should we just remove the whole test?
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.
Yeah, I always feel iffy about deleting tests that assert specific behavior like this. Open to removing it.
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.
Well we arn't asserting that behavior anymore, right?
Changes:
tx.origin
validation