Commit graph

14220 commits

Author SHA1 Message Date
Sina Mahmoodi
b0e78695f5 Rename block override field names 2023-09-04 12:28:56 +02:00
Sina Mahmoodi
d4e332e268 fix storage clearing 2023-08-03 16:20:17 +02:00
Sina Mahmoodi
c5e33fac0e test coinbase 2023-08-02 13:04:49 +02:00
Sina Mahmoodi
6845b5eff6 add optional validation of txes 2023-08-01 17:26:00 +02:00
Sina Mahmoodi
fd786c081f rename to moveToAddress 2023-08-01 12:48:31 +02:00
Sina Mahmoodi
80506eaa9c rename blocks to blockStateCalls 2023-07-31 15:48:03 +02:00
Sina Mahmoodi
63f4f6e5a8 rm ecrecover override field 2023-07-31 15:37:38 +02:00
Sina Mahmoodi
5d351c9f33 add testcase moveto precompile 2023-07-31 15:27:01 +02:00
Sina Mahmoodi
2c25ab65b8 add todo comments 2023-07-24 17:24:40 +02:00
Sina Mahmoodi
9aed710aa9 copy storage over in MoveTo 2023-07-18 17:08:54 +02:00
Sina Mahmoodi
b3efbad585 implement precompile override and moveTo feature 2023-07-18 15:26:17 +02:00
Sina Mahmoodi
6a2c96c490 add storage clearing test case for eth_call 2023-07-18 15:17:56 +02:00
Sina Mahmoodi
da3102e5ae persist precompiles in evm 2023-07-17 16:01:52 +02:00
Sina Mahmoodi
b865824787 name tests 2023-07-17 16:01:12 +02:00
Sina Mahmoodi
98882fc279 blockhash = keccak(blockNum) 2023-07-13 18:16:48 +02:00
Sina Mahmoodi
a7af5a9002 wrap params into an object 2023-07-13 18:06:40 +02:00
Sina Mahmoodi
d23eb894d6 Add status field to call result 2023-07-13 16:03:52 +02:00
Sina Mahmoodi
637acc5fa1 Finalise state after call, add selfdestruct test 2023-07-13 15:17:14 +02:00
Sina Mahmoodi
8fff7fd101 return block info except blockhash 2023-07-03 18:07:36 +02:00
Sina Mahmoodi
c78330d32c rename to multicallV1 2023-06-30 17:22:32 +02:00
Sina Mahmoodi
04965a36a0 fix marshaling of empty values 2023-06-15 15:27:01 +02:00
Sina Mahmoodi
2db37b9471 minor 2023-06-08 16:53:38 +02:00
Sina Mahmoodi
0aaaf34825 forgot the tracer 2023-06-08 16:52:33 +02:00
Sina Mahmoodi
2ae2fe50d0 add transfers 2023-06-08 16:47:55 +02:00
Sina Mahmoodi
4478f20135 add method to web3ext 2023-06-08 10:43:58 +02:00
Sina Mahmoodi
80bcb16e88 check block nums are in order 2023-06-06 22:41:23 +02:00
Sina Mahmoodi
922f72c6de test block override defaults to base 2023-06-06 22:11:03 +02:00
Sina Mahmoodi
c301ce432d add state buildup test 2023-06-06 21:54:17 +02:00
Sina Mahmoodi
0285f81af3 dont abort on call validation error 2023-06-06 21:51:59 +02:00
Sina Mahmoodi
a21920617b forgot to commit other files 2023-06-06 13:35:57 +02:00
Sina Mahmoodi
c3f149425a add ecrecover override 2023-06-06 11:16:37 +02:00
Sina Mahmoodi
80df50db7e add test case for logs 2023-06-05 13:09:38 +02:00
Sina Mahmoodi
62d33d5a60 internal/ethapi: add multicall method 2023-05-26 18:19:41 +02:00
Delweng
6e3aa86a2b
internal/ethapi: minor refactor in block serialization (#27268) 2023-05-16 10:40:47 +02:00
joohhnnn
c2148c644d
core/asm: remove unused return value (#27272) 2023-05-16 10:14:04 +02:00
oseau
7369752999
rpc: websocket should respect the "HTTP_PROXY" by default (#27264)
rpc: the default dialer for websocket should respect the proxy environment variables like "HTTP_PROXY"
2023-05-15 08:48:06 +03:00
Justin Traglia
9ca84e6b0b
crypto/kzg4844: upgrade c-kzg-4844 to v0.2.0 (#27257)
Upgrade c-kzg-4844 to v0.2.0
2023-05-12 20:16:14 +03:00
Péter Szilágyi
1982437259
core/types: un-ssz blob txs, add json marshalling and tweaks (#27256) 2023-05-12 20:14:29 +03:00
makcandrov
dffd804ca2
internal/ethapi: remove unused err-return (#27240) 2023-05-11 08:23:47 -04:00
zhiqiangxu
0b66d47449
internal/ethapi: make EstimateGas use latest block by default (#24363)
* EstimateGas should use LatestBlockNumber by default

* graphql: default to use latest for gas estimation

---------

Co-authored-by: Martin Holst Swende <martin@swende.se>
2023-05-11 08:23:05 -04:00
Exca-DK
a340721aa9
metrics: use sync.map in registry (#27159) 2023-05-11 05:39:13 -04:00
rjl493456442
a14301823e
all: new empty trie with types.EmptyRootHash instead of null (#27230) 2023-05-11 10:19:42 +03:00
Guillaume Ballet
7577b9c28f
core/state: unexport NodeIterator (#27239) 2023-05-11 10:15:44 +03:00
ucwong
d17ec0ea66
ethdb/memorydb: init map with known size (#27241)
ethdb:init map with known size
2023-05-11 10:13:25 +03:00
Delweng
c8b0afb2c4
ethclient: acquire the rpc.Client (#27246)
Signed-off-by: jsvisa <delweng@gmail.com>
2023-05-11 10:09:16 +03:00
Péter Szilágyi
2169fa343a
crypto/kzg4844: pull in the C and Go libs for KZG cryptography (#27155)
* cryto/kzg4844: pull in the C and Go libs for KZG cryptography

* go.mod: pull in the KZG libraries

* crypto/kzg4844: add basic becnhmarks for ballpark numbers

* cmd, crypto: integrate both CKZG and GoKZG all the time, add flag

* cmd/utils, crypto/kzg4844: run library init on startup

* crypto/kzg4844: make linter happy

* crypto/kzg4844: push missing file

* crypto/kzg4844: fully disable CKZG but leave in the sources

* build, crypto/kzg4844, internal: link CKZG by default and with portable mode

* crypto/kzg4844: drop verifying the trusted setup in gokzg

* internal/build: yolo until it works?

* cmd/utils: make flag description friendlier

Co-authored-by: Martin Holst Swende <martin@swende.se>

* crypto/ckzg: no need for double availability check

* build: tiny flag cleanup nitpick

---------

Co-authored-by: Martin Holst Swende <martin@swende.se>
2023-05-10 14:54:14 +03:00
ucwong
ae7db289b8
p2p: initialize maps with known size (#27229) 2023-05-10 10:52:26 +02:00
Seungbae Yu
a742943c78
node: fix typos in comments (#27236) 2023-05-10 10:42:55 +02:00
ucwong
0fb1be0930
event: initialize maps with known size (#27233)
event: initialize maps with known size
2023-05-09 15:29:32 -04:00
Guillaume Ballet
c62da24dce
cmd/utils: report the blocknumber when block import fails (#27213)
When block import fails, the error displays the number of the first block past the import batch, not the number of the failing block. This change fixes this problem by identifying which blocks fails and reporting its number.
2023-05-09 03:57:42 -04:00