Calls of methods containing tuple arguments are not counted
See original GitHub issueI’ve setup eth-gas-reporter
for our codebase and noticed that it does not recognize methods with arguments of type tuple as being called. If onlyCalledMethods
is set to false they are listed in the reporting table but without any results (# calls is 0).
For example in the following test-case only setEventId
is counted in the reporting.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:10 (6 by maintainers)
Top Results From Across the Web
tuples as function arguments - python - Stack Overflow
When you call a function, you're not providing a tuple. You're providing arguments. A tuple can be an argument, but only one -...
Read more >How to Pass a Tuple as an Argument to a Function?
Individual tuples as arguments are just individual variables. A function call is not an assignment statement; it's a reference mapping.
Read more >3. Strings, lists, and tuples — Beginning Python Programming ...
Strings, lists, and tuples are objects, which means that they not only hold values, but have built-in behaviors called methods, that act on...
Read more >Built-in Functions — Python 3.11.1 documentation
The __next__() method of the iterator returned by enumerate() returns a tuple containing a count (from start which defaults to 0) and the...
Read more >Functions and Methods for Tuples
AttributeError: 'tuple' object has no attribute 'count' To solve the problem, call the list function with the tuple as its argument, and invoke...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Apologies for the delay fixing this. Should now be resolved in
0.2.13
- migrated decoding to ethers.js in #187@boolafish
0.2.14
. Tested plasma locally and looks like +/- like this… image is not the whole chart but seems like there are more PaymentExitGame methods reported than in yesterday’s codechecks … just lmk if this still isn’t right.