I spent 9 hours debugging a system where I existed on the blockchain but not in the database