Update all dependencies transitively (#2363)
This commit is contained in:
committed by
GitHub
parent
bf4c9d700d
commit
ace35fdeda
@ -41,9 +41,9 @@ describe('ERC721GSNRecipient (integration)', 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, this.token.address
|
||||
), signer
|
||||
)
|
||||
data.relayerAddress, data.from, data.encodedFunctionCall, toBN(data.txFee), toBN(data.gasPrice), toBN(data.gas), toBN(data.nonce), data.relayHubAddress, this.token.address,
|
||||
), signer,
|
||||
),
|
||||
);
|
||||
|
||||
await testMintToken(this.token, sender, tokenId, { useGSN: true, approveFunction });
|
||||
|
||||
@ -38,13 +38,13 @@ describe('GSNRecipient', function () {
|
||||
it('cannot upgrade to the same RelayHub', async function () {
|
||||
await expectRevert(
|
||||
this.recipient.upgradeRelayHub(singletonRelayHub),
|
||||
'GSNRecipient: new RelayHub is the current one'
|
||||
'GSNRecipient: new RelayHub is the current one',
|
||||
);
|
||||
});
|
||||
|
||||
it('cannot upgrade to the zero address', async function () {
|
||||
await expectRevert(
|
||||
this.recipient.upgradeRelayHub(ZERO_ADDRESS), 'GSNRecipient: new RelayHub is the zero address'
|
||||
this.recipient.upgradeRelayHub(ZERO_ADDRESS), 'GSNRecipient: new RelayHub is the zero address',
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
@ -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