diff --git a/src/ContractInteractor.ts b/src/ContractInteractor.ts index dc503e7..bbd51a0 100644 --- a/src/ContractInteractor.ts +++ b/src/ContractInteractor.ts @@ -763,7 +763,6 @@ export default class ContractInteractor { async walletFactoryDeployEstimateGasForInternalCall( request: DeployRequest, factory: string, - domainHash: string, suffixData: string, signature: string, testCall = false @@ -772,7 +771,6 @@ export default class ContractInteractor { const method = pFactory.contract.methods.relayedUserSmartWalletCreation( request.request, - domainHash, suffixData, signature ); diff --git a/src/EIP712/RelayData.ts b/src/EIP712/RelayData.ts index 00c6471..cfc2d61 100644 --- a/src/EIP712/RelayData.ts +++ b/src/EIP712/RelayData.ts @@ -1,8 +1,5 @@ -import { PrefixedHexString } from 'ethereumjs-tx'; - export default interface RelayData { gasPrice: string; - domainSeparator: PrefixedHexString; relayWorker: string; callForwarder: string; callVerifier: string; diff --git a/src/EIP712/TypedRequestData.ts b/src/EIP712/TypedRequestData.ts index 3d84136..dac34e6 100644 --- a/src/EIP712/TypedRequestData.ts +++ b/src/EIP712/TypedRequestData.ts @@ -24,7 +24,6 @@ export const EIP712DomainType = [ const RelayDataType = [ { name: 'gasPrice', type: 'uint256' }, - { name: 'domainSeparator', type: 'bytes32' }, { name: 'relayWorker', type: 'address' }, { name: 'callForwarder', type: 'address' }, { name: 'callVerifier', type: 'address' } @@ -163,5 +162,5 @@ export const DEPLOY_PARAMS = export const RequestType = { typeName: 'RelayRequest', typeSuffix: - 'RelayData relayData)RelayData(uint256 gasPrice,bytes32 domainSeparator,address relayWorker,address callForwarder,address callVerifier)' + 'RelayData relayData)RelayData(uint256 gasPrice,address relayWorker,address callForwarder,address callVerifier)' }; diff --git a/src/types/RelayTransactionRequest.ts b/src/types/RelayTransactionRequest.ts index 4face90..9772746 100644 --- a/src/types/RelayTransactionRequest.ts +++ b/src/types/RelayTransactionRequest.ts @@ -34,7 +34,6 @@ export const DeployTransactionRequestShape = { }, relayData: { gasPrice: ow.string, - domainSeparator: ow.string, relayWorker: ow.string, callForwarder: ow.string, callVerifier: ow.string @@ -63,7 +62,6 @@ export const RelayTransactionRequestShape = { }, relayData: { gasPrice: ow.string, - domainSeparator: ow.string, relayWorker: ow.string, callForwarder: ow.string, callVerifier: ow.string