Skip to content

Commit 352bd40

Browse files
Missing renames
1 parent c5f0d57 commit 352bd40

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/snaps-rpc-methods/src/endowments/protocol.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ export function getProtocolCaveatMapper(
8181

8282
const caveats = [];
8383

84-
if (value.chains) {
84+
if (value.scopes) {
8585
caveats.push({
8686
type: SnapCaveatType.ProtocolSnapScopes,
87-
value: value.chains,
87+
value: value.scopes,
8888
});
8989
}
9090

packages/snaps-utils/src/manifest/validation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ export const PermissionsStruct: Describe<InitialPermissions> = type({
207207
'endowment:protocol': optional(
208208
mergeStructs(
209209
HandlerCaveatsStruct,
210-
object({ chains: ProtocolScopesStruct }),
210+
object({ scopes: ProtocolScopesStruct }),
211211
),
212212
),
213213
'endowment:lifecycle-hooks': optional(HandlerCaveatsStruct),

0 commit comments

Comments
 (0)