Skip to content

Commit 96d7e8f

Browse files
committed
fix(core): Update generated files
1 parent 0dff5da commit 96d7e8f

2 files changed

Lines changed: 5 additions & 64 deletions

File tree

crates/iota-graphql-rpc/schema.graphql

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -3821,23 +3821,6 @@ type Query {
38213821
The coin metadata associated with the given coin type.
38223822
"""
38233823
coinMetadata(coinType: String!): CoinMetadata
3824-
"""
3825-
Verify a zkLogin signature based on the provided transaction or personal
3826-
message based on current epoch, chain id, and latest JWKs fetched
3827-
on-chain. If the signature is valid, the function returns a
3828-
`ZkLoginVerifyResult` with success as true and an empty list of
3829-
errors. If the signature is invalid, the function returns
3830-
a `ZkLoginVerifyResult` with success as false with a list of errors.
3831-
3832-
- `bytes` is either the personal message in raw bytes or transaction
3833-
data bytes in BCS-encoded and then Base64-encoded.
3834-
- `signature` is a serialized zkLogin signature that is Base64-encoded.
3835-
- `intentScope` is an enum that specifies the intent scope to be used to
3836-
parse bytes.
3837-
- `author` is the address of the signer of the transaction or personal
3838-
msg.
3839-
"""
3840-
verifyZkloginSignature(bytes: Base64!, signature: Base64!, intentScope: ZkLoginIntentScope!, author: IotaAddress!): ZkLoginVerifyResult!
38413824
}
38423825

38433826
"""
@@ -5142,35 +5125,6 @@ type ValidatorSet {
51425125
committeeMembers(first: Int, before: String, last: Int, after: String): ValidatorConnection!
51435126
}
51445127

5145-
"""
5146-
An enum that specifies the intent scope to be used to parse the bytes for
5147-
signature verification.
5148-
"""
5149-
enum ZkLoginIntentScope {
5150-
"""
5151-
Indicates that the bytes are to be parsed as transaction data bytes.
5152-
"""
5153-
TRANSACTION_DATA
5154-
"""
5155-
Indicates that the bytes are to be parsed as a personal message.
5156-
"""
5157-
PERSONAL_MESSAGE
5158-
}
5159-
5160-
"""
5161-
The result of the zkLogin signature verification.
5162-
"""
5163-
type ZkLoginVerifyResult {
5164-
"""
5165-
The boolean result of the verification. If true, errors should be empty.
5166-
"""
5167-
success: Boolean!
5168-
"""
5169-
The errors field captures any verification error
5170-
"""
5171-
errors: [String!]!
5172-
}
5173-
51745128
"""
51755129
Marks an element of a GraphQL schema as no longer supported.
51765130
"""

crates/iota-open-rpc/spec/openrpc.json

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11837,16 +11837,11 @@
1183711837
"additionalProperties": false
1183811838
},
1183911839
{
11840-
"type": "object",
11841-
"required": [
11840+
"deprecated": true,
11841+
"type": "string",
11842+
"enum": [
1184211843
"ZkLogin"
11843-
],
11844-
"properties": {
11845-
"ZkLogin": {
11846-
"$ref": "#/components/schemas/ZkLoginPublicIdentifier"
11847-
}
11848-
},
11849-
"additionalProperties": false
11844+
]
1185011845
},
1185111846
{
1185211847
"type": "object",
@@ -13268,7 +13263,7 @@
1326813263
}
1326913264
},
1327013265
"ZkLoginAuthenticator": {
13271-
"description": "An zk login authenticator with all the necessary fields.",
13266+
"description": "Deprecated zkLogin authenticator. Kept only for BCS/serde deserialization compatibility. All operations return an `UnsupportedFeature` error.",
1327213267
"type": "object",
1327313268
"required": [
1327413269
"inputs",
@@ -13347,14 +13342,6 @@
1334713342
}
1334813343
}
1334913344
}
13350-
},
13351-
"ZkLoginPublicIdentifier": {
13352-
"description": "A wrapper struct to retrofit in [enum PublicKey] for zkLogin. Useful to construct [struct MultiSigPublicKey].",
13353-
"allOf": [
13354-
{
13355-
"$ref": "#/components/schemas/Base64"
13356-
}
13357-
]
1335813345
}
1335913346
}
1336013347
}

0 commit comments

Comments
 (0)