dckc / finquick

family finance tools of a closet librarian
https://www.madmode.com/search/label/finances/
MIT License
12 stars 4 forks source link

toward confined protobuf stubs #65

Open dckc opened 11 months ago

dckc commented 11 months ago

I made an analog of @agoric-cosmic-proto using protobuf-es:

Using that, I can end make proto-puzzle.js fully confined:

import { MsgWalletSpendAction } from 'cosmic-proto-es/swingset/msgs.js';

export const make = () => true;

But there's lots of other stubs in cosmjs-types built with protobufjs where I get TypeError#1: Cannot read properties of undefined (reading 'dcodeIO')

So I couldn't config agoricZone.js let alone smartWallet.js.

ref: