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

toward confined protobuf stubs #65

Draft
wants to merge 16 commits into
base: ag-offer-sign
Choose a base branch
from
Draft

toward confined protobuf stubs #65

wants to merge 16 commits into from

Conversation

dckc
Copy link
Owner

@dckc dckc commented Dec 3, 2023

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:

@dckc dckc changed the title confine smartWallet module confine MsgWalletSpendAction protobuf code Dec 3, 2023
@dckc dckc changed the title confine MsgWalletSpendAction protobuf code toward confined protobuf stubs Dec 3, 2023
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 this pull request may close these issues.

1 participant