mlabs-haskell / cardano-open-oracle-protocol

COOP - Cardano open oracle protocol
Apache License 2.0
21 stars 3 forks source link

Transaction building migration #84

Open bladyjoker opened 9 months ago

bladyjoker commented 9 months ago

https://github.com/mlabs-haskell/bot-plutus-interface is deprecated, and COOP needs to migrate to a different PAB solution.

Reproducing transaction building logic is not necessarily difficult, however, having a stable and robust test suite as we do currently have with Plutip might need more work.

Candidates:

Concretely, this work is about reworking the coop-pab component in the repo. Transaction building is abstracted behind the TxBuilder gRPC service https://github.com/mlabs-haskell/cardano-open-oracle-protocol/blob/main/coop-proto/tx-builder-service.proto. This means switching implementations would not in theory affect its use sites (concretely coop-publisher).

bladyjoker commented 9 months ago

The question of BPI revival

I spent some time trying to upgrade our key dependency which is https://github.com/mlabs-haskell/bot-plutus-interface. This feels like a game of whac-a-mole and chess and it's uncertain how much effort will it require and if at all we will emerge victorious in a reasonable amount of time.

My strong suggestion is to completely remove BPI as a dependency and move to either CTL or Atlas. I'm currently leaning more towards CTL as there's the least unknowns associated with it.