You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/contract/src/snapshots/mpc_contract__foreign_chains_metadata__tests__foreign_chains_metadata_borsh_schema__should_not_change.snap
Copy file name to clipboardExpand all lines: crates/contract/tests/snapshots/abi__abi_has_not_changed.snap
+90-1Lines changed: 90 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -251,6 +251,11 @@ expression: abi
251
251
11,
252
252
"Aptos",
253
253
"ForeignChain__Aptos"
254
+
],
255
+
[
256
+
12,
257
+
"Sui",
258
+
"ForeignChain__Sui"
254
259
]
255
260
]
256
261
}
@@ -288,6 +293,9 @@ expression: abi
288
293
"ForeignChain__Starknet": {
289
294
"Struct": null
290
295
},
296
+
"ForeignChain__Sui": {
297
+
"Struct": null
298
+
},
291
299
"ForeignChain__Ton": {
292
300
"Struct": null
293
301
},
@@ -2186,6 +2194,11 @@ expression: abi
2186
2194
11,
2187
2195
"Aptos",
2188
2196
"ForeignChain__Aptos"
2197
+
],
2198
+
[
2199
+
12,
2200
+
"Sui",
2201
+
"ForeignChain__Sui"
2189
2202
]
2190
2203
]
2191
2204
}
@@ -2223,6 +2236,9 @@ expression: abi
2223
2236
"ForeignChain__Starknet": {
2224
2237
"Struct": null
2225
2238
},
2239
+
"ForeignChain__Sui": {
2240
+
"Struct": null
2241
+
},
2226
2242
"ForeignChain__Ton": {
2227
2243
"Struct": null
2228
2244
},
@@ -3133,7 +3149,8 @@ expression: abi
3133
3149
"Polygon",
3134
3150
"HyperEvm",
3135
3151
"Ton",
3136
-
"Aptos"
3152
+
"Aptos",
3153
+
"Sui"
3137
3154
]
3138
3155
},
3139
3156
"ForeignChainConfiguration": {
@@ -3288,6 +3305,18 @@ expression: abi
3288
3305
}
3289
3306
},
3290
3307
"additionalProperties": false
3308
+
},
3309
+
{
3310
+
"type": "object",
3311
+
"required": [
3312
+
"Sui"
3313
+
],
3314
+
"properties": {
3315
+
"Sui": {
3316
+
"$ref": "#/definitions/SuiRpcRequest"
3317
+
}
3318
+
},
3319
+
"additionalProperties": false
3291
3320
}
3292
3321
]
3293
3322
},
@@ -4809,6 +4838,66 @@ expression: abi
4809
4838
"StarknetTxId": {
4810
4839
"$ref": "#/definitions/StarknetFelt"
4811
4840
},
4841
+
"SuiExtractor": {
4842
+
"oneOf": [
4843
+
{
4844
+
"type": "object",
4845
+
"required": [
4846
+
"Event"
4847
+
],
4848
+
"properties": {
4849
+
"Event": {
4850
+
"type": "object",
4851
+
"required": [
4852
+
"event_index"
4853
+
],
4854
+
"properties": {
4855
+
"event_index": {
4856
+
"type": "integer",
4857
+
"format": "uint64",
4858
+
"minimum": 0.0
4859
+
}
4860
+
}
4861
+
}
4862
+
},
4863
+
"additionalProperties": false
4864
+
}
4865
+
]
4866
+
},
4867
+
"SuiFinality": {
4868
+
"description": "Sui has no reorgs; a transaction is final once it is included in a committee-certified checkpoint.",
4869
+
"type": "string",
4870
+
"enum": [
4871
+
"Checkpointed"
4872
+
]
4873
+
},
4874
+
"SuiRpcRequest": {
4875
+
"type": "object",
4876
+
"required": [
4877
+
"extractors",
4878
+
"finality",
4879
+
"tx_id"
4880
+
],
4881
+
"properties": {
4882
+
"extractors": {
4883
+
"type": "array",
4884
+
"items": {
4885
+
"$ref": "#/definitions/SuiExtractor"
4886
+
}
4887
+
},
4888
+
"finality": {
4889
+
"$ref": "#/definitions/SuiFinality"
4890
+
},
4891
+
"tx_id": {
4892
+
"$ref": "#/definitions/SuiTxId"
4893
+
}
4894
+
}
4895
+
},
4896
+
"SuiTxId": {
4897
+
"description": "32-byte Sui transaction digest (Blake2b-256 of the signed transaction data). Sui APIs display it base58-encoded; here it is carried as raw bytes (hex in JSON).",
0 commit comments