Skip to content
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

Class 'Ethereum\DataType\Ethereum' not found #42

Open
nasingyo opened this issue Jan 10, 2019 · 1 comment
Open

Class 'Ethereum\DataType\Ethereum' not found #42

nasingyo opened this issue Jan 10, 2019 · 1 comment

Comments

@nasingyo
Copy link

nasingyo commented Jan 10, 2019

Symfony\Component\Debug\Exception\FatalThrowableError : Class 'Ethereum\DataType\Ethereum' not found

at vendor/digitaldonkey/ethereum-php/src/DataType/Filter.php:73
69| $return = [];
70| (!is_null($this->fromBlock)) ? $return['fromBlock'] = $this->fromBlock->hexVal() : NULL;
71| (!is_null($this->toBlock)) ? $return['toBlock'] = $this->toBlock->hexVal() : NULL;
72| (!is_null($this->address)) ? $return['address'] = $this->address->hexVal() : NULL;

73| (!is_null($this->topics)) ? $return['topics'] = Ethereum::valueArray($this->topics, 'EthD') : array();
74| return $return;
75| }
76| }

@apothan
Copy link

apothan commented Apr 17, 2020

It likely needs a line at the top:
use Ethereum\Ethereum;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants