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

ubuntu address after new account #508

Closed
ethers opened this issue Mar 16, 2015 · 6 comments
Closed

ubuntu address after new account #508

ethers opened this issue Mar 16, 2015 · 6 comments

Comments

@ethers
Copy link
Member

ethers commented Mar 16, 2015

ethereum account new
The new account will be encrypted with a passphrase.
Please enter a passphrase now.
Passphrase: 
Repeat Passphrase: 
Address: 0x320xad0x270x650x3e0x4d0xf50xd80x170x280xd10x6d0x8e0x250x1f0xee0x340xf50x3d0x30

I believe I'm on 22893b7 (apt-get update and apt-get install ethereum). The address has extra 0x throughout.

@maran
Copy link
Member

maran commented Mar 17, 2015

Are you on a i686 version of Ubuntu by any chance?

@jorisbontje
Copy link

I can reproduce this hex encoding issue on a 32 bit Ubuntu 14.04 VM with 22893b7.

Trying to narrow down the problem, @maran and I get:

adminuser@adminuser-VirtualBox:~/go/src/github.com/ethereum/go-ethereum/common$ go test
# github.com/ethereum/go-ethereum/common
./bytes_test.go:81: constant 920987656789 overflows int
FAIL    github.com/ethereum/go-ethereum/common [build failed]

@obscuren
Copy link
Contributor

Right. On 32 bit systems len(int) is 4 bytes. A simple fix would be data2 := int64(920987656789)

@maran
Copy link
Member

maran commented Mar 17, 2015

This will fix the test but it won't fix the underlying error reported by the OP I think.

@jorisbontje
Copy link

Just managed to reproduced this on a fresh installation on Ubuntu 14.10 VM with there latest ethereum-dev PPA

@obscuren
Copy link
Contributor

This has long been fixed. If the issue pops up again, re-open.

nolash added a commit to nolash/go-ethereum that referenced this issue May 8, 2018
nolash added a commit to nolash/go-ethereum that referenced this issue May 8, 2018
ngtuna pushed a commit to ngtuna/tomochain that referenced this issue Aug 16, 2019
tanishqjasoria pushed a commit to tanishqjasoria/go-ethereum that referenced this issue Oct 31, 2023
…thereum#508)

fix: use correct roots in trace of block with one transaction
s1na pushed a commit to s1na/go-ethereum that referenced this issue Dec 2, 2024
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

No branches or pull requests

4 participants