-
-
Notifications
You must be signed in to change notification settings - Fork 810
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
allow any ABI-encodable type as args #2398
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2398 +/- ##
===========================================
- Coverage 85.73% 66.50% -19.24%
===========================================
Files 91 91
Lines 9101 8993 -108
Branches 2176 2139 -37
===========================================
- Hits 7803 5981 -1822
- Misses 796 2301 +1505
- Partials 502 711 +209
Continue to review full report at Codecov.
|
This pull request introduces 1 alert when merging d92d73c into cbc9e65 - view on LGTM.com new alerts:
|
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.
Add some test cases showing that the functionality works
@fubuloubu blocked on #2394 |
This PR corrects the packing code but the unpacking code is still incomplete. (Meaning you could call out to a function which accepts nested structs but you couldn't implement one). I'm going to work on this more. I think I need to do a larger refactor around our internal calling convention otherwise this functionality will result in really bloated code. |
c56a9b0
to
db573a8
Compare
This pull request introduces 12 alerts when merging d76c56f into cff69d6 - view on LGTM.com new alerts:
|
text editors highlight them
it no longer exists
and protect return buffers from internal calls
d76c56f
to
ce916c4
Compare
This pull request introduces 12 alerts when merging ce916c4 into ed59064 - view on LGTM.com new alerts:
|
superseded by #2447 |
What I did
Among other things, fixes #2154 and #2190
How I did it
I replaced the ad-hoc code in
pack_arguments
with a call to the genericabi_encode
function.How to verify it
Tests pass .. we might need some more tests now though
Description for the changelog
Allow any ABI-encodable type as args, including nested structs and structs with dynamic data
Cute Animal Picture