Questions tagged [buidler]
The buidler tag has no summary.
15 questions
0 votes
0 answers
61 views
Transaction is not included in a block
I was wondering, why my tx with 10x estimated gas and 10x gas fee is not included in next 10 blocks, and i'm sending this tx directly to Titan and Beaver? Whats the mechanism for builder to pick up my ...
0 votes
0 answers
1k views
how to simplify web3 code to send ERC20 tokens using python?
Help, I need to simplify a transaction to send my erc20 tokens using this code as a reference from python web3, the problem is that the code is in a project that when I send my tokens a percentage of ...
0 votes
0 answers
1k views
Error: VM Exception while processing transaction: revert UniswapV2: LOCKED
I am using this repo to begin testing UniSwap flash swap contracts. I've installed all dependencies correctly and cleanly. The project uses ganache-cli, hardhat buidler, and yarn in the terminal and I ...
1 vote
1 answer
2k views
Hardhat Can't resolve 'console' on react project
I have a react project and initialized hardhat config then installed the necessary packages but I am getting error when I require hardhat on my project const hre = require("hardhat"); This ...
6 votes
3 answers
10k views
Impersonating accounts on a forked Ethereum main net using Hardhat
I used the example from the Hardhat docs to impersonate an account on a forked network: await hre.network.provider.request({ method: "hardhat_impersonateAccount", params: ["0x...."]...
2 votes
1 answer
1k views
Implementing Chainlink Data in Truffle / Hardhat
What is the easiest way to connect with Chainlink so we can test our dApp locally. Do we have to run a local Chainlink node, or is there any workaround for getting the online data?
2 votes
1 answer
2k views
HardHat deploy script works on testnet but not on forked hardhat network
The error that I am getting when running this is: Error: Invalid RpcBlockWithTransactions or null I have a contract called PriceConsumerV3 and it makes a view function call on a contract. I am ...
1 vote
0 answers
43 views
About Buidler Evm
1.How can I execute payable functions, like this putting the Value in the Builder console? 2.Can someone tell me the way to be able to change the address on the Buidler evm console? To execute ...
0 votes
1 answer
657 views
Trying to translate proxy deployment script from Truffle to Buidler. Not sure how
I have a custom proxy. Writing a deployment script for Buidler. Know how to do something in Truffle but not sure how to do the equivalent in Buidler. Truffle let testContract = await deployer.deploy(...
0 votes
1 answer
53 views
Observing some odd behaviour in ether transfer, could somebody help to explain it
I have simple piece of example code derived from SWC-136 · Overview, complete buidler based workspace in the git repo. I see some misbehavior in the execution [ ether transfer between usr-acc -> ...
1 vote
0 answers
215 views
Running solidity-coverage via a buidler plugin on a project using openzeppelin/test-environment yields 0% coverage
I have a project where I would like to check test coverage for the Solidity Smart Contracts. I am using solidity-coverage via a buidler plugin and the test coverage is always 0%. The output from the ...
45 votes
3 answers
23k views
I see no way to obtain the return value of a non-view function (ethers.js)
In a Buidler/Hardhat test I have: const { expect } = require("chai"); describe("SumOfTokens", function() { it("Checks correct transfers", async function() { const ...
4 votes
4 answers
4k views
Recovered address not matching signer address (using ethers)
Below is a simple signature verification flow I wrote, along with a test case with Buidler (all mainly to learn how to verify signatures in a Solidity smart contract). The problem is that the address ...
0 votes
0 answers
216 views
If I have several wallets with the same address, how to deal with nonces?
I access Ethereum from several wallets. Some of the addresses are present in several wallets at once. I discovered that nonces should always increase. (Right?) Then if I send transactions from several ...
0 votes
1 answer
929 views
buidler: address already in use (port 8545)
I'm trying out the buidler suite using scaffold-eth. I can start up using yarn start fine, but when I run yarn run chain I get the following error: Error: listen EADDRINUSE: address already in use ...