Skip to content

Commit f0edd1a

Browse files
authored
test: fix rentEpoch value (#29999)
1 parent ca8af2a commit f0edd1a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/connection.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -319,15 +319,15 @@ describe('Connection', function () {
319319
lamports: LAMPORTS_PER_SOL,
320320
data: ['', 'base64'],
321321
executable: false,
322-
rentEpoch: 0,
322+
rentEpoch: Math.pow(2, 64) - 1,
323323
space: 0,
324324
},
325325
{
326326
owner: '11111111111111111111111111111111',
327327
lamports: LAMPORTS_PER_SOL,
328328
data: ['', 'base64'],
329329
executable: false,
330-
rentEpoch: 0,
330+
rentEpoch: Math.pow(2, 64) - 1,
331331
space: 0,
332332
},
333333
];
@@ -353,15 +353,15 @@ describe('Connection', function () {
353353
lamports: LAMPORTS_PER_SOL,
354354
data: Buffer.from([]),
355355
executable: false,
356-
rentEpoch: 0,
356+
rentEpoch: Math.pow(2, 64) - 1,
357357
space: 0,
358358
},
359359
{
360360
owner: new PublicKey('11111111111111111111111111111111'),
361361
lamports: LAMPORTS_PER_SOL,
362362
data: Buffer.from([]),
363363
executable: false,
364-
rentEpoch: 0,
364+
rentEpoch: Math.pow(2, 64) - 1,
365365
space: 0,
366366
},
367367
];
@@ -5189,7 +5189,7 @@ describe('Connection', function () {
51895189
executable: false,
51905190
lamports: LAMPORTS_PER_SOL - 5000,
51915191
owner: SystemProgram.programId.toBase58(),
5192-
rentEpoch: 0,
5192+
rentEpoch: Math.pow(2, 64) - 1,
51935193
space: 0,
51945194
},
51955195
]);

0 commit comments

Comments
 (0)