go-ethereum
go-ethereum copied to clipboard
Go implementation of the Ethereum protocol
contract: 0xF1EDBA79FDFbc3ce24A8d9a30c9779A65f9b142A expected: chainid()=513100 ``` /// @dev Returns the chain id used by this contract. function getChainId() public view returns (uint256) { uint256 id; // solhint-disable-next-line no-inline-assembly assembly { id...
Updates because merge is now in the past!
#### System information Geth/v1.10.25-stable-69568c55/linux-amd64/go1.18.6 #### Expected behaviour Switch to full syncmode. #### Actual behaviour Stayed in snap syncmode #### Steps to reproduce the behaviour Sync in syncmode=snap then swith syncmode...
Some optimizations for modexp special cases
Work in progress
This PR implements [EIP-4895: Beacon chain push withdrawals as operations](https://eips.ethereum.org/EIPS/eip-4895). WIP.
This PR ports a few changes from PBSS PR, mainly includes: - track deleted trie nodes - track previous value of nodes - add state root for initializing trie
# Rationale *Context: using go-ethereum as a library to work with ethereum objects.* Currently, when constructing a new `Transaction` object, the only way to do that using go-ethereum as a...
Weird behaviour from geth when putting a client online after it's been offline for a few months. I would really appreciate if someone would explain me what's going on /...