From d5dc08daac8043b1b24e45d327cf3db5e50d3add Mon Sep 17 00:00:00 2001 From: yihau Date: Tue, 31 Jan 2023 13:07:22 +0800 Subject: [PATCH] test: fix rentEpoch value --- web3.js/test/connection.test.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/web3.js/test/connection.test.ts b/web3.js/test/connection.test.ts index 1a4b41839c0ff8..ac81e91485c435 100644 --- a/web3.js/test/connection.test.ts +++ b/web3.js/test/connection.test.ts @@ -319,7 +319,7 @@ describe('Connection', function () { lamports: LAMPORTS_PER_SOL, data: ['', 'base64'], executable: false, - rentEpoch: 0, + rentEpoch: Math.pow(2, 64) - 1, space: 0, }, { @@ -327,7 +327,7 @@ describe('Connection', function () { lamports: LAMPORTS_PER_SOL, data: ['', 'base64'], executable: false, - rentEpoch: 0, + rentEpoch: Math.pow(2, 64) - 1, space: 0, }, ]; @@ -353,7 +353,7 @@ describe('Connection', function () { lamports: LAMPORTS_PER_SOL, data: Buffer.from([]), executable: false, - rentEpoch: 0, + rentEpoch: Math.pow(2, 64) - 1, space: 0, }, { @@ -361,7 +361,7 @@ describe('Connection', function () { lamports: LAMPORTS_PER_SOL, data: Buffer.from([]), executable: false, - rentEpoch: 0, + rentEpoch: Math.pow(2, 64) - 1, space: 0, }, ]; @@ -5189,7 +5189,7 @@ describe('Connection', function () { executable: false, lamports: LAMPORTS_PER_SOL - 5000, owner: SystemProgram.programId.toBase58(), - rentEpoch: 0, + rentEpoch: Math.pow(2, 64) - 1, space: 0, }, ]);