hexresearch / hschain-utxo

UTXO-based contracts for hschain
0 stars 0 forks source link

Remove dupliction in the InputEnv and return PublickKey to Prim #224

Closed Shimuuar closed 3 years ago

Shimuuar commented 3 years ago
  1. We stored same information in the InputEnv twice: as field and as a part of self box.

  2. Use of bytestring in Prim makes it very difficult to understand its meaning. I switched back to PublicKey and used Lift machinery for creating AST for public keys