-
Notifications
You must be signed in to change notification settings - Fork 122
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
Adds Cryptographic Identity utility for working with various keys ect #470
Conversation
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.
Great stuff! Could we delete this struct and it's below helper in this PR? Should be easily replaceable with your more extensive helpers
@smarshall-spitzbart for sure! How about letting this one in first, then I (or we) can make a pass over the codebase and use these utils in all the obvious places? |
Sure thing, a larger parse through the codebase would make sense when we have time 👍 , for now I've made #473 which removes only the helper I was referencing |
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.
LGTM!
This is really useful, needed it a couple of times already and had to do weird stuff :D
commit fb83bb7 Author: MSalopek <[email protected]> Date: Tue Nov 15 22:54:06 2022 +0100 add multiple consumer chains in integration tests (#407) commit 33137b3 Author: Shawn Marshall-Spitzbart <[email protected]> Date: Tue Nov 15 12:05:45 2022 -0800 testutils refactors and cleanup (#472) * changes * mas * Update README.md * Update README.md * sorry for the friday night emails * Update instance_test.go * util naming commit 0096317 Author: Daniel T <[email protected]> Date: Tue Nov 15 19:24:40 2022 +0000 Adds Cryptographic Identity utility for working with various keys ect (#470) * Adds crypto.go Cryptographic Identity util * Changes mock to ibcmock Co-authored-by: Daniel <[email protected]> commit b10e132 Author: Shawn Marshall-Spitzbart <[email protected]> Date: Mon Nov 14 16:32:31 2022 -0800 circuit breaker params (#444) * changes * Update params.go commit df53566 Author: Shawn Marshall-Spitzbart <[email protected]> Date: Mon Nov 14 16:11:22 2022 -0800 Slashing related e2e test improvements (#461)
Squashed commit of the following: commit fb83bb7 Author: MSalopek <[email protected]> Date: Tue Nov 15 22:54:06 2022 +0100 add multiple consumer chains in integration tests (#407) commit 33137b3 Author: Shawn Marshall-Spitzbart <[email protected]> Date: Tue Nov 15 12:05:45 2022 -0800 testutils refactors and cleanup (#472) * changes * mas * Update README.md * Update README.md * sorry for the friday night emails * Update instance_test.go * util naming commit 0096317 Author: Daniel T <[email protected]> Date: Tue Nov 15 19:24:40 2022 +0000 Adds Cryptographic Identity utility for working with various keys ect (#470) * Adds crypto.go Cryptographic Identity util * Changes mock to ibcmock Co-authored-by: Daniel <[email protected]> commit b10e132 Author: Shawn Marshall-Spitzbart <[email protected]> Date: Mon Nov 14 16:32:31 2022 -0800 circuit breaker params (#444) * changes * Update params.go commit df53566 Author: Shawn Marshall-Spitzbart <[email protected]> Date: Mon Nov 14 16:11:22 2022 -0800 Slashing related e2e test improvements (#461) Co-authored-by: Daniel <[email protected]>
This is a utility set that I extracted from working on Key Assignment.
It gives a really handy way to get all the various key and address types used by the sdk and tendermint, and their various interfaces, without having to piece everything together each time.
This is used extensively in the Key Assignment tests but I've opened this PR to get it in sooner, so that I can start using it to improve the diff tests ect.