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

[Session Params] Add num_suppliers_per_session param to session module #907

Merged
merged 13 commits into from
Nov 12, 2024

Conversation

bryanchriswhite
Copy link
Contributor

@bryanchriswhite bryanchriswhite commented Nov 7, 2024

Summary

Adds num_suppliers_per_session parameter to the session module.

@Reviewer, use the updated docs in #839 to validate these changes.

Issue

  • TODO_BETA

Type of change

Select one or more from the following:

Testing

  • Documentation: make docusaurus_start; only needed if you make doc changes
  • Unit Tests: make go_develop_and_test
  • LocalNet E2E Tests: make test_e2e
  • DevNet E2E Tests: Add the devnet-test-e2e label to the PR.

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 bryanchriswhite added session Changes related to Session management governance Governance related changes on-chain On-chain business logic consensus-breaking IMPORTANT! If the PR with this tag is merged, next release WILL HAVE TO BE an upgrade. labels Nov 7, 2024
@bryanchriswhite bryanchriswhite self-assigned this Nov 7, 2024
…ner authority name as_type --response params
@bryanchriswhite bryanchriswhite force-pushed the todo_beta/params/session/MsgUpdateParam branch from 6b43ee5 to 479c0ae Compare November 8, 2024 10:08
@bryanchriswhite bryanchriswhite force-pushed the todo_beta/params/num_supplier_per_session branch from b155d3e to 0be08c0 Compare November 8, 2024 10:10
Copy link

github-actions bot commented Nov 8, 2024

The CI will now also run the e2e tests on devnet, which increases the time it takes to complete all CI checks.

You may need to run make trigger_ci to submit an empty commit that'll trigger the tests.

GCP workloads (requires changing the namespace to 907)
Grafana network dashboard for devnet-issue-907

@github-actions github-actions bot added devnet push-image CI related - pushes images to ghcr.io labels Nov 8, 2024
@bryanchriswhite bryanchriswhite force-pushed the todo_beta/params/session/MsgUpdateParam branch from 479c0ae to 9eba3b1 Compare November 8, 2024 10:29
@bryanchriswhite bryanchriswhite force-pushed the todo_beta/params/num_supplier_per_session branch from ba26612 to bfc027b Compare November 8, 2024 10:40
@bryanchriswhite bryanchriswhite force-pushed the todo_beta/params/num_supplier_per_session branch from bfc027b to 8e8a8aa Compare November 8, 2024 10:41
@bryanchriswhite bryanchriswhite marked this pull request as ready for review November 8, 2024 10:42
Copy link
Contributor

@red-0ne red-0ne left a comment

Choose a reason for hiding this comment

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

A couple of NITs, otherwise LGTM 👍

Preemptively approving.

x/session/types/params.go Outdated Show resolved Hide resolved
x/session/keeper/params_test.go Outdated Show resolved Hide resolved
…pplier_per_session

* pokt/main:
  [Session Params] Add `MsgUpdateParam` to session module (#906)
  Updated some compiled proto files
@bryanchriswhite bryanchriswhite changed the base branch from todo_beta/params/session/MsgUpdateParam to main November 12, 2024 10:51
Co-authored-by: Redouane Lakrache <[email protected]>
@bryanchriswhite bryanchriswhite merged commit 9c7919d into main Nov 12, 2024
14 checks passed
bryanchriswhite added a commit that referenced this pull request Nov 12, 2024
…beta/params/mint_allocation_supplier

* todo_beta/refactor/mint_allocation_proposer:
  [Session Params] Add `num_suppliers_per_session` param to session module (#907)
  refactor: consolidate float params to float64
  chore: review feedback improvements
  [Session Params] Add `MsgUpdateParam` to session module (#906)
  Updated some compiled proto files

# Conflicts:
#	x/tokenomics/keeper/msg_server_update_param.go
#	x/tokenomics/types/message_update_param.go
bryanchriswhite added a commit that referenced this pull request Nov 12, 2024
…ta/refactor/mint_allocation_supplier

* todo_beta/params/mint_allocation_supplier:
  chore: review feedback improvements
  chore: review feedback improvements
  fixup! HEAD
  [Session Params] Add `num_suppliers_per_session` param to session module (#907)
  refactor: consolidate float params to float64
  chore: review feedback improvements
  [Session Params] Add `MsgUpdateParam` to session module (#906)
  Updated some compiled proto files
bryanchriswhite added a commit that referenced this pull request Nov 12, 2024
…beta/params/mint_allocation_source_owner

* todo_beta/refactor/mint_allocation_supplier:
  chore: review feedback improvements
  chore: review feedback improvements
  fixup! HEAD
  [Session Params] Add `num_suppliers_per_session` param to session module (#907)
  refactor: consolidate float params to float64
  chore: review feedback improvements
  [Session Params] Add `MsgUpdateParam` to session module (#906)
  Updated some compiled proto files

# Conflicts:
#	x/tokenomics/keeper/msg_server_update_param.go
#	x/tokenomics/types/message_update_param.go
bryanchriswhite added a commit that referenced this pull request Nov 12, 2024
…odo_beta/params/mint_allocation_application

* todo_beta/refactor/mint_allocation_source_owner:
  fixup! HEAD
  chore: review feedback improvements
  fix: e2e tests
  chore: review feedback improvements
  chore: review feedback improvements
  fixup! HEAD
  [Session Params] Add `num_suppliers_per_session` param to session module (#907)
  refactor: consolidate float params to float64
  chore: review feedback improvements
  [Session Params] Add `MsgUpdateParam` to session module (#906)
  Updated some compiled proto files

# Conflicts:
#	x/tokenomics/keeper/msg_server_update_param.go
#	x/tokenomics/types/message_update_param.go
okdas pushed a commit that referenced this pull request Nov 14, 2024
…ule (#907)

## Summary

Adds `num_suppliers_per_session` parameter to the session module.

**@Reviewer, use the updated docs in #839 to validate these changes.**

## Issue

- `TODO_BETA`

## Type of change

Select one or more from the following:

- [x] New feature, functionality or library
- [ ] Consensus breaking; add the `consensus-breaking` label if so. See
#791 for details
- [ ] Bug fix
- [ ] Code health or cleanup
- [ ] Documentation
- [ ] Other (specify)

## Testing

- [ ] **Documentation**: `make docusaurus_start`; only needed if you
make doc changes
- [x] **Unit Tests**: `make go_develop_and_test`
- [ ] **LocalNet E2E Tests**: `make test_e2e`
- [x] **DevNet E2E Tests**: Add the `devnet-test-e2e` label to the PR.

## Sanity Checklist

- [x] I have tested my changes using the available tooling
- [ ] I have commented my code
- [x] 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

---------

Co-authored-by: Redouane Lakrache <[email protected]>
bryanchriswhite added a commit that referenced this pull request Nov 14, 2024
…pdates

* pokt/main: (51 commits)
  [RelayMiner] Supplier rate limiting (#895)
  [Tokenomics] refactor: `MintAllocationApplication` var usage to param usage  (#918)
  [Tokenomics] feat: add `mint_allocation_application` param to tokenomics module (#917)
  [Tokenomics] refactor: `MintAllocationSourceOwner` var usage to param usage (#916)
  [Tokenomics] feat: add `mint_allocation_source_owner` param to tokenomics module (#915)
  [Tokenomics] refactor: `MintAllocationSupplier` var usage to param usage (#914)
  [Tokenomics] feat: add `mint_allocation_supplier` param to tokenomics module (#913)
  [Tokenomics] refactor: `MintAllocationProposer` var usage to param usage (#912)
  [Tokenomics] feat: add `mint_allocation_proposer` param to tokenomics module (#911)
  [Tokenomics] refactor: `MintAllocationDao` var usage to param usage (#910)
  [Tokenomics] Add `mint_allocation_dao` tokenomics module param (#909)
  [quick-pr] change full-node.sh script links (#920)
  [Supplier] refactor: `NumSuppliersPerSession` var usage to param usage (#908)
  [Session Params] Add `num_suppliers_per_session` param to session module (#907)
  [Session Params] Add `MsgUpdateParam` to session module (#906)
  Updated some compiled proto files
  [TODOs] Update #2 to `TODO_BETA` to only reflect ACTUAL blockers (#900)
  [Workflow] Enforce `TODO_UPNEXT` comments to have an associated username (#896)
  [Observability] Foundation for load testing telemetry (#832)
  [Tokenomics] Implement Global Mint Reimbursement Request (#878)
  ...
bryanchriswhite added a commit that referenced this pull request Nov 14, 2024
…tlement

* pokt/main:
  [RelayMiner] Supplier rate limiting (#895)
  [Tokenomics] refactor: `MintAllocationApplication` var usage to param usage  (#918)
  [Tokenomics] feat: add `mint_allocation_application` param to tokenomics module (#917)
  [Tokenomics] refactor: `MintAllocationSourceOwner` var usage to param usage (#916)
  [Tokenomics] feat: add `mint_allocation_source_owner` param to tokenomics module (#915)
  [Tokenomics] refactor: `MintAllocationSupplier` var usage to param usage (#914)
  [Tokenomics] feat: add `mint_allocation_supplier` param to tokenomics module (#913)
  [Tokenomics] refactor: `MintAllocationProposer` var usage to param usage (#912)
  [Tokenomics] feat: add `mint_allocation_proposer` param to tokenomics module (#911)
  [Tokenomics] refactor: `MintAllocationDao` var usage to param usage (#910)
  [Tokenomics] Add `mint_allocation_dao` tokenomics module param (#909)
  [quick-pr] change full-node.sh script links (#920)
  [Supplier] refactor: `NumSuppliersPerSession` var usage to param usage (#908)
  [Session Params] Add `num_suppliers_per_session` param to session module (#907)
  [Session Params] Add `MsgUpdateParam` to session module (#906)
  Updated some compiled proto files
  [TODOs] Update #2 to `TODO_BETA` to only reflect ACTUAL blockers (#900)
  [Workflow] Enforce `TODO_UPNEXT` comments to have an associated username (#896)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
consensus-breaking IMPORTANT! If the PR with this tag is merged, next release WILL HAVE TO BE an upgrade. devnet devnet-test-e2e governance Governance related changes on-chain On-chain business logic push-image CI related - pushes images to ghcr.io session Changes related to Session management
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants