-
Notifications
You must be signed in to change notification settings - Fork 0
chore(release): v0.261.0 -- reward RPC ingress hardening #624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
eac8e10
feat(mirror): persist mirror-bond coin ids (#575)
MichaelTaylor3d 08261a4
fix(peer): count accepted relayed circuits in the connected pool (#579)
MichaelTaylor3d 1ad1c51
fix(cli): guard the exit-code namespace shared with diga against coll…
MichaelTaylor3d 194a016
fix(hygiene): port the lost-continuation guard to 4 crates, fix 48 co…
MichaelTaylor3d 93fb452
feat(mirror): detect an IP change daily and reconcile mirror coins to…
MichaelTaylor3d e11434a
feat(serve): content hosting + serve path batch, v0.255.0 (dig_ecosys…
MichaelTaylor3d 2b1b5d6
chore(develop): merge main (v0.254.89) back into develop after the #5…
MichaelTaylor3d b27180b
chore(develop): sync develop to main after the v0.255.0 cut (#588 squ…
MichaelTaylor3d bc9767d
chore: untrack gitnexus-generated agent files (#590)
MichaelTaylor3d d562aad
feat(rewards): always-on prover loop engine -- honest liveness, type-…
MichaelTaylor3d 8573ecf
feat: serve dig.getRewardProverStatus at Tier::Control (#595)
MichaelTaylor3d e9f07c4
feat(rewards): peer-side claim loop -- watch distributors, claim on c…
MichaelTaylor3d 56f398d
feat(rewards): chain port + listRewardDistributors (unit 2) (#604)
MichaelTaylor3d 90fff0c
feat(rewards): durable funder-ownership registry (identity only) (#606)
MichaelTaylor3d 49ae2c6
feat(rewards): wire the peer claim loop onto a cadence driver from re…
MichaelTaylor3d 3d2d55b
chore: record main in develop after the v0.257.0 cut (#608)
MichaelTaylor3d cd8ce7b
chore: record main in develop after the v0.257.0 cut (ancestry link)
MichaelTaylor3d 24cde57
feat(rpc): serve the five reward-distributor RPC methods (#3269)
MichaelTaylor3d 8b81583
chore(release): bump workspace version to 0.258.0
MichaelTaylor3d 0ae3ef4
ci: propagate main's release-cut commitlint depth to develop
MichaelTaylor3d 7902ad7
fix(rewards): clamp an out-of-range claim schedule to the max (#611)
MichaelTaylor3d 22ba90b
feat(rewards): construct and install a real RewardsChainPort over dig…
MichaelTaylor3d 98b29eb
test(peer): lock inbound dial+accept counted once (#591)
MichaelTaylor3d a2d5c38
fix(rewards): split the three conditions behind REWARD_CHAIN_UNAVAILA…
MichaelTaylor3d 7c9f46b
fix(rewards): reward-distributor reads are OPEN on POST /, doc + pin …
MichaelTaylor3d 4e102c6
fix(rewards-claim): derive both cadences from one raw config value an…
MichaelTaylor3d 44230a7
feat(rewards-claim): real ClaimChainPort over dig-rewards-coin 0.8.0 …
MichaelTaylor3d a9a9387
chore: record main v0.260.0 in develop after the #622 cut (ancestry l…
MichaelTaylor3d 25a04f0
chore(release): forward-port the v0.260.0 workspace version to develop
MichaelTaylor3d 2ca67dd
fix(rewards-claim): chain_port audit, approval refusal, discovery cap…
MichaelTaylor3d af8b010
fix(rpc): gate node-local reward reads, rate-bound open chain reads (…
MichaelTaylor3d 6fe8647
chore(release): v0.261.0 -- reward RPC ingress hardening
MichaelTaylor3d 9d0f98a
fix(rewards-claim): remove the #3358 discovery cap from the v0.261.0 cut
MichaelTaylor3d File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| # DIG-Network/dig_ecosystem#3357: bans calling `RewardDistributor::created_slot_value_to_slot` | ||
| # from production code anywhere in this workspace. | ||
| # | ||
| # That method derives a `LineageProof` from the coin it is called ON. For a distributor rebuilt | ||
| # from chain (every production read path), that coin is the TIP -- so a `LineageProof` it derives | ||
| # for a slot an EARLIER generation created is a well-formed but PHANTOM proof. The entry slot for a | ||
| # real spend must come from a fresh, authenticated chain walk instead (see | ||
| # `dig_rewards_coin::ChainEntrySlotSource`, or `DistributorSnapshot::entry_slot` / | ||
| # `commitment_slots` / `reward_slots` for a read). | ||
| # | ||
| # This lint bans the CALL, not the receiver class: clippy cannot tell a chain-rebuilt receiver from | ||
| # an in-process one (a distributor built fresh in the same process this same generation, e.g. a | ||
| # test fixture reading back the reward slots ITS OWN spend just created -- that use is legitimate). | ||
| # Every `#[allow(clippy::disallowed_methods)]` against this entry must carry a comment stating WHY | ||
| # its receiver is in-process this generation, not chain-rebuilt. | ||
| disallowed-methods = [ | ||
|
MichaelTaylor3d marked this conversation as resolved.
|
||
| { path = "chia_sdk_driver::RewardDistributor::created_slot_value_to_slot", reason = "derives a LineageProof from the coin it is called on; on a distributor rebuilt from chain that coin is the TIP, so any earlier generation's slot is a PHANTOM (dig_ecosystem#3357). Use DistributorSnapshot::entry_slot / commitment_slots / reward_slots or ChainEntrySlotSource. This lint bans the CALL, not the receiver class: it cannot tell a chain-rebuilt receiver from an in-process one. Every #[allow] must state in a comment WHY its receiver is in-process." }, | ||
| ] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.