-
Notifications
You must be signed in to change notification settings - Fork 12
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
[Application] Refactor app module to fetch on-chain params #555
Conversation
Co-authored-by: Daniel Olshansky <[email protected]>
…elayerSessionsManager
Your free trial has expired. To keep using Ellipsis, sign up at https://app.ellipsis.dev for $20/seat/month or reach us at [email protected] |
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.
Will re-review the entire PR on the next round but my main feedback is:
- s/queryHeight/blockHeight/
- s/GetDefaultX/GetXForDefaultParams
Lmk wyt
x/application/keeper/msg_server_undelegate_from_gateway_test.go
Outdated
Show resolved
Hide resolved
…-module * pokt/main: [Relayminer] Query for on-chain session param `num_blocks_per_session` (#538)
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.
Optional comment updates
Co-authored-by: Daniel Olshansky <[email protected]>
This comment was marked as outdated.
This comment was marked as outdated.
…ssues/516/feat/claim-window-close-offset-blocks * issues/516/feat/claim-window-open-offset-blocks: test: ValidateClaimWindowOpenOffsetBlocks [On-chain] chore: add single param updates to `shared` module (#560) Empty commit [Code Health] chore: resolve & cleanup outstanding `TODO_TECHDEBT(#517)` comments (#559) [Session Module] refactor: session module fetches on-chain params (#557) [Ring Client] refactor: ring client to use on-chain params (#556) [LoadTest] Switch funding account to key name instead of address (#562) [Application] Refactor app module to fetch on-chain params (#555) [Relayminer] Fix: relayminer on time sessions (#550) Empty commit
…issues/516/refactor/relayminer * issues/516/feat/claim-window-close-offset-blocks: test: ValidateClaimWindowCloseOffsetBlocks test: ValidateClaimWindowOpenOffsetBlocks [On-chain] chore: add single param updates to `shared` module (#560) Empty commit [Code Health] chore: resolve & cleanup outstanding `TODO_TECHDEBT(#517)` comments (#559) [Session Module] refactor: session module fetches on-chain params (#557) [Ring Client] refactor: ring client to use on-chain params (#556) [LoadTest] Switch funding account to key name instead of address (#562) [Application] Refactor app module to fetch on-chain params (#555) [Relayminer] Fix: relayminer on time sessions (#550) Empty commit
Co-authored-by: Daniel Olshansky <[email protected]>
Summary
Refactor the
application
module to remove all usage of theNumBlocksPerSession
stand-in constant, in favor of fetching the on-chain param. This involves adding theshared
module as a dependency.Issue
NumBlocksPerSession
governance parameter #517Type of change
Select one or more:
Testing
Documentation changes (only if making doc changes)
make docusaurus_start
; only needed if you make doc changesLocal Testing (only if making code changes)
make go_develop_and_test
make test_e2e
PR Testing (only if making code changes)
devnet-test-e2e
label to the PR.make trigger_ci
if you want to re-trigger tests without any code changesSanity Checklist