Chia-Network / clvm

[Contract Language|Chia Lisp] Virtual Machine
Apache License 2.0
86 stars 35 forks source link

remove special case for `G1Element` in `SExp.to()` #134

Closed arvidn closed 1 year ago

arvidn commented 1 year ago

Instead support any type that can convert to bytes.

coveralls-official[bot] commented 1 year ago

Pull Request Test Coverage Report for Build 5877680554


Totals Coverage Status
Change from base Build 4176492396: 0.0%
Covered Lines: 916
Relevant Lines: 951

💛 - Coveralls
arvidn commented 1 year ago

yeah, as far as I can tell, in all situations we use this in chia-blockchain right now, the types of the list is erased already anyway. So in practice it's not a regression (yet). I suppose we would need to export a protocol that we could use in chia-blockchain as well, as the member of our List[x]