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

feat: modify accept share method #4419

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

ravneet-bitgo
Copy link
Contributor

@ravneet-bitgo ravneet-bitgo commented Apr 10, 2024

Ticket: PX-3296

Description

We are modifying the accept share method for go account wallet invitations. If the keychainOverrideRequired key is present in the walletShare, we need to create a new keychain and pass the same to the updateShare method so we can override the existing key. After successful completion of the same, we need to reshareWallet to all the existing spenders.

TDD: link

@ravneet-bitgo ravneet-bitgo force-pushed the ravneet/PX-3296-modify-accept-share branch 16 times, most recently from 502f432 to c214c4e Compare April 12, 2024 11:06
Copy link

socket-security bot commented Apr 12, 2024

New dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher

View full report↗︎

@ravneet-bitgo ravneet-bitgo force-pushed the ravneet/PX-3296-modify-accept-share branch from c214c4e to a87b65e Compare April 12, 2024 12:06
@ravneet-bitgo ravneet-bitgo force-pushed the ravneet/PX-3296-modify-accept-share branch from a87b65e to 4a6f2b4 Compare April 12, 2024 12:37
@ravneet-bitgo ravneet-bitgo marked this pull request as ready for review April 12, 2024 13:08
@ravneet-bitgo ravneet-bitgo requested review from a team as code owners April 12, 2024 13:08
Copy link
Contributor

@zahin-mohammad zahin-mohammad left a comment

Choose a reason for hiding this comment

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

Please add tests

modules/sdk-core/src/bitgo/wallet/iWallet.ts Outdated Show resolved Hide resolved
modules/sdk-core/src/bitgo/wallet/wallets.ts Outdated Show resolved Hide resolved
modules/sdk-core/src/bitgo/wallet/wallets.ts Outdated Show resolved Hide resolved
modules/sdk-core/src/bitgo/wallet/wallets.ts Outdated Show resolved Hide resolved
modules/sdk-core/src/bitgo/wallet/wallets.ts Outdated Show resolved Hide resolved
modules/sdk-core/src/bitgo/wallet/wallets.ts Outdated Show resolved Hide resolved
modules/sdk-core/src/bitgo/wallet/wallets.ts Outdated Show resolved Hide resolved
modules/sdk-core/src/bitgo/wallet/wallets.ts Outdated Show resolved Hide resolved
modules/sdk-core/src/bitgo/wallet/wallets.ts Outdated Show resolved Hide resolved
modules/sdk-core/src/bitgo/wallet/wallets.ts Outdated Show resolved Hide resolved
@ravneet-bitgo ravneet-bitgo force-pushed the ravneet/PX-3296-modify-accept-share branch from f7c1cea to b284738 Compare April 16, 2024 09:00
@ravneet-bitgo ravneet-bitgo force-pushed the ravneet/PX-3296-modify-accept-share branch 2 times, most recently from 7968a5b to 37966ec Compare April 16, 2024 10:55
@manav-c
Copy link
Contributor

manav-c commented Apr 17, 2024

please add tests

Copy link
Contributor

@zahin-mohammad zahin-mohammad left a comment

Choose a reason for hiding this comment

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

Have some suggestions/concerns on the implementation here. Please see the review comments.

modules/sdk-core/src/bitgo/wallet/iWallet.ts Outdated Show resolved Hide resolved
modules/sdk-core/src/bitgo/wallet/wallets.ts Show resolved Hide resolved
modules/sdk-core/src/bitgo/wallet/wallets.ts Outdated Show resolved Hide resolved
modules/sdk-core/src/bitgo/wallet/wallets.ts Outdated Show resolved Hide resolved
modules/sdk-core/src/bitgo/wallet/wallets.ts Outdated Show resolved Hide resolved
modules/sdk-core/src/bitgo/wallet/wallets.ts Outdated Show resolved Hide resolved
modules/sdk-core/src/bitgo/wallet/wallets.ts Outdated Show resolved Hide resolved
modules/sdk-core/src/bitgo/wallet/wallets.ts Outdated Show resolved Hide resolved
modules/sdk-core/src/bitgo/wallet/wallets.ts Outdated Show resolved Hide resolved
modules/sdk-core/src/bitgo/wallet/wallets.ts Outdated Show resolved Hide resolved
@ravneet-bitgo ravneet-bitgo force-pushed the ravneet/PX-3296-modify-accept-share branch 5 times, most recently from 7e12ac2 to 47fc503 Compare April 18, 2024 09:33
@BitGo BitGo deleted a comment from socket-security bot Apr 18, 2024
@ravneet-bitgo ravneet-bitgo force-pushed the ravneet/PX-3296-modify-accept-share branch from 47fc503 to 0b6dbbc Compare April 18, 2024 10:01
@shivagupta94
Copy link
Contributor

Please add tests

Added

@ravneet-bitgo ravneet-bitgo force-pushed the ravneet/PX-3296-modify-accept-share branch 2 times, most recently from 30254c8 to acede33 Compare April 18, 2024 10:57
@ravneet-bitgo ravneet-bitgo force-pushed the ravneet/PX-3296-modify-accept-share branch from acede33 to 38784bd Compare April 18, 2024 17:42
modules/sdk-core/src/bitgo/keychain/keychains.ts Outdated Show resolved Hide resolved
modules/sdk-core/src/bitgo/keychain/keychains.ts Outdated Show resolved Hide resolved
modules/sdk-core/src/bitgo/keychain/iKeychains.ts Outdated Show resolved Hide resolved
modules/sdk-core/src/bitgo/wallet/wallets.ts Outdated Show resolved Hide resolved
modules/sdk-core/src/bitgo/wallet/wallets.ts Outdated Show resolved Hide resolved
modules/sdk-core/src/bitgo/wallet/wallets.ts Outdated Show resolved Hide resolved
@shivagupta94 shivagupta94 force-pushed the ravneet/PX-3296-modify-accept-share branch from b120561 to 9a25a54 Compare April 18, 2024 18:43
Ticket: PX-3296
We are modifying the accept share method for go account wallet invitations
@shivagupta94 shivagupta94 force-pushed the ravneet/PX-3296-modify-accept-share branch from 79e3459 to 0438bc9 Compare April 18, 2024 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants