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

Update to types w/ useCompatAddress #1623

Merged
merged 7 commits into from
Aug 7, 2024
Merged

Update to types w/ useCompatAddress #1623

merged 7 commits into from
Aug 7, 2024

Conversation

grod220
Copy link
Contributor

@grod220 grod220 commented Aug 2, 2024

Part 1 of #1656

Updates to latest bufbuild and penumbra core types

Copy link

changeset-bot bot commented Aug 2, 2024

🦋 Changeset detected

Latest commit: ab3e976

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 16 packages
Name Type
@penumbra-zone/transport-chrome Major
@penumbra-zone/transport-dom Minor
@penumbra-zone/perspective Major
@penumbra-zone/protobuf Minor
@penumbra-zone/services Major
@penumbra-zone/getters Major
@penumbra-zone/storage Major
@penumbra-zone/client Major
@penumbra-zone/query Major
@penumbra-zone/react Minor
@penumbra-zone/types Major
@penumbra-zone/wasm Major
@repo/ui Minor
minifront Patch
node-status Patch
@penumbra-zone/crypto-web Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Comment on lines -135 to -141
/**
* For Noble specifically we need to use a Bech32 encoding rather than Bech32m,
* because Noble currently has a middleware that decodes as Bech32.
* Noble plans to change this at some point in the future but until then we need
* to use a special encoding just for Noble specifically.
*/
const bech32Chains = ['noble', 'nobletestnet'];
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Moved to shared file

.syncpackrc Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

bufbuild is on version 2 now (breaking) so we needed some semver config to prevent syncpack from encouraging upgrade

Comment on lines +37 to +38
"@buf/cosmos_ibc.bufbuild_es": "1.10.0-20230913112312-7ab44ae956a0.1",
"@buf/cosmos_ibc.connectrpc_es": "1.4.0-20230913112312-7ab44ae956a0.3",
Copy link
Contributor

Choose a reason for hiding this comment

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

these two moved backwards, because i noticed it's what core uses https://github.com/penumbra-zone/penumbra/blob/main/proto/buf.lock

@grod220 grod220 marked this pull request as ready for review August 7, 2024 11:07
@grod220 grod220 added the rpc Related to proto rpc services/methods label Aug 7, 2024
@grod220 grod220 requested a review from a team August 7, 2024 11:24
@grod220 grod220 changed the title Use compat flag for noble Use compat flag for noble [pending testing] Aug 7, 2024
@grod220 grod220 removed the request for review from a team August 7, 2024 11:45
@grod220 grod220 changed the title Use compat flag for noble [pending testing] Update to types w/ useCompatAddress Aug 7, 2024
@TalDerei TalDerei self-requested a review August 7, 2024 13:20
Copy link
Contributor

@TalDerei TalDerei left a comment

Choose a reason for hiding this comment

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

@grod220 we'll temporarily experience slower proving (~25% performance regression) by bumping decaf377 to v0.10.1. I'll test penumbra-zone/decaf377#108 to validate it resolves the issue.

@grod220
Copy link
Contributor Author

grod220 commented Aug 7, 2024

@TalDerei, wish we could bump without the update, but it won't compile with our old version on anything 0.79.0 and up. Because we need the types, we don't have a choice. But those performance improvements seem very worthwhile.

@grod220 grod220 merged commit 10ef940 into main Aug 7, 2024
6 checks passed
@grod220 grod220 deleted the use-compat branch August 7, 2024 13:36
@hdevalence
Copy link
Member

Backing up a bit, how did we end up in a situation where these are coupled together? Agree that getting this unstuck is more important but ideally we shouldn't be in this situation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rpc Related to proto rpc services/methods
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants