-
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 :)
@@ -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).
_gas: inkwell::values::IntValue<'ctx>, | ||
_address: inkwell::values::IntValue<'ctx>, | ||
address: inkwell::values::IntValue<'ctx>, | ||
_value: Option<inkwell::values::IntValue<'ctx>>, |
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 be removed.
Closes #67
TODO: