Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

caplets for trading with the Agoric smartWallet #1

Closed
dckc opened this issue Jan 9, 2024 · 1 comment · Fixed by #2
Closed

caplets for trading with the Agoric smartWallet #1

dckc opened this issue Jan 9, 2024 · 1 comment · Fixed by #2

Comments

@dckc
Copy link
Contributor

dckc commented Jan 9, 2024

I aim to migrate them to this repo from

See also:

cc @kriskowal @tgrecojs

dckc added a commit that referenced this issue Jan 10, 2024
NOTE: using the exact versions from finquick worked,
but just doing `yarn add X` for these packages resulted
in

RemoteTypeError(error:captp:Endo#20001)#1: Cannot assign to read only
property 'constructor' of object '[object Object]'

and I couldn't find any more stack info
dckc added a commit that referenced this issue Jan 16, 2024
NOTE: using the exact versions from finquick worked,
but just doing `yarn add X` for these packages resulted
in

RemoteTypeError(error:captp:Endo#20001)#1: Cannot assign to read only
property 'constructor' of object '[object Object]'

and I couldn't find any more stack info
dckc added a commit that referenced this issue Jan 17, 2024
NOTE: using the exact versions from finquick worked,
but just doing `yarn add X` for these packages resulted
in

RemoteTypeError(error:captp:Endo#20001)#1: Cannot assign to read only
property 'constructor' of object '[object Object]'

and I couldn't find any more stack info
dckc added a commit that referenced this issue Jan 17, 2024
NOTE: using the exact versions from finquick worked,
but just doing `yarn add X` for these packages resulted
in

RemoteTypeError(error:captp:Endo#20001)#1: Cannot assign to read only
property 'constructor' of object '[object Object]'

and I couldn't find any more stack info

 - buid(ag-trade): add @endo/far for caplets
dckc added a commit that referenced this issue Jan 17, 2024
NOTE: using the exact versions from finquick worked,
but just doing `yarn add X` for these packages resulted
in

RemoteTypeError(error:captp:Endo#20001)#1: Cannot assign to read only
property 'constructor' of object '[object Object]'

and I couldn't find any more stack info

 - buid(ag-trade): add @endo/far for caplets
@dckc
Copy link
Contributor Author

dckc commented Jan 17, 2024

Fixed by #2

@dckc dckc closed this as completed Jan 17, 2024
dckc added a commit that referenced this issue Apr 20, 2024
~/projects/playground/packages/file-watcher
16:13 connolly@bldbox$ endo make --UNCONFINED ./src/FileWatchingService.js
Object [Alleged: FileWatcherFactory] {}
~/projects/playground/packages/file-watcher
16:13 connolly@bldbox$ endo make --UNCONFINED ./src/FileWatchingService.js -n fwf
Object [Alleged: FileWatcherFactory] {}
~/projects/playground/packages/file-watcher
16:14 connolly@bldbox$ endo eval "E(fwf).make('/home/connolly/Downloads')" fwf
Object [Alleged: FileWatcher] {}
~/projects/playground/packages/file-watcher
16:14 connolly@bldbox$ endo eval "E(fwf).make('/home/connolly/Downloads')" fwf -n fw
Object [Alleged: FileWatcher] {}
~/projects/playground/packages/file-watcher
16:14 connolly@bldbox$ endo eval "E(fw).watch()" fw
CapTP cli exception: (RemoteError(error:captp:Endo#20001)#1)
RemoteError(error:captp:Endo#20001)#1: cannot serialize Remotables with non-methods like "constructor" in (an object)

  at decodeErrorCommon (packages/marshal/src/marshal.js:306:24)
  at decodeErrorFromCapData (packages/marshal/src/marshal.js:334:14)
  at decodeFromCapData (packages/marshal/src/encodeToCapData.js:384:27)
  at fromCapData (packages/marshal/src/marshal.js:396:23)
  at CTP_RETURN (packages/captp/src/captp.js:695:24)
  at dispatch (packages/captp/src/captp.js:774:7)
  at packages/daemon/src/connection.js:34:7

(RemoteError(error:captp:Endo#20001)#1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant