feat(recurring-payment): contract deployment - #1767
Open
LeoSlrRf wants to merge 2 commits into
Open
Conversation
This was referenced Aug 26, 2026
Contributor
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Contributor
Greptile SummaryThe PR promotes ERC20RecurringPaymentProxy v0.2.0 as the default artifact, registers its Sepolia deployment, and preserves v0.1.0 behavior where required.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Recurring-payment helper] --> B{Version explicitly supplied?}
B -->|Yes| C[Use requested version]
B -->|No| D{v0.2.0 deployed on network?}
D -->|Yes| E[Use v0.2.0]
D -->|No| F[Use v0.1.0]
C --> G[Resolve ABI and deployment]
E --> G
F --> G
Reviews (3): Last reviewed commit: "fix(recurring-payment): fall back to 0.1..." | Re-trigger Greptile |
Contributor
Author
Contributor
Author
LeoSlrRf
marked this pull request as ready for review
August 26, 2026 10:27
LeoSlrRf
requested review from
a team,
aimen74 and
rodrigopavezi
and removed request for
a team
August 26, 2026 10:27
rodrigopavezi
approved these changes
Aug 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Promote ERC20RecurringPaymentProxy v0.2.0 as default with Sepolia deployment
Deploys
ERC20RecurringPaymentProxyv0.2.0 to Sepolia at0xD7b1553ffE25491377a505f97f92cc44427D80A0and promotes it to the default artifact version.Version resolution
A
resolveRecurringPaymentProxyVersionhelper is introduced so that functions likegetRecurringPaymentProxyAddress,connectRecurringPaymentProxy, andgetPayerRecurringPaymentAllowanceautomatically select0.2.0on networks where it is deployed, and fall back to0.1.0elsewhere. Callers that explicitly need v1 (e.g.encodeRecurringPaymentTriggerandtriggerRecurringPayment) now passRECURRING_PROXY_V1directly.Constructor args
The
ERC20RecurringPaymentProxyv0.2.0 deployment script now resolves the admin address from the Safe admin artifact when available, falling back to theRECURRING_PAYMENT_ADMIN_ADDRESSenvironment variable for networks where no Safe is registered.Tests
version: RECURRING_PROXY_V1explicitly where v1 behaviour is expected.triggerRecurringPaymentBatch(v0.2.0) and that v0.1.0 still exposestriggerRecurringPayment.