-
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
[Supplier] refactor: proof store indices (2) #327
[Supplier] refactor: proof store indices (2) #327
Conversation
The CI will now also run the e2e tests on devnet, which increases the time it takes to complete all CI checks. If you just created a pull request, you might need to push another commit to produce a container image DevNet can utilize to spin up infrastructure. You can use |
Co-authored-by: Daniel Olshansky <[email protected]>
cce5a68
to
3665b5e
Compare
3665b5e
to
08d68ab
Compare
Supersedes #266; shelves unit & integration coverage due to excessive refactor effort required. |
|
||
func (query *QueryAllProofsRequest) ValidateBasic() error { | ||
// TODO_TECHDEBT: update function signature to receive a context. |
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.
Do we have any ValidateBasic
functions doing this? I'd argue this isn't a TODO.
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.
I'm realizing that this is actually not possible as it would require modification to cosmos-sdk framework method signatures (which is not feasible IMHO). I'm just going to use context.Background()
and remove the comment for now.
Co-authored-by: Daniel Olshansky <[email protected]>
The CI will now also run the e2e tests on devnet, which increases the time it takes to complete all CI checks. If you just created a pull request, you might need to push another commit to produce a container image DevNet can utilize to spin up infrastructure. You can use |
Co-authored-by: Daniel Olshansky <[email protected]>
* refactor: off-chain session validation * refactor: proof CLI * refactor: proof store indices * fixup! refactor: off-chain session validation * fixup! fixup! refactor: off-chain session validation * fixup! fixup! fixup! refactor: off-chain session validation * chore: review feedback improvement Co-authored-by: Daniel Olshansky <[email protected]> * chore: remove unneeded whitespace * chore: update go.mod * chore: review feedback improvements Co-authored-by: Daniel Olshansky <[email protected]> * chore: review feedback improvements Co-authored-by: Daniel Olshansky <[email protected]> --------- Co-authored-by: Daniel Olshansky <[email protected]>
Summary
Human Summary
Refactors on-chain proof store to support multiple indices/stores in the multistore (similar to claims): "primary key", "supplier address", and "session end block height"
Issue
SubmitProof
message handling #141Type of change
Select one or more:
Testing
make go_develop_and_test
make test_e2e
devnet-test-e2e
label to the PR. This is VERY expensive, only do it after all the reviews are complete.Sanity Checklist