Skip to content

Commit

Permalink
evm: add test comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jochem-brouwer authored and holgerd77 committed Aug 29, 2022
1 parent a32b447 commit ba549ee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/evm/tests/runCall.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,9 @@ tape('runCall() => allows to detect for max code size deposit errors', async (t)
const runCallArgs = {
caller, // call address
gasLimit: BigInt(0xffffffffff), // ensure we pass a lot of gas, so we do not run out of gas
// Simple test, PUSH <big number> PUSH 0 RETURN
// It tries to deploy a contract too large, where the code is all zeros
// (since memory which is not allocated/resized to yet is always defaulted to 0)
data: Buffer.from('62FFFFFF6000F3', 'hex'),
}

Expand Down

0 comments on commit ba549ee

Please sign in to comment.