641-incorporate-feedback-from-the-second-audit#662
Conversation
module WDYT? @WhatisRT @williamdemeo |
0707414 to
e4000d4
Compare
I think the simplest thing to do would be to leave the ordering as it is and in the first place where |
e4000d4 to
a6dbc56
Compare
|
Here are some answers to the open items. If you have further questions let me know!
I assume that's still in the prose, but we aren't actually doing this anymore because there was a memory attack if it was allowed. You could spam votes on irrelevant things, and it would fill up the state faster & cheaper than we want to allow. We now have things like
It's a Shelley-era thing that hasn't meaningfully changed since then, and the reviewed spec just shows changes. So it makes sense to be hidden here but it should be visible in the full spec.
I'm not sure where an issue would arise, this is just giving an extra annotation that is being checked for correctness. Previously the ledger would compute deposits for you, so when making a transaction with certificates it was harder to know if it balances properly because you'd have to mimic the calculations the ledger does. Now you just add up all the numbers in there, and if the transaction is valid this sum is guaranteed to be what you pay/receive.
This is explained by
No, it didn't change.
I think this question is because in the first audit it was. However, that was just a shortcut I took early in writing the Conway spec and was completely incorrect. The mechanism that moves and distributes transaction fees is
Yes.
Yes, bootstrapping was done with an interim CC. I'm not sure how exactly the members were selected, but it's not really in scope of the spec anyway. We can just say that it's required to supply a sensible initial value. |
d65c238 to
c59fabb
Compare
c59fabb to
bd67726
Compare
I can't reproduce the build error locally. |
Co-authored-by: Andre Knispel <andre.knispel@iohk.io>
|
I didn't run it myself, I just looked at the CI output: https://github.com/IntersectMBO/formal-ledger-specifications/actions/runs/13304598502/job/37331617849#step:4:6165 I'm surprised there would be different behaviour on different systems with an error like this. Maybe you had some uncommitted changes? |
Addresses #641
TODO (partial):
security group's thresholdparameter fromQ5etoQ5(Sec. 3, pp. 8-9)UpdateTand how its used to check wellformedness (Sec. 3, pp. 8)actionWellFormedfor the case ofTreasuryWdrl, and address the question: should the parameterx : RwdAddr ⇀ Coinbe also wellformed? (Sec. 4, pp. 11-12) (yes, solved by Moved action specific predicates to actionWellFormed and fix a conformance failure #673)Add description of(not needed)refInputs(Sec. 5, pp 15)curTreasuryandtxdonation(Sec. 5, pp. 15)txid(Sec. 5, pp. 15)Depositsis used in Sec. 6 (Figs. 12 and 13) but introduced in Sec. 8, Fig. 23Suggestion to put back definition of(not needed)cwitness(Sec. 8)Enact-NewCommtoEnact-UpdComm(Sec. 10, pp. 31)threshold xis meant as a fraction to the total stake of all votes, and how is the total stake counted for the purpose of counting if an action passes. (Sec. 11.1, pp. 39)Should(not needed)NewEpochStatebe part of Conway? if so add it to Fig. 41. (Sec. 12, pp. 46)Add English text explanation of Fig. 42. (Sec. 12, pp. 46)(outdated)Add explanation why(outdated)feesis not used when computingtreasuryin Fig. 43. (Sec. 12, pp. 48)Checklist
CHANGELOG.md