diff --git a/packages/SwingSet/src/controller/initializeKernel.js b/packages/SwingSet/src/controller/initializeKernel.js index dbf4a74cf10..67552acf629 100644 --- a/packages/SwingSet/src/controller/initializeKernel.js +++ b/packages/SwingSet/src/controller/initializeKernel.js @@ -210,7 +210,7 @@ export async function initializeKernel(config, kernelStorage, options = {}) { serializeBodyFormat: 'smallcaps', // TODO Temporary hack. // See https://github.com/Agoric/agoric-sdk/issues/2780 - errorIdNum: 60000, + errorIdNum: 60_000, }); const args = kunser(m.serialize(harden([vatObj0s, deviceObj0s]))); const rootKref = exportRootObject(kernelKeeper, bootstrapVatID); diff --git a/packages/SwingSet/src/devices/lib/deviceTools.js b/packages/SwingSet/src/devices/lib/deviceTools.js index b8ff25f4c42..da3f01c7417 100644 --- a/packages/SwingSet/src/devices/lib/deviceTools.js +++ b/packages/SwingSet/src/devices/lib/deviceTools.js @@ -74,11 +74,11 @@ export function buildSerializationTools(syscall, deviceName) { } const m = makeMarshal(convertValToSlot, convertSlotToVal, { - marshalName: `device:${deviceName}`, + marshalName: `deviceTools:${deviceName}`, serializeBodyFormat: 'smallcaps', // TODO Temporary hack. // See https://github.com/Agoric/agoric-sdk/issues/2780 - errorIdNum: 60000, + errorIdNum: 40_000, }); // for invoke(), these will unserialize the arguments, and serialize the diff --git a/packages/SwingSet/src/kernel/deviceSlots.js b/packages/SwingSet/src/kernel/deviceSlots.js index b055c3a2f8f..e42fa461a25 100644 --- a/packages/SwingSet/src/kernel/deviceSlots.js +++ b/packages/SwingSet/src/kernel/deviceSlots.js @@ -107,7 +107,7 @@ export function makeDeviceSlots( serializeBodyFormat: 'smallcaps', // TODO Temporary hack. // See https://github.com/Agoric/agoric-sdk/issues/2780 - errorIdNum: 50000, + errorIdNum: 50_000, }); function PresenceHandler(importSlot) { diff --git a/packages/swingset-liveslots/src/liveslots.js b/packages/swingset-liveslots/src/liveslots.js index 9dc469f44b8..641a5ee3729 100644 --- a/packages/swingset-liveslots/src/liveslots.js +++ b/packages/swingset-liveslots/src/liveslots.js @@ -564,7 +564,7 @@ function build( serializeBodyFormat: 'smallcaps', // TODO Temporary hack. // See https://github.com/Agoric/agoric-sdk/issues/2780 - errorIdNum: 70000, + errorIdNum: 70_000, marshalSaveError: err => // By sending this to `console.warn`, under cosmic-swingset this is // controlled by the `console` option given to makeLiveSlots. diff --git a/packages/swingset-liveslots/tools/fakeVirtualSupport.js b/packages/swingset-liveslots/tools/fakeVirtualSupport.js index 512fa1e4a0c..26a6ee51627 100644 --- a/packages/swingset-liveslots/tools/fakeVirtualSupport.js +++ b/packages/swingset-liveslots/tools/fakeVirtualSupport.js @@ -242,6 +242,9 @@ export function makeFakeLiveSlotsStuff(options = {}) { const marshal = makeMarshal(convertValToSlot, convertSlotToVal, { serializeBodyFormat: 'smallcaps', + marshalName: 'fakeLiveSlots', + errorIdNum: 80_000, + marshalSaveError: _err => {}, }); function registerEntry(baseRef, val, valIsCohort) { diff --git a/packages/wallet/api/src/lib-dehydrate.js b/packages/wallet/api/src/lib-dehydrate.js index 04ad6e538e9..55d0209fe6b 100644 --- a/packages/wallet/api/src/lib-dehydrate.js +++ b/packages/wallet/api/src/lib-dehydrate.js @@ -340,7 +340,7 @@ export const makeDehydrator = (initialUnnamedCount = 0) => { marshalName: 'hydration', // TODO Temporary hack. // See https://github.com/Agoric/agoric-sdk/issues/2780 - errorIdNum: 30000, + errorIdNum: 30_000, serializeBodyFormat: 'smallcaps', }, );