Consensys / Consensys/eth-lightwallet

createdContractAddress intermittently shows a different contract address from the one deployed on the network

Open
#44 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.5k
Forks
513
PR merge metrics
No merged PRs in 30d

Description

`createdContractAddress` in `txutils` will sometimes show the correct contract address but sometimes show a different contract address from the one that actually gets deployed.

Any ideas on why this is happening? You can test it out on a private testnet and about 10-20% of the time the contract address does not match the one that gets deployed.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting the txutils implementation of createdContractAddress and reproduce the mismatch on a private testnet, comparing the reported address with the address actually deployed on the network. Trace the intermittent cases and identify why they diverge; done means the cause is understood and the reported address consistently matches the deployed contract.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
blockchain
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.