Plutonomicon / cardano-transaction-lib

A Purescript library for building smart contract transactions on Cardano
https://plutonomicon.github.io/cardano-transaction-lib/
MIT License
92 stars 50 forks source link

[from TODO] Query layer return Nothing even when rewards are received #1618

Open Renegatto opened 5 months ago

Renegatto commented 5 months ago

There is a TODO in Plutip tests:

https://github.com/Plutonomicon/cardano-transaction-lib/blob/0576feabc1c7ec03eceb0d65a09fec4b26939322/test/Plutip/Staking.purs#L659C1-L662C1

If Ogmios indeed does that it seems like a too serious bug to ignore. This TODO needs to be either removed or resolved.

klntsky commented 4 months ago

Does this test work for you @Renegatto ? https://github.com/Plutonomicon/cardano-transaction-lib/blob/0576feabc1c7ec03eceb0d65a09fec4b26939322/test/Plutip/Staking.purs#L575

Renegatto commented 4 months ago

@klntsky that's another test, I think the PubKey one also needs that assertion uncommented.

Renegatto commented 4 months ago

Oh I see what you mean, the test you are pointing at is skipped. I have not ran that one.