-
-
Notifications
You must be signed in to change notification settings - Fork 788
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
add print builtin #2818
add print builtin #2818
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2818 +/- ##
===========================================
- Coverage 87.47% 57.22% -30.25%
===========================================
Files 94 94
Lines 10003 10034 +31
Branches 2480 2438 -42
===========================================
- Hits 8750 5742 -3008
- Misses 785 3686 +2901
- Partials 468 606 +138
Continue to review full report at Codecov.
|
70e04da
to
b312046
Compare
equivalent of nomic's console.log
b312046
to
c27031f
Compare
args_as_tuple = IRnode.from_list(["multi"] + [x for x in args], typ=args_tuple_t) | ||
args_abi_t = args_tuple_t.abi_type | ||
# create a signature like "log(uint256)" | ||
sig = "log" + "(" + ",".join([arg.typ.abi_type.selector_name() for arg in args]) + ")" |
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 this be log
(built in keyword) or should it be print
?
equivalent of nomic's console.log
What I did
How I did it
How to verify it
Commit message
Commit message for the final, squashed PR. (Optional, but reviewers will appreciate it! Please see our commit message style guide for what we would ideally like to see in a commit message.)
Description for the changelog
Cute Animal Picture