Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 27 22:23
    Travis ethersocialcoin/go-esc (develop) still failing (1020)
  • Nov 27 21:54
    holiman commented #21883
  • Nov 27 21:51
    holiman synchronize #21883
  • Nov 27 20:19
    PascalDierich opened #21914
  • Nov 27 16:37
    atoulme synchronize #21883
  • Nov 27 13:57
    colourful-land commented #21910
  • Nov 27 13:06
    holiman commented #21879
  • Nov 27 13:04
    holiman closed #21913
  • Nov 27 13:04
    holiman commented #21913
  • Nov 27 13:01
    holiman commented #21913
  • Nov 27 12:58
    holiman synchronize #21913
  • Nov 27 12:57
    holiman opened #21913
  • Nov 27 12:50
    ligi closed #21912
  • Nov 27 12:50
    ligi commented #21912
  • Nov 27 12:48
    drsaluml labeled #21912
  • Nov 27 12:48
    drsaluml opened #21912
  • Nov 27 12:17
    holiman commented #21879
  • Nov 27 11:14

    gballet on master

    crypto: signing builds with sig… (compare)

  • Nov 27 11:13
    gballet closed #21798
  • Nov 27 11:13
    gballet closed #21543
delistandecrypt
@delistandecrypt
@RED29 I am having the same issue with balancer and my Geth node, did you figure it out?
"Failure querying onchain balances", works with Infura's node, but not mine
delistandecrypt
@delistandecrypt
I debugged a eth_call JSON RPC method that is returning {"jsonrpc":"2.0","id":4140152880,"error":{"code":-32000,"message":"out of gas"}}
the call is done from balancer.exchange when I simply enter the page and put a number in a token without trading anything
why does my geth node return "out of gas", and when I point Metmask to Infura, it works? How can I fix this?
Baron Wilhelm Stein
@WilhelmStein
If I wanted to get the call data of a function during a trace, what approach would you recommend? Aside from trying to match patterns on the debug_traceTransaction output, what other avenues could be fruitfull?
Krasimir Georgiev
@krasi-georgiev

trying to generate some go bindings from this sol file, but it is missing some functions from imported libraries.
https://github.com/tellor-io/TellorCore/blob/master/contracts/Tellor.sol

for example ./libraries/TellorLibrary.sol imports TellorGettersLibrary.sol which has didMine function but this is not added in the generated golang file.

Any idea if I am doing anything wrong or is this some limitation or expected behavior?

command is abigen --sol=abi/Tellor.sol --solc=solc0.5.16 --pkg=contract --type=Tellor --out=pkg/contract/contract.go

Krasimir Georgiev
@krasi-georgiev
Krasimir Georgiev
@krasi-georgiev
hm I just noticed that even if I call the generation of TellorGettersLibrary.sol directly it still doesn't create the didMine function call
/home/krasi/bin/abigen-v1.9.23 --sol=abi/libraries/TellorGettersLibrary.sol --solc=/tmp/bin/solc --pkg=contract --type=Tellor --out=pkg/contract/contract.go
zjsunzone
@zjsunzone
How to determine whether the contract type is ERC20 or ERC721 based on the bytecode of the contract that has been deployed on the chain.
Urgent help
IK
@thor-ragnarok
@zjsunzone there is no 100% method for that - but you can check if the bytecode contains the method signatures you expect erc20 or erc721 to contain - consider that USDT bytecode does contain the erc20 method signatures but it is not itself strictly erc20
this is because the return types are not encoded in the method signature ^
zjsunzone
@zjsunzone
Thanks, I think about other ways.
Don't know how ehterscan does it.
image.png
@thor-ragnarok you know?
about etherscan.
image.png
IK
@thor-ragnarok
i assume they are using the method i described
zjsunzone
@zjsunzone
Ok, i will try.
Tks.
zjsunzone
@zjsunzone
@thor-ragnarok You are right, I did a simple verification.
Jure Grabnar
@jbargu
Is it possible to specify pivot block for --syncmode=fast. I would like to have the state for the last 50k blocks and I cannot afford to have the full node.
darorl89
@darorl89
hey guys, whats the disk requirement for full node?
zjsunzone
@zjsunzone
1T
IK
@thor-ragnarok
@darorl89
alice@node_1:~/.ethereum$ ls
geth  geth.ipc  history  keystore
alice@node_1:~/.ethereum$ du -h
6.2M    ./geth/nodes
160G    ./geth/chaindata/ancient
293G    ./geth/chaindata
187M    ./geth/ethash
1.1G    ./geth/triecache
294G    ./geth
4.0K    ./keystore
294G    .
at least 300gb just to sync to current block
Roman Burkovsky
@m0onspell
2020-10-22 13.42.25.jpg
@thor-ragnarok for me it's like this currently, am I close? Still syncing at ~594,000,000 state entries
IK
@thor-ragnarok
hope so... good luck :)
mhardock
@mhardock
is there a geth equivalent of parity_call? Which allows sequential eth_call and have the state maintained inbetween?
ChristainDuncan
@ChristainDuncan
BTC fundamentals have improved significantly over the last year or two. The price was due to increase earlier this year, but the coronavirus situation shot it down due to the selloff and liquidity squeeze. Now with corona mostly out of the way and paypal announcing they are adding BTC and other cryptos, it is getting the bump it earned. It may not have much inherent value, but this time around the price increase (thus far) is supported by an improvement in fundamentals after a long consolidation period. My guess is it will overshoot in the months to come... because you know crypto traders love that FOMO. DCA can be a crude but quite efficient way to accumulate bitcoins but hardcore holding can become an obsession that shouldn’t happen to anyone as you would most definitely regret it and is on its own a form of laziness. For starters, the token had rallied too rapidly amid the booming craze for decentralized finance projects. It demanded a natural correction on profit-taking sentiment alone. It started after the token established its record high near $44,000 Bitcoin holders who bought in 2010 and have never spent it are just crazy people who could have spent and also created 100 sources of passive income by now. I learned from a Pro Trader Mark, @Trademasterlive on YouTube, and Telegram +1 (301)-231-1550.He has licensed A trader who over the months has helped me grow my portfolio After some Trading Session with him even for a beginner like me, I Made over 20 BTC in trading using a well-established and easy to use pattern and signal service
IK
@thor-ragnarok
@mhardock no
VinothShanmugam
@vinooMj
Hi All, How to add sealer account in Clique in POA private ethereum ? I tried clique.propose("address", true) but I got Null
Thomas S. McCabe
@thomasmccabe

Hi all, I’m having trouble connecting my graph-node to my local geth node. I’m using this command to connect:

cargo run -p graph-node --release -- --postgres-url postgresql://postgres:postgres@localhost:5432/graph-node --ethereum-rpc mainnet:127.0.0.1:8545 --ipfs 127.0.0.1:8080 --debug

which gives this error:

thread 'main' panicked at 'Failed to connect to Ethereum RPC: Transport("RelativeUrlWithoutBase")', chain/ethereum/src/transport.rs:50:14

geth command used to sync the node:

geth --syncmode fast --cache 2048 --light.maxpeers 0 --datadir "./blockchain-data" --http --http.addr localhost --http.port 8545 --http.api personal,eth,web3,admin,txpool,debug --http.vhosts “*” --ws --ws.addr "0.0.0.0" --ws.port 8546 --ws.origins "*" --ws.api personal,eth,web3,admin,txpool,debug

I’m able to get a response via this web3 test script from the geth node. It properly returns the latest block:

var Web3 = require('web3'); var provider = 'http://127.0.0.1:8545'; var web3Provider = new Web3.providers.HttpProvider(provider); var web3 = new Web3(web3Provider); web3.eth.getBlockNumber().then((result) => { console.log("Latest Ethereum Block is ",result); });

If anyone has any insight into what the problem could be please let me know.

Thomas S. McCabe
@thomasmccabe
If I use --ethereum-rpc mainnet:http://127.0.0.1:8545 instead of --ethereum-rpc mainnet:127.0.0.1:8545 I get this:
Oct 28 02:14:02.198 INFO Connecting to Ethereum..., capabilities: archive, trace, network: mainnet Oct 28 02:14:02.208 DEBG Trying again after net_version RPC call failed (attempt #1) with result Err(Rpc(Error { code: MethodNotFound, message: "the method net_version does not exist/is not available", data: None }))
cjclm7
@cjclm7

at least 300gb just to sync to current block

353GB = 293 chaindata + 160 ancient

Rocky Fikki
@rfikki
@thomasmccabe possibly try adding "net" to the list of your api.
VinothShanmugam
@vinooMj
I am working on POA Private Ethereum, I am using Geth Clique for adding new signer (clique.propose("address", true)) but I got null....please resolve my issue
Thomas S. McCabe
@thomasmccabe
@rfikki Someone in another channel called that out, it fixed that error so thanks for that
Thomas S. McCabe
@thomasmccabe
I'm getting another error now from my local geth node when trying to sync my graph node: DEBG Trying again after eth_call RPC call failed (attempt #1) with result Err(Web3Error(Rpc(Error { code: ServerError(-32000), message: "missing trie node e744cec479311748e40bc8fc68cba3e947ff68dd3be3f51f0404aba79736fc61 (path )", data: None }))), runtime_host: 1/1, block_hash: 0x0ba6f1d7a8daa481acf8c0422f6344bd9e2e871c545615382db784d6110c90a0, block_number: 11140596, subgraph_id: QmQgW6BuCxuUvWmv8Uwe6LExEukudrDDMRhNMuCiUdhFeH, component: SubgraphInstanceManager
Before the above mentioned error is output, the cargo run command used to sync the graph node outputs INFO Syncing 50 blocks from Ethereum., code: BlockIngestionLagging, blocks_needed: 50, blocks_behind: 85, latest_block_head: 11148790, current_block_head: 11148705, network_name: mainnet, component: BlockIngestor so this leads me to believe I'm connected. Also worth noting, I'm seeing on github/stackoverflow that using geth --syncmode full rather than fast potentially fixes the issue. I'm hoping that's not the solution. If anyone has any insight please let me know
cjclm7
@cjclm7
Screenshot from 2020-10-30 16-39-24.png
Got this interesting error message while running ethereum client GETH on testnet (mined one block but then lost it). It is funny the Geth Dev team remembered the include an appropriate emoji for such a awkward event (mine one block then loose it)
cjclm7
@cjclm7
for those waiting the Mainnet Node to be in sync, here an important information: as per today (31Oct2020) you need wait for 1.074.373.695 "Imported New State Entries"
Bravo
@belmix
Hi
i use geth with restriction to RPC [ --rpcaddr "127.0.0.1" ]
how to allow connection multiple ip addresses?
I don't want to open rpc completely [ --rpcaddr "0.0.0.0" ]