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

Rotating Secret Keys V2 Support #131

Merged
merged 1 commit into from
Feb 13, 2025
Merged

Conversation

0xFirekeeper
Copy link
Member

@0xFirekeeper 0xFirekeeper commented Feb 13, 2025

Closes TOOL-3391


PR-Codex overview

This PR focuses on updating the logic for setting the ClientId in the ThirdwebClient class and modifying the related unit tests to reflect these changes.

Detailed summary

  • In Thirdweb.Client.Tests.cs, updated assertions to check client.ClientId against clientId directly and ensure it does not equal the computed value from SecretKey.
  • In ThirdwebClient.cs, refactored the logic for setting ClientId to prioritize clientId if provided, otherwise compute from SecretKey.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

linear bot commented Feb 13, 2025

TOOL-3391 Secret key v2

@0xFirekeeper 0xFirekeeper merged commit 1442ae3 into main Feb 13, 2025
2 of 3 checks passed
@0xFirekeeper 0xFirekeeper deleted the firekeepe/secret-key-v2 branch February 13, 2025 19:40
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.

3 participants