Skip to content

Commit d78ebf5

Browse files
Fix value flow
1 parent 0d2cf2c commit d78ebf5

File tree

5 files changed

+50
-7
lines changed

5 files changed

+50
-7
lines changed

api/openapi.json

+7
Original file line numberDiff line numberDiff line change
@@ -6133,7 +6133,13 @@
61336133
"jetton": {
61346134
"$ref": "#/components/schemas/JettonPreview"
61356135
},
6136+
"qty": {
6137+
"example": "200",
6138+
"type": "string",
6139+
"x-js-format": "bigint"
6140+
},
61366141
"quantity": {
6142+
"deprecated": true,
61376143
"example": 10,
61386144
"format": "int64",
61396145
"type": "integer",
@@ -6142,6 +6148,7 @@
61426148
},
61436149
"required": [
61446150
"account",
6151+
"qty",
61456152
"quantity",
61466153
"jetton"
61476154
],

api/openapi.yml

+6
Original file line numberDiff line numberDiff line change
@@ -5754,15 +5754,21 @@ components:
57545754
type: object
57555755
required:
57565756
- account
5757+
- qty
57575758
- quantity
57585759
- jetton
57595760
properties:
57605761
account:
57615762
$ref: '#/components/schemas/AccountAddress'
57625763
jetton:
57635764
$ref: '#/components/schemas/JettonPreview'
5765+
qty:
5766+
type: string
5767+
x-js-format: bigint
5768+
example: "200"
57645769
quantity:
57655770
type: integer
5771+
deprecated: true
57665772
format: int64
57675773
x-js-format: bigint
57685774
example: 10

pkg/api/event_converters.go

+1
Original file line numberDiff line numberDiff line change
@@ -782,6 +782,7 @@ func convertAccountValueFlow(accountID tongo.AccountID, flow *bath.AccountValueF
782782
Account: convertAccountAddress(jettonMaster, book),
783783
Jetton: previews[jettonMaster],
784784
Quantity: quantity.Int64(),
785+
Qty: quantity.String(),
785786
})
786787
}
787788
return valueFlow

pkg/oas/oas_json_gen.go

+21-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/oas/oas_schemas_gen.go

+15-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)