Skip to content

[AA] Option to not deploy SW on sign message #2222

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

Merged
merged 4 commits into from
Jan 26, 2024

Conversation

0xFirekeeper
Copy link
Member

Problem solved

Allow users to specify whether they want to force deploy smart wallets on sign, useful in cases where delayed deploy is needed and only write tx should trigger it, such as session key creation or just avoiding spam.

Changes made

  • Added doNotDeployOnSignMessage optional param to SmartWalletConfig
  • Updated check in signMessage

How to test

  • Turn on and sign message or auth

@0xFirekeeper 0xFirekeeper requested a review from a team January 26, 2024 00:18
Copy link

changeset-bot bot commented Jan 26, 2024

🦋 Changeset detected

Latest commit: 5271006

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

This PR includes changesets to release 8 packages
Name Type
@thirdweb-dev/wallets Patch
@thirdweb-dev/auth Patch
thirdweb Patch
@thirdweb-dev/react-core Patch
@thirdweb-dev/react-native Patch
@thirdweb-dev/react Patch
@thirdweb-dev/unity-js-bridge Patch
@thirdweb-dev/react-native-compat Patch

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

Copy link
Member

@joaquim-verges joaquim-verges left a comment

Choose a reason for hiding this comment

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

LG, remember to update docs

@0xFirekeeper 0xFirekeeper added this pull request to the merge queue Jan 26, 2024
Merged via the queue into main with commit bf90fa5 Jan 26, 2024
@0xFirekeeper 0xFirekeeper deleted the firekeeper/delayed-deploy branch January 26, 2024 01:09
@jnsdls jnsdls mentioned this pull request Jan 26, 2024
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.

2 participants