Skip to content

Commit ab829c9

Browse files
authored
Merge branch 'master' into release-protocol-26
2 parents 8d05423 + 6e2e345 commit ab829c9

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

internal/transform/schema.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ type TransactionOutput struct {
6060
FeeAccount string `json:"fee_account,omitempty"`
6161
FeeAccountMuxed string `json:"fee_account_muxed,omitempty"`
6262
InnerTransactionHash string `json:"inner_transaction_hash,omitempty"`
63-
NewMaxFee uint32 `json:"new_max_fee,omitempty"`
63+
NewMaxFee int64 `json:"new_max_fee,omitempty"`
6464
LedgerBounds string `json:"ledger_bounds"`
6565
MinAccountSequence null.Int `json:"min_account_sequence"`
6666
MinAccountSequenceAge null.Int `json:"min_account_sequence_age"`

internal/transform/schema_parquet.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ type TransactionOutputParquet struct {
5151
FeeAccount string `parquet:"name=fee_account, type=BYTE_ARRAY, convertedtype=UTF8, encoding=PLAIN_DICTIONARY"`
5252
FeeAccountMuxed string `parquet:"name=fee_account_muxed, type=BYTE_ARRAY, convertedtype=UTF8, encoding=PLAIN_DICTIONARY"`
5353
InnerTransactionHash string `parquet:"name=inner_transaction_hash, type=BYTE_ARRAY, convertedtype=UTF8, encoding=PLAIN_DICTIONARY"`
54-
NewMaxFee int64 `parquet:"name=new_max_fee, type=INT64, convertedtype=UINT_64"`
54+
NewMaxFee int64 `parquet:"name=new_max_fee, type=INT64"`
5555
LedgerBounds string `parquet:"name=ledger_bounds, type=BYTE_ARRAY, convertedtype=UTF8, encoding=PLAIN_DICTIONARY"`
5656
MinAccountSequence int64 `parquet:"name=min_account_sequence, type=INT64"`
5757
MinAccountSequenceAge int64 `parquet:"name=min_account_sequence_age, type=INT64"`

internal/transform/transaction.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ func TransformTransaction(transaction ingest.LedgerTransaction, lhe xdr.LedgerHe
291291
transformedTransaction.FeeAccount = feeAccount.Address()
292292
innerHash := transaction.Result.InnerHash()
293293
transformedTransaction.InnerTransactionHash = hex.EncodeToString(innerHash[:])
294-
transformedTransaction.NewMaxFee = uint32(transaction.Envelope.FeeBumpFee())
294+
transformedTransaction.NewMaxFee = int64(transaction.Envelope.FeeBumpFee())
295295
txSigners, err := getTxSigners(transaction.Envelope.FeeBump.Signatures)
296296
if err != nil {
297297
return TransactionOutput{}, err

0 commit comments

Comments
 (0)