Skip to content

Alternative symbol() ABI for ERC20 tokens#587

Merged
pabloruiz55 merged 2 commits intodev-2.1.0from
CLI-bug-fix
Mar 6, 2019
Merged

Alternative symbol() ABI for ERC20 tokens#587
pabloruiz55 merged 2 commits intodev-2.1.0from
CLI-bug-fix

Conversation

@VictorVicente
Copy link
Contributor

Please check if the PR fulfills these requirements

  • The commit message follows our Submission guidelines

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

Some ERC20 tokens store its symbol with bytes32 instead of string. This fails on CLI.

What is the new behavior?

When checking if an address is or not an ERC20 token, if the string symbol() check fails, it tries with bytes32 symbol() check.

Does this PR introduce a breaking change?

No

Any Other information:

We should check this always in other scripts too.

@pabloruiz55 pabloruiz55 merged commit 9062fdf into dev-2.1.0 Mar 6, 2019
@VictorVicente VictorVicente deleted the CLI-bug-fix branch March 7, 2019 12:41
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