Fix for changes in algebra - replace uses of tobytes with canonicalserialize, and added mul import where necessary.
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
Description
Fix for changes in algebra - replace uses of tobytes with canonicalserialize, and added mul import where necessary.
Before we can merge this PR, please make sure that all the following items have been checked off. If any of the checklist items are not applicable, please leave them but write a little note why.