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

MemoryError on pc 8gb RAM #49

Open
McDon1 opened this issue Dec 23, 2021 · 0 comments
Open

MemoryError on pc 8gb RAM #49

McDon1 opened this issue Dec 23, 2021 · 0 comments

Comments

@McDon1
Copy link

McDon1 commented Dec 23, 2021

ERROR: 2021-12-22 15:57:48,066 Could not find any function with matching selector
Traceback (most recent call last):
File "/home/watch/Desktop/sniper/sniper.py", line 624, in scan
decoded = contract.decode_function_input(input_bytes)
File "/home/watch/.local/lib/python3.9/site-packages/eth_utils/decorators.py", line 18, in _wrapper
return self.method(obj, *args, **kwargs)
File "/home/watch/.local/lib/python3.9/site-packages/web3/contract.py", line 466, in decode_function_input
func = self.get_function_by_selector(selector)
File "/home/watch/.local/lib/python3.9/site-packages/eth_utils/decorators.py", line 18, in _wrapper
return self.method(obj, *args, **kwargs)
File "/home/watch/.local/lib/python3.9/site-packages/web3/contract.py", line 459, in get_function_by_selector
return get_function_by_identifier(fns, 'selector')
File "/home/watch/.local/lib/python3.9/site-packages/web3/contract.py", line 1682, in get_function_by_identifier
raise ValueError(
ValueError: Could not find any function with matching selector
ERROR: 2021-12-22 15:59:56,847
Traceback (most recent call last):
File "/home/watch/Desktop/sniper/sniper.py", line 954, in
run()
File "/home/watch/Desktop/sniper/sniper.py", line 945, in run
scan(tokens)
File "/home/watch/Desktop/sniper/sniper.py", line 667, in scan
buy_many(pending, token, nonce)
File "/home/watch/Desktop/sniper/sniper.py", line 849, in buy_many
amount = token['BUYAMOUNT'] * DECIMALS
MemoryError

I got error with 4gb ram, still error on 8gb ram machine

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

1 participant