Update all dependencies transitively (#2363)
This commit is contained in:
committed by
GitHub
parent
bf4c9d700d
commit
ace35fdeda
@ -26,9 +26,9 @@ describe('GSNRecipientSignature', function () {
|
||||
it('fails when constructor called with a zero address', async function () {
|
||||
await expectRevert(
|
||||
GSNRecipientSignatureMock.new(
|
||||
ZERO_ADDRESS
|
||||
ZERO_ADDRESS,
|
||||
),
|
||||
'GSNRecipientSignature: trusted signer is the zero address'
|
||||
'GSNRecipientSignature: trusted signer is the zero address',
|
||||
);
|
||||
});
|
||||
});
|
||||
@ -49,9 +49,9 @@ describe('GSNRecipientSignature', function () {
|
||||
web3.utils.soliditySha3(
|
||||
// the nonce is not signed
|
||||
// eslint-disable-next-line max-len
|
||||
data.relayerAddress, data.from, data.encodedFunctionCall, toBN(data.txFee), toBN(data.gasPrice), toBN(data.gas)
|
||||
), signer
|
||||
)
|
||||
data.relayerAddress, data.from, data.encodedFunctionCall, toBN(data.txFee), toBN(data.gasPrice), toBN(data.gas),
|
||||
), signer,
|
||||
),
|
||||
);
|
||||
|
||||
await gsn.expectError(this.recipient.mockFunction({ value: 0, useGSN: true, approveFunction }));
|
||||
@ -63,9 +63,9 @@ describe('GSNRecipientSignature', function () {
|
||||
await web3.eth.sign(
|
||||
web3.utils.soliditySha3(
|
||||
// eslint-disable-next-line max-len
|
||||
data.relayerAddress, data.from, data.encodedFunctionCall, toBN(data.txFee), toBN(data.gasPrice), toBN(data.gas), toBN(data.nonce), data.relayHubAddress, data.to
|
||||
), signer
|
||||
)
|
||||
data.relayerAddress, data.from, data.encodedFunctionCall, toBN(data.txFee), toBN(data.gasPrice), toBN(data.gas), toBN(data.nonce), data.relayHubAddress, data.to,
|
||||
), signer,
|
||||
),
|
||||
);
|
||||
|
||||
const { tx } = await this.recipient.mockFunction({ value: 0, useGSN: true, approveFunction });
|
||||
@ -79,9 +79,9 @@ describe('GSNRecipientSignature', function () {
|
||||
await web3.eth.sign(
|
||||
web3.utils.soliditySha3(
|
||||
// eslint-disable-next-line max-len
|
||||
data.relayerAddress, data.from, data.encodedFunctionCall, toBN(data.txFee), toBN(data.gasPrice), toBN(data.gas), toBN(data.nonce), data.relayHubAddress, data.to
|
||||
), other
|
||||
)
|
||||
data.relayerAddress, data.from, data.encodedFunctionCall, toBN(data.txFee), toBN(data.gasPrice), toBN(data.gas), toBN(data.nonce), data.relayHubAddress, data.to,
|
||||
), other,
|
||||
),
|
||||
);
|
||||
|
||||
await gsn.expectError(this.recipient.mockFunction({ value: 0, useGSN: true, approveFunction }));
|
||||
|
||||
Reference in New Issue
Block a user