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

feat: extend makeInteractiveSigner and make it exportable #54

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

0xpatrickdev
Copy link
Member

  • extend makeInteractiveSigner and make it exportable

    • adds fifth optional argument opts to makeInteractiveSigner
      • allows additional Registry types to be sent in opts.registryTypes
      • allows additional amino converters to be sent in opts.converters
      • allows initial client gas price to be set with opts.gasPrice
    • exposes signAndBroadcast method, that takes any EncodeObject as an argument
    • exposes makeInteractiveSigner externally to consumers

- adds fifth optional argument `opts` to `makeInteractiveSigner`
- allows additional Registry types to be sent in `opts.registryTypes`
- allows additonal amino converters to be sent in `opts.converters`
- allows initial client gas price to be set with `opts.gasPrice`
- exposes `signAndBroadcast` method, that takes any EncodeObject as an argument
- exposes `makeInteractiveSigner` externally to consumers
@0xpatrickdev 0xpatrickdev force-pushed the pc/make-interactive-signer-export branch from 01cced4 to f0d9525 Compare October 27, 2023 23:35
0xpatrickdev added a commit to 0xpatrickdev/agoric-gov-proposal-hub that referenced this pull request Oct 29, 2023
- uses amino signer in an attempt to successfully submit MsgInstallBundle
- still no luck, but Amino has a better UX as messages are human-readble in the Keplr Modal (text instead of binary data)
- new issue emerges with Amino Types, it seems the CoreEval proposal is not parsed correctly. an RPC submissions results signature mismatch error: Broadcasting transaction failed with code 4 (codespace: sdk). Log: signature verification failed;
- see Agoric/ui-kit#54 for upstream changes to @agoric/web-components
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.

None yet

1 participant