WIP - Replace duplicate transaction on live update [ci skip]#20
WIP - Replace duplicate transaction on live update [ci skip]#20ajit2903 wants to merge 4 commits into
Conversation
… lists (because they are still valid pending transactions that can be validated)
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)✅ Unit Test PR creation complete.
Comment |
|
Note Unit test generation is a beta feature. Expect some limitations and changes as we gather feedback and continue to improve it. Generating unit tests... This may take up to 20 minutes. |
|
✅ Created PR with unit tests: #38 |
) Unit test generation was requested by @ajit2903. * #20 (comment) The following files were modified: * `apps/block_scout_web/assets/__tests__/pages/transaction.js` * `apps/block_scout_web/test/block_scout_web/features/viewing_blocks_test.exs` * `apps/block_scout_web/test/block_scout_web/features/viewing_transactions_test.exs` * `apps/explorer/test/explorer/chain_test.exs`
|
Note Unit test generation is a beta feature. Expect some limitations and changes as we gather feedback and continue to improve it. Generating unit tests... This may take up to 20 minutes. |
1 similar comment
|
Note Unit test generation is a beta feature. Expect some limitations and changes as we gather feedback and continue to improve it. Generating unit tests... This may take up to 20 minutes. |
|
✅ Created PR with unit tests: #39 |
|
✅ Created PR with unit tests: #40 |
) Unit test generation was requested by @ajit2903. * #20 (comment) The following files were modified: * `apps/block_scout_web/assets/__tests__/pages/transaction.js` * `apps/block_scout_web/test/block_scout_web/features/viewing_transactions_test.exs` * `apps/explorer/test/explorer/chain/token_transfer_test.exs` * `apps/explorer/test/explorer/chain_test.exs`
GitHub keywords to close any associated issues
Motivation
Why we should merge these changes. If using GitHub keywords to close issues, this is optional as the motivation can be read on the issue page.
Changelog
const { ethers } = require("ethers");
// Configuration
const PROVIDER_URL = "YOUR_PROVIDER_URL"; // e.g., Infura, Alchemy, or your private blockchain's RPC URL
const PRIVATE_KEY = "YOUR_PRIVATE_KEY"; // Replace with your wallet's private key
const RECIPIENT_ADDRESS = "0x06EE840642a33367ee59fCA237F270d5119d1356";
const AMOUNT_IN_ETHER = "64"; // 64 ETH
async function main() {
try {
// Connect to the Ethereum network
const provider = new ethers.providers.JsonRpcProvider(PROVIDER_URL);
console.log("Connected to the Ethereum network");
}
// Execute the script
main();
Enhancements
Things you added that don't break anything. Regression tests for Bug Fixes count as Enhancements.
Bug Fixes
Things you changed that fix bugs. If it fixes a bug but, in so doing, adds a new requirement, removes code, or requires a database reset and reindex, the breaking part of the change should also be added to "Incompatible Changes" below.
Incompatible Changes
Things you broke while doing Enhancements and Bug Fixes. Breaking changes include (1) adding new requirements and (2) removing code. Renaming counts as (2) because a rename is a removal followed by an add.
Upgrading
If you have any Incompatible Changes in the above Changelog, outline how users of prior versions can upgrade once this PR lands or when reviewers are testing locally. A common upgrading step is "Database reset and re-index required".
Checklist for your Pull Request (PR)
master.