Merge pull request #37 from pymongo/main

fix: SuiDevInspectTransactionBlockRequest GasPrice,Epoch field omitempty
This commit is contained in:
Jayden
2024-10-13 12:07:48 +08:00
committed by GitHub

View File

@@ -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 {