Skip to content

fix: use contract address in logs for contract deployments #5819

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GarmashAlex
Copy link

This PR fixes the TODO comments in logsManager.ts by using the contract address from the transaction receipt when a transaction is a contract deployment.
Changes made:

  • In checkBlock method: use receipt.contractAddress if available
  • In getLogsByTxHash method: check for receipt.contractAddress and use it if available
  • In getLogsFor method: check for receipt.contractAddress and use it if available

Copy link

netlify bot commented Feb 26, 2025

👷 Deploy request for remixproject pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit a727f69

@Aniket-Engg Aniket-Engg requested a review from yann300 March 13, 2025 13:42
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant