Skip to content

Commit 841b507

Browse files
authored
feat: batch foreign callables (#274)
1 parent 61e1ac2 commit 841b507

2 files changed

Lines changed: 487 additions & 270 deletions

File tree

packages/near-membrane-base/src/environment.ts

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -148,15 +148,14 @@ export class VirtualEnvironment {
148148
// 8: redCallableConstruct,
149149
9: redCallableDefineProperty,
150150
// 10: redCallableDeleteProperty,
151-
// 11: redCallableGet,
152-
// 12: redCallableGetOwnPropertyDescriptor,
153-
// 13: redCallableGetPrototypeOf,
154-
// 14: redCallableHas,
155-
// 15: redCallableIsExtensible,
156-
// 16: redCallableOwnKeys,
157-
// 17: redCallablePreventExtensions,
158-
// 18: redCallableSet,
159-
19: redCallableSetPrototypeOf,
151+
// 11: redCallableGetOwnPropertyDescriptor,
152+
// 12: redCallableGetPrototypeOf,
153+
// 13: redCallableHas,
154+
// 14: redCallableIsExtensible,
155+
// 15: redCallableOwnKeys,
156+
// 16: redCallablePreventExtensions,
157+
// 17: redCallableSet,
158+
18: redCallableSetPrototypeOf,
160159
} = redHooks!;
161160
this.redGlobalThisPointer = redGlobalThisPointer;
162161
this.redCallableEvaluate = redCallableEvaluate;

0 commit comments

Comments
 (0)