-
Notifications
You must be signed in to change notification settings - Fork 5
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
Implement delegate_call #80
base: main
Are you sure you want to change the base?
Conversation
address public sender; | ||
uint256 public value; | ||
|
||
event DidSetVars(); |
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.
Testing this is irrelevant here? Keeping the fixtures as concise as possible eases debugging them :)
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.
just making sure emitted event belongs to caller and not callee
@@ -43,6 +43,7 @@ test_spec!(call, "Caller", "Call.sol"); | |||
test_spec!(transfer, "Transfer", "Transfer.sol"); | |||
test_spec!(return_data_oob, "ReturnDataOob", "ReturnDataOob.sol"); | |||
test_spec!(immutables, "Immutables", "Immutables.sol"); | |||
test_spec!(delegate, "Delegate", "Delegate.sol"); |
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.
This could use some better test coverage, i.e. calling into non-existent accounts, plain accounts, recursively into self (from runtime code and the constructor).
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.
will add more cases
@ermalkaleci we will fix the CI first |
@ermalkaleci merging main will fix the CI issue |
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.
Thank you @ermalkaleci!
@xermicus merge conflicts resolved |
Closes #67
TODO: