There was recently a new disassemble endpoint implemented on the node software to allow you to get human-readable TEAL code from bytecode: https://github.com/algorand/go-algorand/pull/3908. However, there is no corresponding function for the Javascript AlgodV2 client.
Solution
Add a function to correspond to this new endpoint. While I do not like the name, disassemble, used in the endpoint, I believe it's important to maintain consistency between the implementations, so I propose the following function signature:
Problem
There was recently a new
disassemble
endpoint implemented on the node software to allow you to get human-readable TEAL code from bytecode: https://github.com/algorand/go-algorand/pull/3908. However, there is no corresponding function for the Javascript AlgodV2 client.Solution
Add a function to correspond to this new endpoint. While I do not like the name,
disassemble
, used in the endpoint, I believe it's important to maintain consistency between the implementations, so I propose the following function signature:Dependencies
Figure out who needs to sign off on the proposed addition.
Urgency
Not urgent.