Conversation
- Introduced new UI components for activating offline permissions in the Wallet Configurator. - Added properties to the IStyleFormState interface for offline permissions. - Implemented the ActivateOfflinePermissionsModal for handling activation requests. - Enhanced the TransactionService with methods for resolving and quoting activation payments. - Updated relevant types and interfaces to support the new activation feature. - Integrated activation logic into the wallet boot process to ensure proper handling of user requests.
…ions UI - Added `getUpgraded` custom RPC method for checking EIP-7702 upgrade status of the unlocked EOA on a specified chain. - Introduced new UI components in the Wallet Configurator for activating offline permissions, including labels and error messages. - Updated `IStyleFormState` and relevant interfaces to support new properties related to offline permissions. - Enhanced `TransactionService` and `TransactionUtils` with methods for wallet upgrade status checks. - Integrated the new RPC method into the wallet boot process for improved user experience.
…2 activation - Updated `TransactionUtils` to utilize `EVMContractAddress` and `EVMAccountAddress` for better type safety. - Introduced `ACTIVATION_NOOP_TARGET` for handling no-op calls during EIP-7702 activation. - Enhanced chain ID handling by replacing string conversions with `chainIdKey` and `sameEvmChainId` for consistency. - Modified wallet boot process to include activation candidate chains and ensure payment chain upgrades are checked. - Updated `ICancelDelegationConfirmRequest` interface to clarify upgrade chain requirements for activation requests.
- Added `requestCancelDelegations` custom RPC method to facilitate batch on-chain revocation of permissions. - Enhanced UI components to support selection and cancellation of multiple delegations. - Updated `DelegationService` to handle batch cancellation logic and integrate with the relayer. - Modified relevant interfaces and types to accommodate new cancellation functionality. - Improved error handling and user feedback during the cancellation process.
- Introduced `paymentChainId` to various components and services to improve fee payment handling for relayer transactions. - Updated `PaymentFeePicker`, `useRelayerConfirmSubmit`, and multiple modal components to utilize the new payment chain logic. - Refactored `TransactionUtils` and `DelegationService` to incorporate `paymentChainId` for better fee management. - Added `PaymentTokenUtils` for centralized payment selection logic, ensuring local-first payment handling with fallback options. - Updated relevant interfaces and types to support the new payment structure, enhancing overall transaction reliability.
- Updated `@1shotapi/ows-signer-utils`, `@1shotapi/ows-types`, and `@1shotapi/ows-wallet-utils` to their latest versions in `package.json`. - Refactored chain ID handling in various components and services to utilize `ChainUtils` for improved type safety and consistency. - Simplified chain ID comparisons by removing unnecessary conversions and using direct comparisons. - Enhanced the `PaymentFeePicker`, `CancelDelegationModal`, and `TransactionUtils` to streamline chain ID management and improve overall code clarity.
…rovider). Onramp chain prop checks Number.isInteger and >= 0 before asEVMChainId, so floats no longer throw.
Batch cancel and Cross Chain Payments
…egations Upgrade wallet before delegations
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.
Upgrade before delegate and batch cancel delegations, along with cross-chain payments for all TXs