asset-s: clean up order faking for indicative RFQT
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2555#discussion_r411545804
This commit is contained in:
@@ -375,16 +375,16 @@ export function createSignedOrdersFromRfqtIndicativeQuotes(
|
||||
makerAddress: NULL_ADDRESS,
|
||||
senderAddress: NULL_ADDRESS,
|
||||
feeRecipientAddress: NULL_ADDRESS,
|
||||
salt: ZERO_AMOUNT, // generatePseudoRandomSalt(),
|
||||
expirationTimeSeconds: new BigNumber(Math.floor(Date.now() / ONE_SECOND_MS) + ONE_HOUR_IN_SECONDS),
|
||||
salt: ZERO_AMOUNT,
|
||||
expirationTimeSeconds: ZERO_AMOUNT,
|
||||
makerFeeAssetData: NULL_BYTES,
|
||||
takerFeeAssetData: NULL_BYTES,
|
||||
makerFee: ZERO_AMOUNT,
|
||||
takerFee: ZERO_AMOUNT,
|
||||
fillableTakerFeeAmount: ZERO_AMOUNT,
|
||||
signature: WALLET_SIGNATURE,
|
||||
chainId: 0, // HACK !!!!!!!!! how can we get at this from this context?
|
||||
exchangeAddress: NULL_ADDRESS, // HACK !!!!!!!!! how can we get at this from this context?
|
||||
chainId: 0,
|
||||
exchangeAddress: NULL_ADDRESS,
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user