-
Notifications
You must be signed in to change notification settings - Fork 40
Doc Drift: Fix a variety of doc issues, primarily around cross-references #561
Conversation
Asciidoctor allows relfileprefix to be combined with cross-references that end in .adoc and a proper anchor to correctly resolve both in a same-file and in separate-file compilation passes. Leverage this across the document includes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Questions around the price feed
docs/bonding/index.adoc
Outdated
BTC in custody (with overcollateralization factored in), a BTC value drop | ||
against the bonded asset translates in lower fees for Signers. Note that this | ||
does not create any issue for TBTC reserves, but it makes the system less | ||
attractive to signers looking to earn interest via fees on their assets. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You didn't do this, but we shouldn't call it "interest" as it isn't... maybe just "attractive to signers earning fees on their assets"? Anyway fine to kick, nit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
operated by MakerDAO. MakerDAO has both ETHUSD and BTCUSD feeds; these are | ||
combined to make a single ETHBTC price. | ||
collateral backs all tBTC signers. For tBTC v1, the feed will be built on a | ||
BTCETH |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the code match this yet?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope. PR is #545.
collateral backs all tBTC signers. For tBTC v1, the feed will be built on a | ||
BTCETH | ||
https://developer.makerdao.com/feeds/[https://docs.makerdao.com/smart-contract-modules/oracle-module/oracle-security-module-osm-detailed-documentation] | ||
from MakerDAO, currently operated by MakerDAO. | ||
|
||
The minimal price feed design is specified completely by the interface below: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this interface still accurate?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably not, but that’s for another day.
@mhluongo this is ready for another pass! |
These were TODOs from some time ago that are still very much worth introducing for clarity.
These constants, which are all tracked in constants.adoc are important for cross-referencing against mainnet system constants.
Some of these no longer make sense since the spec has been restructured, others are left as exercises for the reader.
ECDSA fraud proofs are the only supported types at this point.
Spec-ial Todos: Clean up most remaining spec TODOs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yassssss
Initiated by #549 (h/t @claveros), the following things should be true:
Fixes #549.
See #554.