@@ -1445,7 +1445,7 @@ TransactionFrame::checkValidWithOptionallyChargedFee(
1445
1445
{
1446
1446
sorobanResourceFee = computePreApplySorobanResourceFee (
1447
1447
ls.getLedgerHeader ().current ().ledgerVersion ,
1448
- app.getLedgerManager (). getSorobanNetworkConfig (), app.getConfig ());
1448
+ app.getSorobanNetworkConfig (), app.getConfig ());
1449
1449
}
1450
1450
bool res = commonValid (app, signatureChecker, ls, current, false , chargeFee,
1451
1451
lowerBoundCloseTimeOffset, upperBoundCloseTimeOffset,
@@ -1504,8 +1504,7 @@ TransactionFrame::checkSorobanResourceAndSetError(
1504
1504
AppConnector& app, uint32_t ledgerVersion,
1505
1505
MutableTxResultPtr txResult) const
1506
1506
{
1507
- auto const & sorobanConfig =
1508
- app.getLedgerManager ().getSorobanNetworkConfig ();
1507
+ auto sorobanConfig = app.getSorobanNetworkConfig ();
1509
1508
if (!validateSorobanResources (sorobanConfig, app.getConfig (), ledgerVersion,
1510
1509
*txResult->getSorobanData ()))
1511
1510
{
@@ -1712,8 +1711,7 @@ TransactionFrame::applyOperations(SignatureChecker& signatureChecker,
1712
1711
// If transaction fails, we don't charge for any
1713
1712
// refundable resources.
1714
1713
auto preApplyFee = computePreApplySorobanResourceFee (
1715
- ledgerVersion,
1716
- app.getLedgerManager ().getSorobanNetworkConfig (),
1714
+ ledgerVersion, app.getSorobanNetworkConfig (),
1717
1715
app.getConfig ());
1718
1716
1719
1717
txResult.getSorobanData ()->setSorobanFeeRefund (
@@ -1831,8 +1829,7 @@ TransactionFrame::apply(AppConnector& app, AbstractLedgerTxn& ltx,
1831
1829
isSoroban ())
1832
1830
{
1833
1831
sorobanResourceFee = computePreApplySorobanResourceFee (
1834
- ledgerVersion, app.getLedgerManager ().getSorobanNetworkConfig (),
1835
- app.getConfig ());
1832
+ ledgerVersion, app.getSorobanNetworkConfig (), app.getConfig ());
1836
1833
1837
1834
auto & sorobanData = *txResult->getSorobanData ();
1838
1835
sorobanData.setSorobanConsumedNonRefundableFee (
0 commit comments