From 2882fba554e36b69e7fd9c82294b1db7f7e59e21 Mon Sep 17 00:00:00 2001 From: George Kudrayvtsev Date: Fri, 15 Dec 2023 13:14:08 -0800 Subject: [PATCH] Rename field to be more descriptive --- src/soroban/server.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/soroban/server.ts b/src/soroban/server.ts index f34f291d0..19a886627 100644 --- a/src/soroban/server.ts +++ b/src/soroban/server.ts @@ -41,7 +41,7 @@ export namespace Server { } /** Describes additional resource leeways for transaction simulation. */ - export interface SimulationResources { + export interface ResourceLeeway { cpuInstructions: number; } @@ -493,7 +493,7 @@ export class Server { */ public async simulateTransaction( tx: Transaction | FeeBumpTransaction, - addlResources?: Server.SimulationResources + addlResources?: Server.ResourceLeeway ): Promise { return this._simulateTransaction(tx, addlResources) .then(parseRawSimulation); @@ -501,7 +501,7 @@ export class Server { public async _simulateTransaction( transaction: Transaction | FeeBumpTransaction, - addlResources?: Server.SimulationResources + addlResources?: Server.ResourceLeeway ): Promise { return jsonrpc.postObject( this.serverURL.toString(),