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
Marius van der Wijden
@MariusVanDerWijden
Yes that is in theory possible, however the normal geth does not work that way. You need to modify the source code to make it work.
Unfortunately I can't help you with that. Also a change like this is very unlikely to make it into the upstream repo.
Rafieza
@Rafieza
Hello can I please have some ether. 0x79c5fe7D568D6Eb605f99Da581621003fAAfE84e Thank you
Konstantin P.
@CooleRnax
I'm running uniswap arbitrage strategies, if anyone interested in collaboration, pm me.
Hooliganos
@Hooliganos
0xE099550D299777e41f6028f5761a68b45A1f96aC Please, I need test ETH
RED29
@RED29
Hi friends, I have a quick question here. I hope some could help me out.
I am running a local Geth full node, with "--rpcapi eth,net,web3,txpool". Running uniswap local is working excellent. Running balancer pool information it gives me errors JSON RPC. "Failure querying onchain balances" . Running a infura node in balancer and everything's works. Am I missing some arguments for my local node? Maybe wss ? Could someone post me an example? Also I want graphql enabled so I can run a local blockchain. Thanks
pleasant-doraemon
@mingjingc
Hello everyone, how to use EVM Cmd test without deploy a smartcontract ?
Chris Piatt
@pyython
running into an issue with a Geth node I'm running on Kubernetes. The discovery port is set to 1024 instead of 30303 as is standard and intended in this case. I'm now explicitly passing in the --port=30303 flag, but it's not resolving the issue. I'm using a persistent disk for the chaindata, so I'm thinking there's some config file where I could modify to change the discovery port back to 30303 manually there. Is this the case? And where would I find this file/setting? If not, any other suggestions for how to resolve this issue?
workfilemmfloe
@workfilemmfloe
Jianru Lin
@Jianru-Lin
hi
Roshan
@roshanr95
Hey guys, does the metrics endpoint (--metrics --pprof) work for light clients? All the metrics seem to return 0...
Ravikant sharma
@ravi99609680_twitter
Hey friends
John Krueger
@jkrueger721
hello
Antony Luvera
@_Anarz_twitter

Hello, would someone have a solution for this problem ?

https://ethereum.stackexchange.com/questions/88167/pending-transactions-logs-issue

IK
@thor-ragnarok
@_Anarz_twitter logs are not saved in the DB until the block is fully formed and mined so there is no native way to access logs of pending transactions - one solution i can think of is making a modified endpoint which will be similar to eth_call but will return the full execution result (and maybe some other things) rather than just the rlp encoded return variable
Antony Luvera
@_Anarz_twitter
@thor-ragnarok Thank you for your answer. So the logs are not saved in the db and therefore are not accessible by the API but they do exist, don't they? Insofar as the pending block is created by the node on which mining is activated, it must have "simulated" the execution of these transactions and therefore have generated logs that are located somewhere, right?
Antony Luvera
@_Anarz_twitter
@thor-ragnarok Does something like this should work as a custom endpoint?
func (s *PublicBlockChainAPI) GetPendingLogs(ctx context.Context) ([]*types.Log, error) {
    state, _, err := s.b.StateAndHeaderByNumberOrHash(ctx, rpc.PendingBlockNumber)
    if state == nil || err != nil {
        return nil, err
    }
    return state.Logs(), state.Error()
}
IK
@thor-ragnarok
@unflores Yes something like this - i am not so familiar with this codebase though...
@_Anarz_twitter ^ dry pinged the wrong person -.-
Sry* - and I have fat fingers
Christian Seberino
@cseberino
Anyone know about full stack solutions to actually roll out a token? What I mean is....I know how to deploy an ERC20 smart contract...However, I think you'd agree there are tons of other parts to the execution if someone like a restaurant wants to do their own coin!? Like.....How sell the tokens in a secure manner to the public? How implement something like gift cards? What wallet to use? etc. Any advice?
Sagato
@Sagato
Hello Peepz
Sagato
@Sagato
I started a geth node on my win machine and am trying to connect via web3.js from my mac to the node on my windows machine. How do I get the connection established? AAnyone here who can help?
Sagato
@Sagato
Someone here?
blueghost56
@blueghost56
One network; explore node ip
Ravikant sharma
@ravi99609680_twitter
Ravikantcool2019/github.io
Lucas-gif845
@Lucas-gif845
my ethereum wallet
Jaynti Kanani
@jdkanani

@holiman On the private network, we have contract code as genesis contract. We want to update it in the running network. We are thinking it following way:

Add new field in genesis say contract_alloc and it will have block number n, contract address, and new code. At n block, it will take in affect at give contract address and remains after that nth block. To do so, we have to change the state DB.

Do you think is it the right approach? If yes, when and where should we make state DB changes? In engine.finalize of n-1?

Eth-Gitter-Bridge
@Eth-Gitter-Bridge
<M H Swende (holiman)> Well, of you have your own network and your own forked geth and control the nodes, sure, seems pretty simple to just swap out the code, technically.
<M H Swende (holiman)> I'd recommend to use our discord channel instead, we usually don't really monitor this channel
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.