hyperledger / solang

Solidity Compiler for Solana and Polkadot
https://solang.readthedocs.io/
Apache License 2.0
1.22k stars 207 forks source link

Fix abi.encodeCall() argument parsing #1612

Closed seanyoung closed 6 months ago

seanyoung commented 6 months ago

The arguments to the function should be passed as a tuple, if there are more than one. A single argument does not require a tuple.

codecov[bot] commented 6 months ago

Codecov Report

Attention: 10 lines in your changes are missing coverage. Please review.

Comparison is base (68b59a4) 87.94% compared to head (6095fa9) 88.19%. Report is 1 commits behind head on main.

Files Patch % Lines
src/codegen/expression.rs 82.14% 5 Missing :warning:
src/sema/eval.rs 85.00% 3 Missing :warning:
src/sema/expression/member_access.rs 98.38% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1612 +/- ## ========================================== + Coverage 87.94% 88.19% +0.24% ========================================== Files 137 137 Lines 65902 65973 +71 ========================================== + Hits 57959 58184 +225 + Misses 7943 7789 -154 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.