Commit Graph

14481 Commits

Author SHA1 Message Date
vdwijden b0d44338bb
eth: implement eth/68 (#25980)
* eth: implement eth/68

* eth/protocols/eth: added tx size to announcement

* eth/protocols/eth: check equal lengths on receiving announcement

* eth/protocols/eth: add +1 to tx size because of the type byte

* eth: happy lint, add eth68 tests, enable eth68

* eth: various nitpick fixes on eth/68

* eth/protocols/eth: fix announced tx size wrt type byte

Co-authored-by: MariusVanDerWijden <m.vanderwijden@live.de>
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2022-10-31 16:23:26 +02:00
Nicolas Gotchac 5329aa3786
Fix trace call for inner reverts (#25971)
Inner call reverts will now return the reason similar to the top-level call. Separately, if top-level call is of type CREATE and it fails, its `to` field will now be cleared to `0x00...00` instead of being set to the created address.
2022-10-31 12:20:21 +03:30
s7v7nislands fb4a97f33f
rpc: update docstring (#26072)
Co-authored-by: seven <seven@nodereal.io>
2022-10-31 09:42:25 +01:00
Joe db739be2d4 update account management 2022-10-28 15:01:54 +01:00
Joe a0462584a8 update wording "directly -> "exclusively" 2022-10-28 14:51:10 +01:00
rjl493456442 2c1af8b1ec
cmd, eth: implement full-sync tester (#26035)
This PR adds a parameter to startup, --synctarget. The synctarget flag is a developer-flag, that can be useful in some scenarios as a replacement for a CL node. It defines a fixed block sync target:

geth --syncmode=full --synctarget=./block_15816882.hex_rlp 

The --synctarget is only made available during syncmode=full
2022-10-28 14:48:08 +02:00
Joe 3b7f62d849 add account management with clef page 2022-10-28 13:30:46 +01:00
Sina Mahmoodi 0f4942214d
eth/tracers: fix gasUsed for native and JS tracers (#26048)
* eth/tracers: fix gasUsed in call tracer

* fix js tracers gasUsed

* fix legacy prestate tracer

* fix restGas in test

* drop intrinsicGas field from js tracers
2022-10-28 12:28:29 +02:00
lightclient fbdeff99ce
cmd/evm: calc base fee if parent data is present (#26051)
Currently, in order to chain together sequential valid t8n transitions the caller must manually calculate the block base fee. This PR adds support for the necessary parent fee market data to calculate the base fee for the current transition.

Concretely, env is extended to accept the following:

    parentBaseFee
    parentGasUsed
    parentGasLimit

Example usage can be found in ./cmd/evm/testdata/25.

Co-authored-by: Martin Holst Swende <martin@swende.se>
2022-10-28 12:25:37 +02:00
rjl493456442 60e30a940b
core/rawdb: refactor db inspector for extending multiple ancient store (#25896)
This PR ports a few changes from PBSS:

- Fix the snapshot generator waiter in case the generation is not even initialized
- Refactor db inspector for ancient store
2022-10-28 10:23:49 +02:00
Joe f7c8e8a2eb make consistent with pr to old site 2022-10-27 16:39:53 +01:00
Joe 15ef3b64f8 Merge branch 'master' of https://github.com/ethereum/geth-website 2022-10-27 15:51:14 +01:00
Joe a4e7318a86 rm `personal` methods from JS page 2022-10-27 15:50:53 +01:00
Joe 56f59978d6 add contract deployment page 2022-10-27 15:27:55 +01:00
Martin Holst Swende a1fc0d8144
eth/filters: change filter block to be by-ref (#26054)
This PR changes the block field in the filter to be a pointer, to disambiguate between empty hash and no hash
2022-10-27 15:25:01 +02:00
Martin Holst Swende 9d795d0836
core/vm: use optimized bigint (#26021) 2022-10-27 10:39:01 +02:00
Jakub Freebit 4984c4e63f
build: make ios work again (#26052) 2022-10-27 11:23:11 +03:00
Guillaume Ballet 0c66d971e7
accounts/scwallet: fix keycard data signing error (#25331)
accounts/scwallet: fix keycard data signing
2022-10-27 10:06:28 +02:00
Péter Szilágyi 7496ad8edc
Merge pull request #26049 from sandakersmann/master
build: upgrade -dlgo version to Go 1.19.2
2022-10-27 11:01:12 +03:00
Corwin Smith 876034749f
Merge pull request #19 from ethereum/footer
Footer
2022-10-26 22:54:51 +02:00
Corwin Smith 6f719286dd change requests for cleanup 2022-10-26 14:53:04 -06:00
Corwin Smith 0ff5f8ea5a Merge branch 'master' into footer 2022-10-26 12:58:19 -06:00
Corwin Smith 813f1134b2
Update Header.tsx 2022-10-26 12:57:40 -06:00
Corwin Smith f251885569 Merge branch 'master' into footer 2022-10-26 12:54:38 -06:00
Corwin Smith 74bafa2620
Merge pull request #21 from ethereum/fixBorder
change color back, address later
2022-10-26 20:54:12 +02:00
Corwin Smith e663ca4132 change color back, address later 2022-10-26 12:53:53 -06:00
Corwin Smith bfcf91fa31 Merge branch 'master' into footer 2022-10-26 12:36:31 -06:00
Corwin Smith 45cfc58c9f
Merge pull request #20 from ethereum/header-desktop-layout
feat: homepage desktop layout & header component
2022-10-26 20:25:04 +02:00
Corwin Smith 5e48829712 cleanup 2022-10-26 12:23:25 -06:00
Corwin Smith e70b660c0c button hover in header 2022-10-26 12:14:03 -06:00
Corwin Smith 121de87465 style fixes 2022-10-26 12:10:15 -06:00
Marius Kjærstad 1d0c4e27bf
build: upgrade -dlgo version to Go 1.19.2 2022-10-26 14:49:12 +02:00
Péter Szilágyi c4a662176e
core, eth: for types with accurate size calcs, return uint64, not float (#26046)
* core, eth: for types with accurate size calcs, return uint64, not float

* core/types: proper tx size tests

* core/types: extend tx size test with decoded sizes, fix error

* core/txpool: fix linter

Co-authored-by: Martin Holst Swende <martin@swende.se>
2022-10-26 15:23:07 +03:00
Péter Szilágyi 5bed24dd77
Merge pull request #26044 from karalabe/rename-typed-tx-files
core/types: rename tx files to group them better together
2022-10-26 13:51:46 +03:00
Péter Szilágyi 68ba845bb5
core/types: rename tx files to group them better together 2022-10-26 13:30:51 +03:00
Corwin Smith 7e23558b95 Wrap up header and home hero 2022-10-25 20:56:07 -06:00
Corwin Smith e6981c1741 add @chakra-ui/icons package 2022-10-25 20:24:49 -06:00
Nicolás Quiroz 8477cc30c4 feat: homepage desktop layout & header component 2022-10-25 19:10:19 -05:00
Corwin Smith e682ab41e3
Merge branch 'master' into footer 2022-10-25 23:03:00 +02:00
Corwin Smith 556268297d finish footer 2022-10-25 14:58:25 -06:00
Péter Szilágyi a2b7481b78
Merge pull request #26038 from karalabe/split-txpool
all: refactor txpool into it's own package in prep for 4844
2022-10-24 20:30:33 +03:00
Joe 357825b2f4 add link to eth api docs to ns_eth 2022-10-24 15:23:46 +01:00
Péter Szilágyi a6dda03644
all: refactor txpool into it's own package in prep for 4844 2022-10-24 16:35:53 +03:00
Joe fbfccced30 purge deprecated testnets 2022-10-24 13:35:52 +01:00
Joe ad2b6317f6 add info on checkpoint sync 2022-10-24 13:30:50 +01:00
Joe f9365d9294 update logs page 2022-10-24 11:55:50 +01:00
Corwin Smith d77761ca6e convert from grid to flex 2022-10-21 12:41:07 -05:00
Martin Holst Swende 5f70f9fd37
eth/tracers: simplify test framework (#25973)
Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
2022-10-21 17:55:15 +02:00
Joe 2e54dccd6d add sina talk to resources 2022-10-21 10:56:13 +01:00
Delweng a404195c7b
eth/tracers: fix the issue prestate missing existing contract state (#25996)
The prestate tracer did not report accounts that existed at a given address prior to a contract being created at that address.

Signed-off-by: Delweng <delweng@gmail.com>
Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
2022-10-21 11:48:53 +02:00