Questions tagged [ropsten]
Questions related to the Ropsten testnet: https://blog.ethereum.org/2016/11/20/from-morden-to-ropsten
437
questions
0
votes
0answers
4 views
Is ABI necessary for calling ropstend smart contract?
I only have ropsten's smart contract address, so I'm trying to get it through web3.js with:
window.web3.eth.Contract(abi, address)
but i see in the documentation it receives two parameters, i don't ...
0
votes
1answer
11 views
Unable to synchronize with Ropsten testnet with Geth 1.9.25
For the past two days I've been trying to synchronize with Ropsten testnet using the following command in Geth 1.9.25:
./geth --ropsten --rpc --rpcaddr="0.0.0.0" --rpcapi="eth, web3, ...
0
votes
0answers
32 views
Trying to sync the ropsten testnet to local server using geth
I tried syncing the ropsten ethereum testnet to my local server using the following script:
nohup geth --testnet --bootnodes "enode://...
0
votes
1answer
16 views
Connect local frontend with smart contract on ropsten
I'm new to DApp programming an I'm struggling with this problem since two days now.
Cloned this github example: https://github.com/dappuniversity/election
I deployed the smart contract to ropsten with ...
0
votes
0answers
9 views
How many miners are working on Ropsten (or other testnets)?
I'm curious how many miners or nodes are there on an Ethereum testnet. Is there any website which records such statistic or any method to estimate?
0
votes
1answer
20 views
Execution Reverted Details
I am writing code in Java and trying to calculated potential gas units, for a function call on my methods.
I am trying to do so by using infura as a provider for my web3 Instance,
and then created a ...
1
vote
1answer
22 views
Error while deploying contract to the Ropsten testnet
I'm trying to deploy a contract (called "FilesDetailsManager") to the Ropsten Testnet using Truffle and Infura as provider.
But when I type into terminal truffle migrate --network ropsten, I ...
3
votes
0answers
227 views
Deployment Failed : “Migrations” — only replay-protected (EIP-155) transactions allowed over RPC
I am trying to migrate the code which is already tested in mainnet to ropsten network. I wonder why it is throwing the below strange error. We as a team unable to find a solution for this for past 2 ...
2
votes
1answer
62 views
Got error!!Trying to deploy smart-contracts in ropsten infura
When I am trying to migrate smart contracts in ropsten infura network, but got error.
The error is shown below:
Using network 'ropsten'.
Running migration: 1_initial_migration.js
Replacing Migrations....
0
votes
1answer
31 views
TypeError [ERR_INVALID_ARG_TYPE] web3.js error
Can anyone help me fix this problem? I keep getting 'throw new ERR_INVALID_ARG_TYPE(
^
TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be one of type string, Buffer, ArrayBuffer, Array, or ...
0
votes
1answer
63 views
“txHash: undefined” error using web3.js
Can anyone help me fix this problem?
I get 'txHash: undefined' error in terminal
var Tx = require('ethereumjs-tx').Transaction
const Web3 = require('web3')
const web3 = new Web3('https://ropsten....
0
votes
0answers
26 views
Invalid implicit conversion from rational_const 5 / 2 to uint256 requested
I have the following code snippet inside my contract:
plans[1100] = Plan(7, 3);
plans[1101] = Plan(7, 2.5);
plans[1102] = Plan(15, 4);
plans[1103] = Plan(30, 6);
plans[1104] = Plan(30, 5);
When I try ...
0
votes
0answers
21 views
How to get rid of “Gas estimation errored with the following message” in this case?
In my front-end, I try to call a function called endAuction. In endAuction, I transfer payment to a seller and participants. While calling it from the front-end the transaction fails without any ...
0
votes
1answer
13 views
ROPSTEN: Duplicate Blocks adding transactions using Geth Real-Time Event API
I'm using the Geth Real-Time Event to get the new blocks via web-socket and there's a subscription called "newHeads" for that propose.
The thing is sometimes the socket returns a duplicate ...
0
votes
2answers
156 views
Seamless process to obtain test ether from faucet? [duplicate]
I am unable to successfully "Buy" Ether from a faucet for Ropsten or from Kovan. Is it me or do most people have issues setting up a testnet using Ropsten and/or Kovan? Can anyone help me ...
0
votes
0answers
36 views
Trying to work with ganche-cli, truffle and infura
When trying to migrate a truffle-config.js file following error appears.
TypeError: Cannot read property 'fromMasterSeed' of undefined
any help would be much appreciated.
const HDWalletProvider = ...
0
votes
0answers
49 views
Transactions not getting mined (Web3.js)
I'm trying to make a simple ether transaction with web3.js. Most times I try to execute the transaction, I get the following error: Error: Transaction was not mined within 750 seconds, please make ...
3
votes
2answers
215 views
What economic incentive does anyone have to mine Ropsten and other networks?
Ethereum 1.0 has a basic limitation, as all global blockchains do: each block can only hold so many transactions. Due to this scarcity, every time even one application gets too popular on the main ...
0
votes
0answers
69 views
Alternatives to get LINK tokens in Ropsten, for RNG
Sorry if this question sounds like very newbie (and maybe it is.
I'm developing a Smart Contract which needs a random number generation, and after researching some time it seems that ChainLink VRF ...
0
votes
0answers
23 views
How to solve Transaction has been reverted by the EVM , In need of a solution based on my code?
I have been using ropsten with infura.
SMART CONTRACT
contract Don
{
struct Details
{
uint id;
string name;
string dob;
...
0
votes
1answer
121 views
Connect Ganache to Ropsten
I want to connect Ganache to Ropsten such that i can see Ropsten's ledger with Ganache. Is this possible? if yes, what settings do I need to do on Ganache?
0
votes
1answer
39 views
Not persisting value with transaction
I have a contract that looks like this -
contract Calculator {
uint public result;
event Added(address caller, uint a, uint b, uint res);
constructor() public {
result = 777;
}...
0
votes
0answers
264 views
Timeout while attempting to connect and deploy in the Ropsten network
I am trying to deploy the contract in Ropsten network. It fails with the timeout error
The same is deployed in Ganache without any issues. Please advice
truffle-config.js
require('dotenv').config();
...
0
votes
1answer
326 views
Simple contract to contract token transfer failing
I'm trying to write a contract that combines two different function calls into one transaction, for which I then can hopefully use the CHI gas token. However, for now I can't even get my contract to ...
0
votes
0answers
14 views
Ethereum data reading and writing time fluctuation for web3
I have created a web app for sending and receiving data in ropsten testnet.
The average result of writing Data to the blockchain and reading it. The average is calculated for 5 transactions.
Here data ...
0
votes
0answers
52 views
is it possible to change block' gas limit?
I'm trying to execute some heavy transactions. Before execute it, Remix advises me about the gas limit:
Ok, then I change my gas limit on Metamask to 9,000,000 (I'm on Ropsten network):
And finally, ...
1
vote
1answer
80 views
Gas estimation errored with the following message error upon contract deployment
I am trying to deploy my contract CoinFlip on Remix using Injected Web 3 (Ropsten, Metamask) but I am getting the gas estimation error. I'm not sure where the error is coming from. I also tried ...
1
vote
1answer
317 views
Ropsten “exceeds block gas limit”
I am on GETH, 1.9.23 and I have had a smart contract running for more than 3 months now.
Suddenly, all transaction failed with "exceeds block gas limit".
I checked the Ropsten Testnet and ...
1
vote
0answers
44 views
Ropsten Node finally synchronized after 3 days: why a blockchain testnet should be so difficult?
I have started a new Ropsten Node running on a Pi4 4GB.
Here is the relevant information for those who might want to start a new Ropsten Node:
more than 3 day syncing
$ geth --ropsten --datadir /mnt/...
0
votes
1answer
68 views
this error while sending transaction using infura.io . The method eth_sendTransaction does not exist/is not available,
My ERC20 token dapp is giving an error only while using 'transfer function' even when I am using a given address as defaultaccount ( otherwise the error was "No "from" address specified ...
0
votes
1answer
53 views
How to handle Ropsten's smart contracts with Truffle?
I work with Truffle, Metamask, and Windows Powershell. I deployed my smart contract to Ropsten with Truffle by the below command in Powershell:
truffle migrate --network ropsten
Now, I need to ...
0
votes
2answers
188 views
Block gas limit lower than required to deploy a contract
I am trying to deploy a contract on ropsten network that requires ~7000000 gas, however the current gas limits are ~3.5mil on ropsten and I am unable to deploy the contract. What can I do about this?
1
vote
1answer
82 views
msg.sender.balance showing incorrect amount
I've written a smart contract that should return the balance of the current user using it and for some reason when I call the function it's returning the incorrect amount. I've used Remix and the ...
0
votes
1answer
45 views
Ethereum is not transferred on Ropsten network
Here's my code for signing nd sending a transaction on Ropsten testnet which is working properly. However, the value that is set to '1' eth is not transferred to the target address.
var Tx = require('...
0
votes
1answer
102 views
Receiving 'undefined' when using getBalance from web3
I am trying to fetch the balance of an address by web3 and node from Ropsten network with the commands below:
var Test = require('web3')
var url = 'https://ropsten.infura.io/v3/...'
var web3 = new ...
0
votes
2answers
174 views
How to get transaction hash without waiting for await call?
for my demo I need the transaction hash instantly without waiting for callback of sync call.
Here my code:
aggiungiAllaBlockChain: async(u,n,c,e) => {
try {
const web3 = new Web3(App....
0
votes
1answer
71 views
Remix Error - Trying to Follow Ropsten Faucet Instructions
I have been trying to get testnet Ethereum from Ropsten using Metamask wallet but instead I am getting errors. What am I doing wrong?
Here is what the Ropsten Faucet site said and the error on Remix
...
1
vote
2answers
34 views
Why do I pay fee for reading transaction on Ropsten?
I have a doubt.
I am using truffle with meta mask to deploy Smart Contract, write transaction and read transaction on Blockchain.
Why do I pay fee for reading data on BlockChain? Should it be free?
I ...
0
votes
1answer
37 views
Run my code on Ropsten network without using Infura
As I understood, Infura is a remote node give us the ability to interact with the network if we do not want to download the full node in our machine.
If I understood that correctly, can I download the ...
0
votes
1answer
199 views
How Can I use my Metamask accouns to deploy a contract using Truffle
I have the full geth node on my machine and want to deploy my smart contract on ropsten using truffle.
In truffle.js fileI have connected to the node as the following:
ropsten: {
host: "...
0
votes
2answers
153 views
Fund my Ropsten account to deploy my contract
I have a full geth node on my machine and I want to deploy my contract on Ropsten using truffle.
How I can fund my coinable account with some ether to deploy my smart contract?
I have tried fuusent....
0
votes
0answers
70 views
My activity is erased from the Ropsten testnet
I am new to blockchain development, and I just deployed a Token creation contract yesterday to the Ropsten test network. After creation, the token showed up properly with the correct supply on the ...
1
vote
1answer
410 views
Run Geth with a configuration file
I've created a config.toml for Ropsten (NetworkId =3) that looks like this:
https://pastebin.com/raw/2DxWE1jf
But when I run
geth --config /home/path-to-config
From the cli I get: (Note ChainID:1, ...
0
votes
0answers
61 views
(closed) I deployed the contract with remix but truffle didn't deploy, why?
i want to deploy my contract to Rinkeby or Ropsten testnet with truffle. But I give an error like this:
ran out of gas (using a value you set in your network config or deployment parameters.)
* ...
0
votes
1answer
60 views
contract deploy error for ropsten
I try deploy a contract to rotten network with truffle. I checked the last gas limit value in ropsten and I give the gas limit value of the last block But I get this error:
"Migrations" ...
0
votes
1answer
78 views
error deploying token to ropsten using remix
I am trying to deploy my token on Ropsten Network using REMIX IDE, but keep getting this error "contract may be abstract, not implement an abstract parent's methods completely or not invoke an ...
0
votes
0answers
39 views
Subscribing to new blocks doesn´t work [ROPSTEN]
I'm trying to subscribe to newBlockHeaders on the ropsten network, but it does not seem to work. The following code works for mainnet but not ropsten. Any ideas?
const Web3 = require('web3')
const ...
0
votes
1answer
272 views
ETH not showing up
To help me get started learning how to create contracts, I had 1 ETH sent from the Ropsten Ethereum Faucet to my MetaMask address. It arrived fine, but when I tried to send it to MyCrypto address it ...
0
votes
1answer
530 views
Transactions stuck at pending on ropsten test net from one day
I am Writing a simple script for ERC20 token transfer method. which sign transaction offline and then submit it to network.
Transfer method encoded data :
var encoded = await MyContract.methods
...
0
votes
1answer
225 views
How to re-compile contracts using truffle which are updated?
I deployed something in the test-net(ropsten). Later, realized that one of my contracts needs some amendments. In such cases how to compile specific contracts and deploy only that contract using ...