Skip to content

Commit

Permalink
Merge pull request #37 from pymongo/main
Browse files Browse the repository at this point in the history
fix: SuiDevInspectTransactionBlockRequest GasPrice,Epoch field omitempty
  • Loading branch information
JaydenLink authored Oct 13, 2024
2 parents 93357a9 + fa2697d commit c2c872d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/read_transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -345,9 +345,9 @@ type SuiDevInspectTransactionBlockRequest struct {
// BCS encoded TransactionKind(as opposed to TransactionData, which include gasBudget and gasPrice)
TxBytes string `json:"txBytes"`
// Gas is not charged, but gas usage is still calculated. Default to use reference gas price
GasPrice string `json:"gasPrice"`
GasPrice string `json:"gasPrice,omitempty"`
// The epoch to perform the call. Will be set from the system state object if not provided
Epoch string `json:"epoch"`
Epoch string `json:"epoch,omitempty"`
}

type SuiXSubscribeEventsRequest struct {
Expand Down

0 comments on commit c2c872d

Please sign in to comment.