oasisprotocol / oasis-core

Performant and Confidentiality-Preserving Smart Contracts + Blockchains

Home Page:https://oasisprotocol.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

expose a list of transaction methods

pro-wh opened this issue · comments

SUMMARY

we actually have pretty good introspection, with existing facilities to detect method name collisions and to look up the transaction body type of a given method.

for generating bindings in other languages, we'd like to have access to the list of registered methods. currently there's a private map of method names to body types, which may work for this purpose

note that even if this were exported, it would be up to the program to make sure the necessary modules are initialized in order for those modules to register their transaction names

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

consensus transactions

ADDITIONAL INFORMATION

for our client-sdk ts-web reflect-go project