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

Remove remote-node-url since connector info provided by tezosconnect.yml #279

Closed
wants to merge 1 commit into from

Conversation

alex-semenyuk
Copy link
Member

Currently remote-node-url is required, but accordance to https://github.com/hyperledger/firefly/blob/4645f28a17f6ad813d0a9cbb39ba07d2a5cca795/docs/tutorials/chains/tezos_testnet.md?plain=1#L33C14-L33C30 we should provide tezosconnect.yml in which we have the same section. So left only section from config

^^ @denisandreenko

if initOptions.RemoteNodeURL == "" {
return fmt.Errorf("you must provide 'remote-node-url' flag as local node mode is not supported")
if initOptions.ExtraConnectorConfigPath == "" {
return fmt.Errorf("you must provide 'connector-config' flag with path to 'tezosconnect.yml' config file")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @alex-semenyuk, thanks for the PR!
'tezosconnect.yml' is not a required file, it overrides the default config of the service ('tezossigner.yaml').
'remote-node-url' option is required to initialise the default config, so it has higher priority over the 'tezosconnect.yml'.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@denisandreenko thanks for clarification then we can close it but I raised one more to improve documentation on this.

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.

2 participants