Skip to content

Conversation

@thiagodeev
Copy link
Collaborator

@thiagodeev thiagodeev commented Oct 3, 2025

Part of the effort to break down the Paymaster PR for better review.

This PR:

  • create the Paymaster pkg
  • implement the paymaster_isAvailable method
  • implement all the errors from the SNIP-29
  • new test helpers to instantiate paymasters

@thiagodeev thiagodeev changed the title feat: new paymaster pkg. 2 out of 5 method implemented Paymaster PR 1: new paymaster pkg Oct 3, 2025
@thiagodeev thiagodeev marked this pull request as ready for review October 3, 2025 14:37
t.Parallel()
t.Run("integration", func(t *testing.T) {
tests.RunTestOn(t, tests.IntegrationEnv)
t.Parallel()
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is t.Parallel() here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Indeed! Since there's only one subtest for this environment, there's no need for the t.Parallel() call.
I'll change it


t.Run("mock", func(t *testing.T) {
tests.RunTestOn(t, tests.MockEnv)
t.Parallel()
Copy link
Contributor

Choose a reason for hiding this comment

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

Similar question as to previous comment?

@github-project-automation github-project-automation bot moved this to 👀 In review in [Nubia] Starknet.go Oct 13, 2025
@thiagodeev thiagodeev merged commit a00cd48 into temp-paymaster-branch Oct 13, 2025
8 checks passed
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in [Nubia] Starknet.go Oct 13, 2025
@thiagodeev thiagodeev deleted the paymster-pr-1 branch October 13, 2025 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

3 participants