Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
visionsky
@visionsky
0x2328ACFF6B5199C97e8D366739fee7de7CaB892B
toptalent130
@toptalent130
hi dear friend
Erik (Weijie) Gao
@balla121
hi im reading the documentation to learn about ethereum
what folder to learn about how smart contracts are created?
Dave Appleton
@DaveAppleton

Are we having problems with ABIGEN?

I am deploying a contract to Mumbai

geth 10.3 : only replay-protected (EIP-155) transactions allowed over RPC
geth 10.4 : net/http: nil Context

Dave Appleton
@DaveAppleton
NVM - 1.4 still has issues, 10.3 we need to use bind.NewKeyedTransactorWithChainID
Hamed Ariyapour
@HAriyapour_twitter
mr30
BlockchainTests/InvalidBlocks/bcEIP1559/badBlocks.json
toptalent130
@toptalent130
hey who are you
PhaD
@PhaD62278555_twitter
Looking for unique and simple ETH address instead of long complicated address? Check out this ETH domain name (sendthateth.eth) in opensea.com
toptaldev93
@toptaldev93
hello friend
toptaldev93
@toptaldev93
I am a react developer.
visionsky
@visionsky
0xbF9eaf5Ab6EEa01e28055131E35C1f941d146120
Blockchain & Smart Contract developer
@lovecodeing1995
what is it?
3 replies
hududed
@hududed
hi all, posted this in remix channel too, so I couldnt connect remix to ganache since it forced https, so I followed https://geth.ethereum.org/docs/getting-started/dev-mode up to geth attach <IPC_LOCATION> - now the connection to https://remix.ethereum.org/ is refused on my chrome / brave browser; I am able to connect to remix.ethereum.org on safari fine. Anyway to solve this?
unicorn-talent
@unicorn-talent
Hello. I want to sync BSC, but it show "Looking for peers" and not sync.
Does anyone know this solution?
unicorn-talent
@unicorn-talent
who know dev-wallet?
andrewpedia
@andrewpedia
Does truffle internally use geth to create private chain
Tug Witt
@tugwitt
are there any resources for how to migrate from the old ethash (https://github.com/ethereum/ethash/) to the new github.com/ethereum/go-ethereum/consensus/ethash?
it doesnt seem like theres a place to verify mixhash/nonce like you can in the old ethash (https://pkg.go.dev/github.com/ethereum/go-ethereum/consensus/ethash)
this is needed specifically for a custom pool in go and i want to verify a miner's work before i submit it via RPC
edugrip
@edugrip
can anyone help in comparing a bytes32 value with a string ?
0x5bda7162b84dff721bcb8f777278b488ded8d1475264d4361c6b0abfcc2a99a8 (type string)
0x5bda7162b84dff721bcb8f777278b488ded8d1475264d4361c6b0abfcc2a99a8 (type bytes32)
now Solidity does not allow explicit conversion and there seems no way to compare them .. any one please help.
kant777
@kant777

Hi Guys, I got a simple question

The Transaction object in go ethereum doesn't seem to have a from address so where do I get it from?

{"type":"0x0","nonce":"0x2f","gasPrice":"0xee6b2800","maxPriorityFeePerGas":null,"maxFeePerGas":null,"gas":"0x62e60","value":"0x0","input":"0x3805550f000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000009a9f909a684091cc380b90120b4ccb56a0b2a09db1e134cb48c3905174b73410d235fa2fe9bbadf7c808eb73cd7b35f1621ffcc1a66947d002bed6822a81153904e2ead321f44f9adfb5505492abfe4d4c7a31a46d75b56d14dd9cca6e64e0f2dbfa2af5e4e452782136825d95e3210a34d2eb6dfd2c63f9d0398ce9fd6061b30695065029f482ced6f280b677ed720730a01341e71d1726b268e2465a636d2d7b37596208ad979c9868ac1cb0c20a6cb2109deed34c187df965d789421d44b71cc0a9a2190e3191097ea1cfa8dc8f305d7d85121890550c5f637e390fe56ba633f407e0dd05de0e9a78f881cb79041386334ff7e5746d4e1cbaa8b8c4278d5410d8e5782cc0a66ca3d67039cc370f188e4cd6263cfc4fe4bca673d346fc9585a09743ca091d280cd7709cbec83fb4ae58460e12f91a0008e82b5be7e7cc45a791316c9e22b98e46f0fa1dcc44a92d196a586bf36d141a0f9183763905aa2d2bc38aeeb730b619030916b067e0ffe8d1188c3936d46c230b902ecf902e90184012f3fcbb9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000100000000000000008000000800000000000000080000100000000000000400000020000000080000000000800000000000000000080000010000000000000000000000000000000000000000000000000000000000000000000200000200000000000000000000000000000800000000000000020000000000000004000800002000000000001000000000000000000000000000000100000000020000000000000004000000000000000000000000000000000000000000000100000f901ddf89b94172370d5cd63279efa6d502dab29171933a610aff863a0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa00000000000000000000000009a83da4aff68643c5215ac6383cc026d90800262a00000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000001dcb1bb11e7cac51ef9013d940000000000000000000000000000000000001010f884a04dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63a00000000000000000000000000000000000000000000000000000000000001010a00000000000000000000000009a83da4aff68643c5215ac6383cc026d90800262a000000000000000000000000041d5b3e2ec53583bc0601dfb4f2a11a392049489b8a00000000000000000000000000000000000000000000000000000166f7760980000000000000000000000000000000000000000000000000006c0f26f814923630000000000000000000000000000000000000000000000fe1990fa3f54c7a1bd00000000000000000000000000000000000000000000000006c0dc0009e88b630000000000000000000000000000000000000000000000fe199110aecc2839bdb9053df9053af8f1a0b0b04b136abd64949ca939acc5b873e5a3ff905ac3a760d79216992c5bf92ee4a0c6235b7ec7fe27aad5bab4804bb314f5012624b4a6b408a47b6f2f1db4a41786a09e9be1557cd39217e354be0ce64aa099ed7a348bbe88b3284d03f1e87e748952a0b33dc9f22253463a62ee9a3a8e03fdf9b86c18af2f534afaf7d3d1a46c8f7b3aa0d54128dd38ea92bb276b16954f441dc65dd6e3a74016bf035cf17a2f73a5a3f1a015eae02b03be6bdb923dc2dfecc2a1d4d216b1eaf1612fb6f6fef8ee96b4c2668080a04e3d500b3c56570ec952ec2f14878c8377f69c972c3dc6b3ffbd55619531a4078080808080808080f90151a07024502d727ca0ca03150ff1e6601a13cd2ba84e01d8f0a02e81f1e9c50ce4f2a065e2e7f86a43583ae8d7fea54bc6a72b579c7d1b0f6f91aa76219adc9c832a34a061418b01bba645f4ffa3183241268695e3c09bd974b96aafd021ec6af20d8cf1a0397a7be3775f28f3f2c3a8a14672bf4dac51c4f25677c606dbb072f9eee15f0fa06b1dff8ca79df6d5cc92ac0663c75000f7be40770495e6270c1dedf34c3636c7a0004455669aae123fe6716becd88cf4910f2a1111276b4462d97c284143db1836a06c5c688f90dafbc031c5a54d0ce0ada61de8e18d6c2bdf3e44e63b71ee4c70eaa02169694de1808c639cc3d020fed167f34a56908cac551383c767cb18e99d46daa077466c2479ed9e26659e43ed6533732738ac695194ff9b1482493c2e1fd90861a05f899ddee12ce0911004b42c89d714fa997d3a2d5de90f24d7a211a77d3db29780808080808080f902f020b902ecf902e90184012f3fcbb901000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000010000000000000000800000080000000000000008000010000000000000040000002000000008000000000080000000000000000008000001000000000000000000000000000000000000000000000000000000000000000000020000020000000000000000000
Also what function of Transaction struct I need to call to get input? is transaction.Data()
?
phalexo
@phalexo
It appears to be encoded with other data in the input.
kant777
@kant777
what function i need to call to decode?
kant777
@kant777
how do I use abi to decode input or is there any other easier way?
kant777
@kant777
Actually I just need the from just like JSON RPC API . somehow, with ethclient in golang not sure how to achieve
tried this already
msg, err := transaction.AsMessage(types.NewEIP155Signer(transaction.ChainId()), nil)
msg.From().Hex()
I get this
2021/07/05 05:20:40 transaction type not supported
so is there any easy way to get from?
BlockXXebu
@BlockXXebu

i have a question on pendingTransactions API
This line on the geth code

https://github.com/ethereum/go-ethereum/blob/13bc9c0c6e74f36f6f8039d0041fb93740d25a4a/internal/ethapi/api.go#L1805

Why is this API only display the pending transactions of the accounts local to the node? Whats the reasoning behind this?

kant777
@kant777
@BlockXXebu I am not an ethereum expert however I believe pending transactions are always local to a node because of gossip protocol and decentralized nature. other words, there isn't a way to get a global snapshot of all ethereum nodes running all over the world
when a transaction hits a particular node, it will broadcast to its peers (I think in ethereum case it is about 8 or 11 other peers) and those peers will broadcast to their peers and so on..so pending transaction at any give time is going to be different across nodes
what is the difference between txpool vs pending transaction returned by ethclient.TransactionByHash?
BlockXXebu
@BlockXXebu

thanks for the answer @kant777
my question now is, how did etherscan did it to display pending transactions? I believe eth_pendingTransactions is no longer usable as it is also removed in the RPC API definition here
https://eth.wiki/json-rpc/API

I assume they use subscribe, filter or websockets right?

kant777
@kant777
@BlockXXebu I stumbled upon the same link yesterday. And looks like it is not documented in that link see here https://geth.ethereum.org/docs/rpc/pubsub
fomotrader
@fomotrader
Hi guys, I've setup a Geth node for the first time and it's working fine
but I'm really confused about one thing to do with my node
The txpool is filled with transactions from 2 different addresses
as in the txpool queue and txpool pending are mainly full with transactions from just 2 addresses, which seems odd to me
is there a way to limit the number of pending/queued transactions a single address can have?
Tengfei Niu
@spartucus
Hey guys, I don't know if it's the right place to ask, what's the limit of calldata' size?
vlddm
@vlddm
How to disable logging of WARN: Served eth_call ...?
I guess its rpc/handler.go, tried --vmodule=api=0,rpc=0 - no luck
Dnzz0124
@Dnzz0124_twitter
hello
mrb friends i am in a very difficult situation i am in a very difficult situation i have food at home if you can help god be with you please if i am not in a difficult situation i would not want it e erc20 my address is 0x94bd8969538368cef1b45b370324b69e73168c2b