Closed veqtor closed 1 year ago
Hi @veqtor! Your bug reports are great, as always.
The reason for a crash is empty contracts
mapping. To fix your template add the following lines:
contracts:
- <fxhash_moderation_user>
- <fxhash_user_registry>
Options for DipDup when the operation
index has no contracts:
big_map
index (feels risky)ConfigurationError
Oh, of course facepalm
Let's keep this one open; RuntimeError
is not an expected behavior.
No contracts
section is okay in some cases (originations). To not overcomplicate things it's better to crash with ConfigurationError
.
Fixed in #543; lazy to push another branch.
Steps to reproduce: Create a dipdup project, name it whatever, use this dipdup.yml:
What did you expect to happen:
handlers are being called, it doesn't crash
What actually happened: with
dipdup run
it crashes, see log:crash.log
when running in docker, handlers aren't called
Environment
master
?config:
config.txt