Skip to content

Commit

Permalink
fix(SwingSet): Undo deviceTools behavioral change from #9153 (#9506)
Browse files Browse the repository at this point in the history
refs: #9153

## Description

This partially reverts the behavioral change from `deviceTools` from #9153.

### Security Considerations

None

### Scaling Considerations

None

### Documentation Considerations

None

### Testing Considerations

None

### Upgrade Considerations

DeviceTools are bundled into device bundles, so we want to minimize difference between code executing and code on disk.
  • Loading branch information
mhofman committed Jun 20, 2024
1 parent 7fa4d22 commit 8bd1893
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/SwingSet/src/devices/lib/deviceTools.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ export function buildSerializationTools(syscall, deviceName) {
}

const m = makeMarshal(convertValToSlot, convertSlotToVal, {
marshalName: `deviceTools:${deviceName}`,
marshalName: `device:${deviceName}`,
serializeBodyFormat: 'smallcaps',
// TODO Temporary hack.
// See https://github.com/Agoric/agoric-sdk/issues/2780
errorIdNum: 40_000,
errorIdNum: 60_000,
});

// for invoke(), these will unserialize the arguments, and serialize the
Expand Down

0 comments on commit 8bd1893

Please sign in to comment.