tweag / cooked-validators

MIT License
39 stars 11 forks source link

Hedge v2 balancing WIP #186

Closed 0xd34df00d closed 1 year ago

carlhammann commented 1 year ago

My last commit tries to reimplement calcBalanceTx in terms of SpendableOuts and TxSkels. This function is now independent of Cooked.Tx.Balance. Work that remains (and that I can see):

carlhammann commented 1 year ago

I propose we merge this now. The work is far from finished, but the goal that we set ourselves here is reached: We're successfully balancing transactions for the auction contract, all of whose single-trace test cases now exhibit the same behaviour they show on the main branch.