Ganache-cli: Feature request: eip-55 checksum displayed Available Accounts addresses

Created on 19 Jun 2019  路  2Comments  路  Source: trufflesuite/ganache-cli

Feature request

Display the 10 Available Accounts when ganache-cli starts as (eip-55) checksummed addresses.

Expected Behavior

Displaying as checksummed versions would look as follows:

Available Accounts
==================
(0) 0x90F8bf6A479f320ead074411a4B0e7944Ea8c9C1 (~100 ETH)

Addresses in Ganache (GUI) are displayed as checksummed addresses.

Current Behavior

Available Accounts are displayed in lower case as follows:

Available Accounts
==================
(0) 0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1 (~100 ETH)

Possible Solution

Checksum using logic as per the spec
https://github.com/ethereum/EIPs/blob/master/EIPS/eip-55.md#specification

Context

Tools that verify the checksum when these addresses are used report warnings.

zos push gave a warning to a community member when they used one of the ganache-cli available accounts. https://forum.zeppelin.solutions/t/getting-checksum-warning-while-executing-zos-push/889

Your Environment

  • Version used: Ganache CLI v6.4.4 (ganache-core: 2.5.6)
  • NodeJS Version: v10.16.0
  • Operating System and version: Windows Subsystem for Linux (Ubuntu 18.04.2 LTS)
consistenccorrectness enhancement good first time contribution priority-medium

Most helpful comment

Thanks for this issue, @abcoathup! And for the PR @djuanit0x! Reviewing it now.

All 2 comments

659

Thanks for this issue, @abcoathup! And for the PR @djuanit0x! Reviewing it now.

Was this page helpful?
0 / 5 - 0 ratings