-
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
[Tokenomics] Refactoring claim settlement to enable Token Logic Modules #708
Merged
Merged
Changes from all commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
a40ada7
WIP
Olshansk 259a0db
Merge with main
Olshansk 96a45a5
Early WIP
Olshansk 7d49bb3
Work session with ramiro
Olshansk 7cd7885
Merge with main
Olshansk 8b33993
Code mostly cleaned up
Olshansk 2a2f5e5
Compiles
Olshansk f09cbab
Unit tests beginning to pass
Olshansk beed2f7
Properly parsing consensus address
Olshansk c2ab024
Properly parsing consensus address
Olshansk 0831311
Removed extra burn
Olshansk fe30985
Removed extra burn
Olshansk 9247101
Fixed more unit tests
Olshansk 757a84a
Tokenomic unit tests pass
Olshansk eade404
Update x/tokenomics/keeper/token_logic_modules.go
Olshansk 66fb467
Update x/tokenomics/keeper/token_logic_modules.go
Olshansk b6310f0
[Quick PR] Add authz authorizations for core modules param changes (#…
okdas 937d956
build(deps): bump github.com/docker/docker from 27.0.3+incompatible t…
dependabot[bot] adca883
Replying to review comments
Olshansk e029a5d
Compute units -> relays
Olshansk 095e913
Merge branch 'main' into token_logic_module_base
Olshansk c902ef8
Update tests after fixing red0ne's bug
Olshansk 362434b
Merge branch 'main' into token_logic_module_base
Olshansk 45bba6d
Replying to review comments
Olshansk 192521a
Reply to Red0ne's comment: https://github.com/pokt-network/poktroll/p…
Olshansk 3253ba5
Empty commit
Olshansk 9d0aa62
Skip flaky tests
Olshansk 18d5276
Fixing flaky tests
Olshansk 322d4c8
Fixing more tests
Olshansk cec5a90
More timeouts
Olshansk 4cc2c3c
Self review
Olshansk 4cf0a8a
Merge with skip_flaky_tests
Olshansk c6e25ed
Empty commit
Olshansk 0058a8f
Empty commit
Olshansk 6ea6974
fix another flaky test
Olshansk 19dd7d1
Add source owners to genesis file
Olshansk ce7e2f9
Fixed TestFeatures/Relay_Namespace/
Olshansk b71809a
Merge branch 'skip_flaky_tests' into token_logic_module_base
Olshansk ab0ed2e
Update the show-service query and improve how we retrieve cupr from t…
Olshansk 8447d4e
Verified tests work locally again
Olshansk 7809bbf
Update pkg/relayer/session/sessiontree.go
Olshansk 92d71b0
Reply to red0ne's comments
Olshansk 4762ccb
Merge branch 'skip_flaky_tests' into token_logic_module_base
Olshansk 2d50d85
Update TODOs in .proto files
Olshansk 0d02517
Merge with main
Olshansk e82d432
Merge with main
Olshansk 132391c
Merge with main
Olshansk e61849c
Fixed another test
Olshansk 19258de
Fixed another test
Olshansk b0910c7
Comment out E2E test
Olshansk 0f33c4f
Remove a breaking E2E test line
Olshansk 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 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 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 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 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 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 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 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 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 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 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 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 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.
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.
Only referencing the
Service.Id
makes sense and also raises the question about embedding full entities into others (the wholeService
is embedded into theSupplier
in this case) .It pushes devs to use the embedded data instead of querying the source of truth.
You already solved one of these which was about the service's
ComputeUnitsPerRelay
where the dev used the value embedded in theApplication.Services.ComputeUnitsPerRelay
instead of fetching theService
which is the source of truth.We should (at some point) only embed ids and enforce fetching the rest of the data from the SOT.
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.
Updated some TODOs. PTAL
This also made me realize that onchain data structures are like micro-services.