You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for lorentz-contract-view. It looks very useful, but I ran into some trouble when using the Ruby script. I am not sure if what I am doing (using babylonnet.sh client instead of tezos-client) is meant to be supported. Apologies if it is not!
Running:
TEZOS_CLIENT_UNSAFE_DISABLE_DISCLAIMER=yes /usr/local/bin/babylonnet.sh client get contract entrypoints for KT1..AQ
Entrypoints for contract KT1..AQ:
default: (or (or (or (pair %transfer address (pair address nat))
(or (pair %transferViaProxy address (pair address (pair address nat)))
" (or (pair %transferViaProxy address (pair address (pair address nat)))"
/home/sajith/code/lorentz-contract-view/lorentz-contract-view.rb:78:in `block in get_entrypoints': Expected all but the first line to match: /^\s*(?<entrypoint_name>\w+):\s+(?<entrypoint_type>.*)$/, but found: (or (pair %transferViaProxy address (pair address (pair address nat))) (RuntimeError) from /home/sajith/code/lorentz-contract-view/lorentz-contract-view.rb:115:in `each' from /home/sajith/code/lorentz-contract-view/lorentz-contract-view.rb:115:in `each' from /home/sajith/code/lorentz-contract-view/lorentz-contract-view.rb:115:in `to_h'
from /home/sajith/code/lorentz-contract-view/lorentz-contract-view.rb:115:in `get_entrypoints' from /home/sajith/code/lorentz-contract-view/lorentz-contract-view.rb:121:in `get_view_entrypoints' from /home/sajith/code/lorentz-contract-view/lorentz-contract-view.rb:129:in `get_typed_lambda_params' from /home/sajith/code/lorentz-contract-view/lorentz-contract-view.rb:173:in `<main>'
To me it looks like the script is not set up to handle output from babylonnet.sh client: it contains a default entrypoint with a multi-line value.
This is what I get when running babylonnet.sh client get contract entrypoints for $FA12_ADDRESS:
Thank you for lorentz-contract-view. It looks very useful, but I ran into some trouble when using the Ruby script. I am not sure if what I am doing (using
babylonnet.sh client
instead oftezos-client
) is meant to be supported. Apologies if it is not!I added these in my
~/.profile
:And ran:
And it resulted in:
To me it looks like the script is not set up to handle output from
babylonnet.sh client
: it contains adefault
entrypoint with a multi-line value.This is what I get when running
babylonnet.sh client get contract entrypoints for $FA12_ADDRESS
:The text was updated successfully, but these errors were encountered: