Skip to content

Commit

Permalink
fix: multicall test
Browse files Browse the repository at this point in the history
Signed-off-by: georgi-l95 <[email protected]>
  • Loading branch information
georgi-l95 committed Jan 31, 2024
1 parent 40cc612 commit d0d1ab2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/multicall/Multicall.js
Original file line number Diff line number Diff line change
Expand Up @@ -324,16 +324,16 @@ describe('Multicall Test Suite', function () {
expect(receipt.status).to.eq(1);
});

it('should NOT be able to aggregate 150 calls to processLongInputTx', async function () {
const n = 150;
it('should NOT be able to aggregate 200 calls to processLongInputTx', async function () {
const n = 200;
const { callData, data } = prepareLongInputData(
n,
LONG_INPUT_TX_ABI,
LONG_INPUT_TX_PARAMS
);

const dataSize = getInputLengthInBytes(data);
expect(dataSize).to.be.eq(n * INPUT_ELEMENT_LENGTH); // input data is 39 kb
expect(dataSize).to.be.eq(n * INPUT_ELEMENT_LENGTH); // input data is 53 kb

// Call is reverted because the input data exceeds the maximum transaction size
let hasError = false;
Expand Down

0 comments on commit d0d1ab2

Please sign in to comment.