[zy0n/7702 relay adapt] EIP-7702 and Network Configuration Enhancements #53
+144
−20
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.
This pull request introduces support for EIP-7702-related contracts and transaction types across the codebase, updates the
ethersdependency, and expands network configuration models to accommodate new contract addresses and deployment details. It also adds a new gas type (Type4) and ensures gas estimation utilities and types are compatible with these changes.EIP-7702 and Network Configuration Enhancements:
Added new fields to the
Networktype andNETWORK_CONFIGfor EIP-7702 support, includingsupports7702,relayAdapt7702Contract,relayAdapt7702History, andrelayAdapt7702DeployerContract, and populated them for all networks.Added an optional
authorizationfield (of typeAuthorizationfromethers) toBroadcasterRawParamsTransactfor transaction pre-authorization. [1] [2]Gas Type and Transaction Handling:
EVMGasType.Type4and correspondingTransactionGasDetailsType4to support additional gas estimation scenarios, updating types and the gas price calculation utility to handle this new type. [1] [2] [3]Dependency and Package Management:
ethersdependency to version 6.14.3 in bothpeerDependenciesanddevDependencies. [1] [2]yarn@1.22.22inpackage.jsonfor consistency.