Skip to content
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

[TODO] chore: cleanup done TODOs #627

Merged
merged 94 commits into from
Jun 24, 2024
Merged

Conversation

bryanchriswhite
Copy link
Contributor

@bryanchriswhite bryanchriswhite commented Jun 20, 2024

Summary

Removes TODOs which either are done or will be done once in-review PRs are merged.

Issue

Type of change

Select one or more:

  • New feature, functionality or library
  • Bug fix
  • Code health or cleanup
  • Documentation
  • Other (specify)

Testing

Documentation changes (only if making doc changes)

  • make docusaurus_start; only needed if you make doc changes

Local Testing (only if making code changes)

  • Unit Tests: make go_develop_and_test
  • LocalNet E2E Tests: make test_e2e
  • See quickstart guide for instructions

PR Testing (only if making code changes)

  • DevNet E2E Tests: Add the devnet-test-e2e label to the PR.
    • THIS IS VERY EXPENSIVE, so only do it after all the reviews are complete.
    • Optionally run make trigger_ci if you want to re-trigger tests without any code changes
    • If tests fail, try re-running failed tests only using the GitHub UI as shown here

Sanity Checklist

  • I have tested my changes using the available tooling
  • I have commented my code
  • I have performed a self-review of my own code; both comments & source code
  • I create and reference any new tickets, if applicable
  • I have left TODOs throughout the codebase, if applicable

bryanchriswhite and others added 30 commits June 6, 2024 12:25
Co-authored-by: Daniel Olshansky <[email protected]>
Co-authored-by: Daniel Olshansky <[email protected]>
…request_probability

* pokt/main:
  [Proof Module] feat: on-chain proof window validation (#588)
…requirement_threshold

* pokt/main:
  [Proof Module] Add `proof_request_probability` param (#593)
Co-authored-by: Daniel Olshansky <[email protected]>
…fs' into issues/579/chore/telemetry

* pokt/issues/579/feat/probabilistic-proofs:
  [RelayMiner] LeanClient (#567)
  [Session test fixes] Fix window bug and make E2E session test deterministic (#607)
…n-id-validation

* pokt/main:
  [Telemetry] chore: add probabilistic proof telemetry (#605)
  [E2E] Test REST Relays (#611)
  [E2E] Make relay feature to wait for the ClaimSettled event (#615)
  [Tokenomics] feat: add probabilistic proof requirement case (#604)
  [E2E/Quickfix] Move E2E pre-run script to protocol-infra (#614)
  [Off-Chain] Add support to REST RPCType (#594)
  [Dev Tools] Add .devcontainer support (#597)
  [Relay Mining] Updates to reflect SMT changes (#606)
@bryanchriswhite bryanchriswhite added the code health Cleans up some code label Jun 20, 2024
@bryanchriswhite bryanchriswhite self-assigned this Jun 20, 2024
@@ -15,9 +15,6 @@ func (k msgServer) CreateClaim(
ctx context.Context,
msg *types.MsgCreateClaim,
) (_ *types.MsgCreateClaimResponse, err error) {
// TODO_BLOCKER(@bryanchriswhite): Prevent Claim upserts after the ClaimWindow is closed.
// TODO_BLOCKER(@bryanchriswhite): Validate the signature on the Claim message corresponds to the supplier before Upserting.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is guaranteed by the presence of the the cosmos.msg.v1.signer option on the MsgCreateClaim protobuf type.

@bryanchriswhite bryanchriswhite marked this pull request as ready for review June 20, 2024 10:43
@bryanchriswhite bryanchriswhite force-pushed the issues/586/todos/session-id-validation branch from 287eb78 to be36e39 Compare June 20, 2024 10:47
@bryanchriswhite bryanchriswhite changed the title chore: cleanup done TODOs [TODO] chore: cleanup done TODOs Jun 20, 2024
…/todos/done

* issues/586/todos/session-id-validation:
  fix: unit test
@bryanchriswhite bryanchriswhite changed the base branch from issues/586/todos/session-id-validation to main June 24, 2024 08:22
@bryanchriswhite bryanchriswhite merged commit f21253c into main Jun 24, 2024
9 checks passed
@bryanchriswhite bryanchriswhite deleted the issues/586/todos/done branch June 24, 2024 08:25
bryanchriswhite added a commit that referenced this pull request Jun 26, 2024
…02/refactor/relayminer

* pokt/issues/402/feat/rng:
  [Code Health] refactor: tx hash encoding (#617)
  [Docs] Relay session & claim/proof diagrams (#478)
  Empty commit
  [Code Health] refactor: block query client interface (#616)
  [TODO] chore: cleanup done TODOs (#627)
  [TODOs] chore: cleanup validate session ID TODOs (#608)
  [LocalNet] Switch to CosmosSDK defaults (#609)
  [Relay Mining] Emit events and refactor test helpers (#610)
  [Docs] Minor improvements to `adding_params.md` (#623)
  [Telemetry] chore: add probabilistic proof telemetry (#605)
bryanchriswhite added a commit that referenced this pull request Jun 27, 2024
…aim-proof-distribution

* issues/402/refactor/relayminer: (21 commits)
  fix: unflake and speed up tests
  chore: speed up & improve tests
  chore: update comments
  chore: simplify
  [E2E] Add logging output from the init-container step (#635)
  fix: failing test
  Empty commit
  [Code Health] refactor: random number generation (#618)
  chore: review improvements
  chore: review improvments
  [Code Health] refactor: tx hash encoding (#617)
  [Docs] Relay session & claim/proof diagrams (#478)
  Empty commit
  [Code Health] refactor: block query client interface (#616)
  chore: review feedback improvements
  [TODO] chore: cleanup done TODOs (#627)
  [TODOs] chore: cleanup validate session ID TODOs (#608)
  [LocalNet] Switch to CosmosSDK defaults (#609)
  [Relay Mining] Emit events and refactor test helpers (#610)
  [Docs] Minor improvements to `adding_params.md` (#623)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code health Cleans up some code
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants