It worked fine by setting chain to mockchain.Thanks.
If I want to use the originally configured sepolia network, how should I configure it?
I originally defined it like this:
Thank you for your reply.
If you continue to specify “ethereum_sepolia” in the “chain” field, the same error below will occur.
😭 cert-issuer -c conf.ini
WARNING - Your app is configured to skip the wifi check when the USB is plugged in. Read the documentation to ensure this is what you want, since this is less secure
INFO - This run will try to issue on the ethereum_sepolia chain
Traceback (most recent call last):
File "/Users/ogawaranaoki/.pyenv/versions/3.10.7/bin/cert-issuer", line 8, in <module>
sys.exit(cert_issuer_main())
File "/Users/ogawaranaoki/.pyenv/versions/3.10.7/lib/python3.10/site-packages/cert_issuer/__main__.py", line 17, in cert_issuer_main
issue_certificates.main(parsed_config)
File "/Users/ogawaranaoki/.pyenv/versions/3.10.7/lib/python3.10/site-packages/cert_issuer/issue_certificates.py", line 30, in main
certificate_batch_handler, transaction_handler, connector = ethereum.instantiate_blockchain_handlers(app_config)
File "/Users/ogawaranaoki/.pyenv/versions/3.10.7/lib/python3.10/site-packages/cert_issuer/blockchain_handlers/ethereum/__init__.py", line 64, in instantiate_blockchain_handlers
certificate_handler=CertificateV3Handler(),
TypeError: CertificateV3Handler.__init__() missing 1 required positional argument: 'app_config'
I solved this by changing the “certificate_handler=CertificateV3Handler()” to “certificate_handler=CertificateV3Handler(app_config)” in python3.10/site-packages/cert_issuer/blockchain_handlers/ethereum/init.py