remix-project icon indicating copy to clipboard operation
remix-project copied to clipboard

fix: use contract address in logs for contract deployments

Open GarmashAlex opened this issue 9 months ago • 1 comments

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

GarmashAlex avatar Feb 26 '25 16:02 GarmashAlex

Deploy request for remixproject pending review.

Visit the deploys page to approve it

Name Link
Latest commit a727f69ffcc58d12ccfa61d8d7d96ecc7dab4806

netlify[bot] avatar Feb 26 '25 16:02 netlify[bot]