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

Fixed bad handling of core symbol #141

Merged
merged 1 commit into from
Jun 19, 2019
Merged

Conversation

maoueh
Copy link
Contributor

@maoueh maoueh commented Jun 14, 2019

The core symbol is now retrieved on-demand when a command requires it. The current retrieval way is to query the rammarket table which should have a row only when eosio:init has been called with the core symbol set.

This row has a quote balance asset value that is always equalt to the core symbol. This is where we get it.

In the eventuality that it's not possible to retrieve, the user can still override the default 4,EOS by passing --core-symbol to the eosc CLI. This will use this core symbol only when impossible to infer it.

Also added logging facilities to help debugging certain part of the eosc CLI.

Fixes #136

The core symbol is now retrieved on-demand when a command requires it. The
current retrieval way is to query the `rammarket` table which should have
a row only when `eosio:init` has been called with the core symbol set.

This row has a quote balance asset value that is always equalt to the
core symbol. This is where we get it.

In the eventuality that it's not possible to retrieve, the user can still
override the default 4,EOS by passing `--core-symbol` to the `eosc` CLI.
This will use this core symbol only when impossible to infer it.

Also added logging facilities to help debugging certain part of the `eosc`
CLI.

Fixes #136
@maoueh maoueh requested a review from abourget June 14, 2019 17:11
@maoueh maoueh merged commit 7d54da4 into master Jun 19, 2019
@maoueh maoueh deleted the feature/infer-core-symbol branch June 19, 2019 16:02
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.

REX support for no-EOS core symbol
1 participant