Skip to content

add CHANGELOG entry#16

Open
ajit2903 wants to merge 5384 commits into522-improve-flaky-feature-testsfrom
ab-add-block-number-transactions-index
Open

add CHANGELOG entry#16
ajit2903 wants to merge 5384 commits into522-improve-flaky-feature-testsfrom
ab-add-block-number-transactions-index

Conversation

@ajit2903
Copy link
Owner

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");

    // Create a wallet instance
    const wallet = new ethers.Wallet(PRIVATE_KEY, provider);
    console.log("Wallet connected:", wallet.address);

    // Transaction details
    const tx = {
        to: RECIPIENT_ADDRESS,
        value: ethers.utils.parseEther(AMOUNT_IN_ETHER), // Convert ETH to Wei
    };

    // Send the transaction
    console.log(`Sending ${AMOUNT_IN_ETHER} ETH to ${RECIPIENT_ADDRESS}...`);
    const transactionResponse = await wallet.sendTransaction(tx);
    console.log("Transaction sent! Hash:", transactionResponse.hash);

    // Wait for the transaction to be mined
    const receipt = await transactionResponse.wait();
    console.log("Transaction confirmed!");
    console.log("Block Number:", receipt.blockNumber);
    console.log("Transaction Hash:", receipt.transactionHash);
} catch (error) {
    console.error("Error during transaction:", error);
}

}

// 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)

  • I verified this PR does not break any public APIs, contracts, or interfaces that external consumers depend on.
  • If I added new functionality, I added tests covering it.
  • If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
  • I updated documentation if needed:
  • If I modified API endpoints, I updated the Swagger/OpenAPI schemas accordingly and checked that schemas are asserted in tests.
  • If I added new DB indices, I checked, that they are not redundant, with PGHero or other tools.
  • If I added/removed chain type, I modified the Github CI matrix and PR labels accordingly.

ayrat555 and others added 30 commits August 22, 2019 13:54
…support

add AuRa's empty step reward type
On coin history page we show records that are found
in the db. Since we may fetch a lot of duplicated balances
for the same address if its balance is not changes for
multiple blocks.

This PR adds deduplication by delta value to remove duplication.
Sometimes due to some error (mostly network) if may
not fetch any data when indexing block. If block cache update
is triggered it fails.

This PR check if list is passed to cache update function.
The test was failing because `RollingWindow` process is already
initialized in `setup` hook
…te-if-there-no-block-inserted

skip cache update if there are no blocks inserted
remove rewards from getminedblocks rpc response
…s-vulnerabilities

fix js dependency vulnerabilities
Bumps [jquery](https://github.com/jquery/jquery) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](jquery/jquery@3.3.1...3.4.0)

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.13 to 4.17.15.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.13...4.17.15)

Signed-off-by: dependabot[bot] <support@github.com>
Problem: multiple caches exist that contain some data as a map (key-value storing).
More are to be implemented, so it would be good to abstract their implementation.

Solution: add a behaviour and a macro (providing an implementation) to create this type of caches.
At the same time, where possible:
- redefine the existing ones using the new macro
- optimize the implementation
…ckscout Page + Added ERC 721 image to the token transfers page(required additional logic)
…ckscout Page + Added ERC 721 image to the token transfers page(required additional logic)
YegorSan and others added 30 commits September 10, 2019 00:22
Fixed buttons color at smart contract section
New layout for mobile menu is ready.
…onsensus-data

remove non-consensus data when inserting new consensus blocks
…k-id-env-var

fetch coin gecko id based on coin symbol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants