Skip to content

Adding deploymentBlocknumber property for BaseContract #4690

@tornadocontrib

Description

@tornadocontrib

Ethers Version

latest

Search Terms

No response

Describe the Problem

Would be great to have this as an alternative approach for deploymentTransaction . deploymentTransaction would be useful to fetch deployment block number required to fetch historic contract events until Geth starts to prune old transactions ( transactions more than a year ). Since almost every public nodes now have a pruned transaction state it would make sense if we could add the deploymentBlock or deploymentBlockNumber property that could be used for fetching historic events.

Code Snippet

No response

Contract ABI

No response

Errors

No response

Environment

No response

Environment (Other)

No response

Metadata

Metadata

Assignees

Labels

discussionQuestions, feedback and general information.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions