-
Notifications
You must be signed in to change notification settings - Fork 277
Description
Save transaction hashes to JSON file? [y/N]: y
Enter output filepath: ./whatever.json
Traceback (most recent call last):
File "/home/jmyles/.local/share/virtualenvs/nucypher-EzeC4Bqx/bin/nucypher-deploy", line 11, in
load_entry_point('nucypher', 'console_scripts', 'nucypher-deploy')()
File "/home/jmyles/.local/share/virtualenvs/nucypher-EzeC4Bqx/lib/python3.7/site-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/home/jmyles/.local/share/virtualenvs/nucypher-EzeC4Bqx/lib/python3.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/jmyles/.local/share/virtualenvs/nucypher-EzeC4Bqx/lib/python3.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/jmyles/.local/share/virtualenvs/nucypher-EzeC4Bqx/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/jmyles/.local/share/virtualenvs/nucypher-EzeC4Bqx/lib/python3.7/site-packages/click/decorators.py", line 64, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "/home/jmyles/.local/share/virtualenvs/nucypher-EzeC4Bqx/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/jmyles/projects/nucypher/nucypher/cli/deploy.py", line 206, in deploy
file.write(json.dumps(__deployment_transactions))
File "/home/jmyles/projects/pyenv/versions/3.7.0/lib/python3.7/json/init.py", line 231, in dumps
return _default_encoder.encode(obj)
File "/home/jmyles/projects/pyenv/versions/3.7.0/lib/python3.7/json/encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/home/jmyles/projects/pyenv/versions/3.7.0/lib/python3.7/json/encoder.py", line 257, in iterencode
return _iterencode(o, 0)
File "/home/jmyles/projects/pyenv/versions/3.7.0/lib/python3.7/json/encoder.py", line 179, in default
raise TypeError(f'Object of type {o.class.name} '
TypeError: Object of type HexBytes is not JSON serializable