Skip to content

Implementation of Contract::getEventLogs() and improved general comments and error messages - #196

Open
Nanolucas wants to merge 22 commits into
web3p:masterfrom
Nanolucas:master
Open

Implementation of Contract::getEventLogs() and improved general comments and error messages#196
Nanolucas wants to merge 22 commits into
web3p:masterfrom
Nanolucas:master

Conversation

@Nanolucas

Copy link
Copy Markdown

Updated comments and error messages to improve clarity and consistency

@codecov-io

codecov-io commented Jan 2, 2021

Copy link
Copy Markdown

Codecov Report

Merging #196 (bb9f9f0) into master (17472b5) will decrease coverage by 2.09%.
The diff coverage is 5.79%.

Impacted file tree graph

@@ Coverage Diff @@## master #196 +/- ##
============================================
- Coverage 87.39% 85.29% -2.10% - Complexity 729 750 +21 
============================================
Files 47 47 Lines 1594 1632 +38 ============================================
- Hits 1393 1392 -1 - Misses 201 240 +39 
Impacted FilesCoverage ΔComplexity Δ
src/Contract.php68.36% <0.00%> (-7.56%)179.00 <21.00> (+21.00)⬇️
src/Contracts/Ethabi.php77.85% <100.00%> (ø)66.00 <2.00> (ø)
src/RequestManagers/HttpRequestManager.php78.37% <0.00%> (-0.57%)12.00% <0.00%> (ø%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 17472b5...bb9f9f0. Read the comment docs.

@Nanolucas

Copy link
Copy Markdown
Author

Completed implementation of Contract::getEventLogs() functionality, as initially described/requested in #93

@NanolucasNanolucas changed the title Improved comments and error messagesImplementation of Contract::getEventLogs() and improved general comments and error messagesMar 26, 2021
Comment threadsrc/Contract.php Outdated
Comment threadsrc/Contract.php Outdated
@phillmorgan28

Copy link
Copy Markdown

Can this be merged into PHP 8 branch?

Comment threadsrc/Contract.php
$decodedData = array_combine($eventParameterNames, $this->ethabi->decodeParameters($eventParameterTypes, $object->data));

//decode the indexed parameter data
for ($i = 0; $i < $numEventIndexedParameterNames; $i++) {

@davorminchorovdavorminchorovAug 10, 2022

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$numEventIndexedParameterNames is not defined anywhere.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@Nanolucas@codecov-io@phillmorgan28@davorminchorov@niccolopetti@momocode-de