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

Something wrong in add_new_entity.py #843

Open
ethever opened this issue Nov 19, 2024 · 0 comments
Open

Something wrong in add_new_entity.py #843

ethever opened this issue Nov 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ethever
Copy link

ethever commented Nov 19, 2024

When I want to add a new entity, this happend:

Enter the timestamp string for PolterFinance_exploit.sol_exp.sol (e.g., Mar-21-2024 02:51:33 PM) or leave empty to use current timestamp:
Enter the lost amount for PolterFinance_exploit.sol_exp.sol: $7M
Enter additional details for PolterFinance_exploit.sol_exp.sol: FlashLoan attack as the price oracle using the UniswapV2
 and UniswapV3
Enter the link reference for PolterFinance_exploit.sol_exp.sol:
Traceback (most recent call last):
  File "/root/projects/DeFiHackLabs/add_new_entry.py", line 275, in <module>
    main()
  File "/root/projects/DeFiHackLabs/add_new_entry.py", line 271, in main
    process_sol_files(uncommitted_sol_files)
  File "/root/projects/DeFiHackLabs/add_new_entry.py", line 236, in process_sol_files
    add_new_entry_from_file(file_path)
  File "/root/projects/DeFiHackLabs/add_new_entry.py", line 254, in add_new_entry_from_file
    new_entry = generate_new_entry(formatted_date, name, additional_details, lost_amount, file_name, link_reference)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: generate_new_entry() missing 1 required positional argument: 'selected_network'
@ethever ethever added the bug Something isn't working label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant