diff --git a/common/libs/scheduling/contracts/RequestFactory.ts b/common/libs/scheduling/contracts/RequestFactory.ts index 8524afa7..17ef25ec 100644 --- a/common/libs/scheduling/contracts/RequestFactory.ts +++ b/common/libs/scheduling/contracts/RequestFactory.ts @@ -8,11 +8,10 @@ interface ABIFunc { type address = any; type uint256 = any; -type bytes = any; interface IRequestFactory { validateRequestParams: ABIFunc< - { _addressArgs: address[]; _uintArgs: uint256[]; _callData: bytes; _endowment: uint256 }, + { _addressArgs: address[]; _uintArgs: uint256[]; _endowment: uint256 }, { paramsValidity: boolean[] } >; } @@ -29,10 +28,6 @@ const requestFactoryAbi = [ name: '_uintArgs', type: 'uint256[12]' }, - { - name: '_callData', - type: 'bytes' - }, { name: '_endowment', type: 'uint256' diff --git a/common/libs/scheduling/index.ts b/common/libs/scheduling/index.ts index 8ed90123..d2093aad 100644 --- a/common/libs/scheduling/index.ts +++ b/common/libs/scheduling/index.ts @@ -26,9 +26,9 @@ export const EAC_SCHEDULING_CONFIG = { export const EAC_ADDRESSES = { KOVAN: { - blockScheduler: '0x1afc19a7e642761ba2b55d2a45b32c7ef08269d1', - requestFactory: '0x496e2b6089bde77293a994469b08e9f266d87adb', - timestampScheduler: '0xc6370807f0164bdf10a66c08d0dab1028dbe80a3' + blockScheduler: '0x394ce9fe06c72f18e5a845842974f0c1224b1ff5', + requestFactory: '0x98c128b3d8a0ac240f7b7dd4969ea0ad54f9d330', + timestampScheduler: '0x31bbbf5180f2bd9c213e2e1d91a439677243268a' } }; @@ -163,7 +163,6 @@ export const parseSchedulingParametersValidity = (isValid: boolean[]) => { export const getValidateRequestParamsData = ( toAddress: string, - callData = '', callGas: Wei, callValue: ICurrentValue['value'], windowSize: BN | null, @@ -200,7 +199,6 @@ export const getValidateRequestParamsData = ( gasPrice, requiredDeposit ], - _callData: callData, _endowment: endowment }); }; diff --git a/common/selectors/schedule/transaction.ts b/common/selectors/schedule/transaction.ts index e797d973..902778e9 100644 --- a/common/selectors/schedule/transaction.ts +++ b/common/selectors/schedule/transaction.ts @@ -156,7 +156,6 @@ export const getValidateScheduleParamsCallPayload = ( const deposit = getScheduleDeposit(state); const scheduleTimestamp = getScheduleTimestamp(state); const windowSize = getWindowSize(state); - const callData = getData(state); const scheduleTimezone = getScheduleTimezone(state); const windowStart = getWindowStart(state); @@ -189,7 +188,6 @@ export const getValidateScheduleParamsCallPayload = ( const data = getValidateRequestParamsData( bufferToHex(currentTo.value), - callData.value ? bufferToHex(callData.value) : '', callGasLimit, currentValue.value, windowSizeBlockToMin(windowSize.value, scheduleType.value),