You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: implemented SPG registration with fee payer support
This PR introduces changes that allows the fee to be paid
by the intended user while SPG performs the registration.
Description:
------------
- Added registerWithFeePayer for SPG to register IPs with user-paid fees
- Added SPG address to storage with restricted setter
- Added access control to make sure only SPG can use the new function
- Added comprehensive test suite for SPG registration flows
Testing the introduced `feat`:
------------------------------
Fetch this PR branch and from the root directory, run:
```
forge test --match-test "test_SPGRegistrationWithFeePayer|test_revert_NonSPGCannotRegisterWithFeePayer|test_revert_SPGCannotRegisterWhenFeeActive" -vv
```
0 commit comments