@@ -170,7 +170,7 @@ enum SCValType
170170 SCV_ADDRESS = 18 ,
171171
172172 // The following are the internal SCVal variants that are not
173- // exposed to the contracts.
173+ // exposed to the contracts.
174174 SCV_CONTRACT_INSTANCE = 19 ,
175175
176176 // SCV_LEDGER_KEY_CONTRACT_INSTANCE and SCV_LEDGER_KEY_NONCE are unique
@@ -444,7 +444,7 @@ struct ConfigSettingContractLedgerCostV0
444444 int64 bucketListTargetSizeBytes ;
445445 // Fee per 1KB write when the bucket list is empty
446446 int64 writeFee1KBBucketListLow ;
447- // Fee per 1KB write when the bucket list has reached `bucketListTargetSizeBytes`
447+ // Fee per 1KB write when the bucket list has reached `bucketListTargetSizeBytes`
448448 int64 writeFee1KBBucketListHigh ;
449449 // Write fee multiplier for any additional data past the first `bucketListTargetSizeBytes`
450450 uint32 bucketListWriteFeeGrowthFactor ;
@@ -493,7 +493,7 @@ enum ContractCostType {
493493 // Cost of a host function dispatch, not including the actual work done by
494494 // the function nor the cost of VM invocation machinary
495495 DispatchHostFunction = 5 ,
496- // Cost of visiting a host object from the host object storage. Exists to
496+ // Cost of visiting a host object from the host object storage. Exists to
497497 // make sure some baseline cost coverage, i.e. repeatly visiting objects
498498 // by the guest will always incur some charges.
499499 VisitObject = 6 ,
@@ -2076,7 +2076,7 @@ enum ContractIDPreimageType
20762076 CONTRACT_ID_PREIMAGE_FROM_ADDRESS = 0 ,
20772077 CONTRACT_ID_PREIMAGE_FROM_ASSET = 1
20782078};
2079-
2079+
20802080union ContractIDPreimage switch (ContractIDPreimageType type )
20812081{
20822082case CONTRACT_ID_PREIMAGE_FROM_ADDRESS :
@@ -2135,7 +2135,7 @@ struct SorobanAddressCredentials
21352135{
21362136 SCAddress address ;
21372137 int64 nonce ;
2138- uint32 signatureExpirationLedger ;
2138+ uint32 signatureExpirationLedger ;
21392139 SCVal signature ;
21402140};
21412141
@@ -2155,7 +2155,7 @@ case SOROBAN_CREDENTIALS_ADDRESS:
21552155
21562156/* Unit of authorization data for Soroban.
21572157
2158- Represents an authorization for executing the tree of authorized contract
2158+ Represents an authorization for executing the tree of authorized contract
21592159 and/or host function calls by the user defined by `credentials`.
21602160*/
21612161struct SorobanAuthorizationEntry
@@ -2280,7 +2280,7 @@ case ENVELOPE_TYPE_POOL_REVOKE_OP_ID:
22802280 struct
22812281 {
22822282 AccountID sourceAccount ;
2283- SequenceNumber seqNum ;
2283+ SequenceNumber seqNum ;
22842284 uint32 opNum ;
22852285 PoolID liquidityPoolID ;
22862286 Asset asset ;
@@ -2396,11 +2396,11 @@ struct LedgerFootprint
23962396// Resource limits for a Soroban transaction.
23972397// The transaction will fail if it exceeds any of these limits.
23982398struct SorobanResources
2399- {
2399+ {
24002400 // The ledger footprint of the transaction.
24012401 LedgerFootprint footprint ;
24022402 // The maximum number of instructions this transaction can use
2403- uint32 instructions ;
2403+ uint32 instructions ;
24042404
24052405 // The maximum number of bytes this transaction can read from ledger
24062406 uint32 readBytes ;
@@ -4041,7 +4041,7 @@ struct DiagnosticEvent
40414041 ContractEvent event ;
40424042};
40434043
4044- struct SorobanTransactionMeta
4044+ struct SorobanTransactionMeta
40454045{
40464046 ExtensionPoint ext ;
40474047
@@ -4064,11 +4064,11 @@ struct TransactionMetaV3
40644064 OperationMeta operations < > ; // meta for each operation
40654065 LedgerEntryChanges txChangesAfter ; // tx level changes after operations are
40664066 // applied if any
4067- SorobanTransactionMeta * sorobanMeta ; // Soroban-specific meta (only for
4067+ SorobanTransactionMeta * sorobanMeta ; // Soroban-specific meta (only for
40684068 // Soroban transactions).
40694069};
40704070
4071- // This is in Stellar-ledger.x to due to a circular dependency
4071+ // This is in Stellar-ledger.x to due to a circular dependency
40724072struct InvokeHostFunctionSuccessPreImage
40734073{
40744074 SCVal returnValue ;
@@ -4591,30 +4591,30 @@ namespace stellar
45914591union StoredTransactionSet switch (int v )
45924592{
45934593case 0 :
4594- TransactionSet txSet ;
4594+ TransactionSet txSet ;
45954595case 1 :
4596- GeneralizedTransactionSet generalizedTxSet ;
4596+ GeneralizedTransactionSet generalizedTxSet ;
45974597};
45984598
45994599struct PersistedSCPStateV0
46004600{
4601- SCPEnvelope scpEnvelopes < > ;
4602- SCPQuorumSet quorumSets < > ;
4603- StoredTransactionSet txSets < > ;
4601+ SCPEnvelope scpEnvelopes < > ;
4602+ SCPQuorumSet quorumSets < > ;
4603+ StoredTransactionSet txSets < > ;
46044604};
46054605
46064606struct PersistedSCPStateV1
46074607{
4608- // Tx sets are saved separately
4609- SCPEnvelope scpEnvelopes < > ;
4610- SCPQuorumSet quorumSets < > ;
4608+ // Tx sets are saved separately
4609+ SCPEnvelope scpEnvelopes < > ;
4610+ SCPQuorumSet quorumSets < > ;
46114611};
46124612
46134613union PersistedSCPState switch (int v )
46144614{
46154615case 0 :
4616- PersistedSCPStateV0 v0 ;
4616+ PersistedSCPStateV0 v0 ;
46174617case 1 :
4618- PersistedSCPStateV1 v1 ;
4618+ PersistedSCPStateV1 v1 ;
46194619};
4620- }
4620+ }
0 commit comments