Update ZeroExTransaction tests
This commit is contained in:
parent
59369cea2a
commit
23dd711396
@ -18,6 +18,7 @@ blockchainTests('LibZeroExTransaction', env => {
|
|||||||
const EMPTY_TRANSACTION: ZeroExTransaction = {
|
const EMPTY_TRANSACTION: ZeroExTransaction = {
|
||||||
salt: constants.ZERO_AMOUNT,
|
salt: constants.ZERO_AMOUNT,
|
||||||
expirationTimeSeconds: constants.ZERO_AMOUNT,
|
expirationTimeSeconds: constants.ZERO_AMOUNT,
|
||||||
|
gasPrice: constants.ZERO_AMOUNT,
|
||||||
signerAddress: constants.NULL_ADDRESS,
|
signerAddress: constants.NULL_ADDRESS,
|
||||||
data: constants.NULL_BYTES,
|
data: constants.NULL_BYTES,
|
||||||
domain: {
|
domain: {
|
||||||
@ -66,6 +67,7 @@ blockchainTests('LibZeroExTransaction', env => {
|
|||||||
await testGetTypedDataHashAsync({
|
await testGetTypedDataHashAsync({
|
||||||
salt: randomUint256(),
|
salt: randomUint256(),
|
||||||
expirationTimeSeconds: randomUint256(),
|
expirationTimeSeconds: randomUint256(),
|
||||||
|
gasPrice: randomUint256(),
|
||||||
signerAddress: randomAddress(),
|
signerAddress: randomAddress(),
|
||||||
data: randomAssetData(),
|
data: randomAssetData(),
|
||||||
domain: {
|
domain: {
|
||||||
@ -121,6 +123,7 @@ blockchainTests('LibZeroExTransaction', env => {
|
|||||||
await testGetStructHashAsync({
|
await testGetStructHashAsync({
|
||||||
salt: randomUint256(),
|
salt: randomUint256(),
|
||||||
expirationTimeSeconds: randomUint256(),
|
expirationTimeSeconds: randomUint256(),
|
||||||
|
gasPrice: randomUint256(),
|
||||||
signerAddress: randomAddress(),
|
signerAddress: randomAddress(),
|
||||||
data: randomAssetData(),
|
data: randomAssetData(),
|
||||||
// The domain is not used in this test, so it's okay if it is left empty.
|
// The domain is not used in this test, so it's okay if it is left empty.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user