Commit graph

16624 commits

Author SHA1 Message Date
Arpit Temani
9c1308818c make blobgas nil 2023-11-10 14:29:27 +05:30
Arpit Temani
073bb183da make blobgas nil 2023-11-10 14:22:14 +05:30
Delweng
e38b9f1830
eth/filters: exit early if topics-filter has more than 4 topics (#28494)
Currently, geth's will return `[]` for any `len(topics) > 4` log filter. The EVM only supports up to four logs, via LOG4 opcode, so larger criterias fail. This change makes the filter query exit early in those cases.
2023-11-10 08:10:03 +01:00
Arpit Temani
38c0431812 Merge branch 'arpit/pos-1731' of github.com:maticnetwork/bor into arpit/pos-1731 2023-11-09 22:18:56 +05:30
Arpit Temani
3be856ce7e remove blobpool 2023-11-09 22:16:38 +05:30
Pratik Patil
b889327a3a
Merge branch 'arpit/pos-1731' of https://github.com/maticnetwork/bor into arpit/pos-1731 2023-11-09 22:05:03 +05:30
Arpit Temani
bee537ab98 fix lint 2023-11-09 21:19:27 +05:30
Arpit Temani
cee2c221b2 disbale 4844 2023-11-09 20:43:18 +05:30
Arpit Temani
3d84c4d270 Merge branch 'arpit/pos-1731' of github.com:maticnetwork/bor into arpit/pos-1731 2023-11-09 20:19:14 +05:30
Jim McDonald
f7dde2a96c
ethdb/pebble: add Errorf function to panicLogger (#28491)
cockroachdb/pebble@422dce9 added Errorf to the Logger interface, this change makes it possible to compile geth with that version of pebble by adding the corresponding method to panicLogger.
2023-11-09 15:15:22 +01:00
Arpit Temani
cf18eccee6
Merge pull request #1079 from maticnetwork/v1.1.0-beta-candidate
merge V1.1.0-beta-candidate to master
2023-11-09 18:25:01 +05:30
Arpit Temani
3106cb143b Revert "change withdrawals hash"
This reverts commit cd5a7d3391.
2023-11-09 18:09:39 +05:30
Shivam Sharma
654d269dd7 bump : version to v1.1.0 stable 2023-11-09 17:26:16 +05:30
Shivam Sharma
5b5ea8cf37 add : mainnet Agra block 2023-11-09 17:25:05 +05:30
Arpit Temani
cd5a7d3391 change withdrawals hash 2023-11-09 16:36:21 +05:30
Martin Holst Swende
b77a9b127c
cmd/geth: more testcases for logging (#28501)
* cmd/geth: more testcases for logging

This adds more edgecases around logging, particularly around handling of different types of nil-values
as concrete types and within interfaces.

Also adds tests with 'reserved' values which breaks json/logfmt formats. The json output is checked in,
but not actively used by any testcase at the moment.

* cmd/geth/testdata: remove timestamps
2023-11-09 10:46:48 +01:00
Pratik Patil
15f0c41d2c
aded blobpool related flags 2023-11-09 15:04:28 +05:30
Delweng
7ea860d665
graphql: type of yParity from Long to BigInt (#28456)
Signed-off-by: jsvisa <delweng@gmail.com>
2023-11-09 11:36:27 +03:00
Manav Darji
c66862aa09
Merge pull request #1062 from maticnetwork/v1.1.0-beta-candidate
Merge v1.1.0 changes to master
2023-11-09 12:31:49 +05:30
Pratik Patil
368ae246fd
added p2p v4 discovery flag wrt geth v1.12.2 merge 2023-11-08 17:44:35 +05:30
Pratik Patil
6aed36d9d1
removed --cache.trie.journal and --cache.trie.rejournal wrt geth v1.12.2 merge 2023-11-08 17:11:54 +05:30
Pratik Patil
ae99b47a7c
update config.toml with correct db.engine flag 2023-11-08 17:07:30 +05:30
Pratik Patil
aa604a6744
added conditional transaction filtering in legacypool 2023-11-08 16:23:43 +05:30
Péter Szilágyi
470dba8fc1
core/vm: set basefee to 0 internally on eth_call (#28470)
* core/vm: set basefee to 0 internally on eth_call

* core: nicer 0-basefee, make it work for blob fees too

* internal/ethapi: make tests a bit more complex

* core: fix blob fee checker

* core: make code a bit more readable

* core: fix some test error strings

* core/vm: Get rid of weird comment

* core: dict wrong typo
2023-11-08 11:22:08 +02:00
Marius van der Wijden
4d9f3cd5d7
eth: set networkID to chainID by default (#28250)
Co-authored-by: Felix Lange <fjl@twurst.com>
2023-11-07 14:21:46 +01:00
Delweng
f20b334f21
eth/filters: eth_getLogs fast exit for invalid block range (#28386) 2023-11-07 12:41:19 +01:00
Péter Szilágyi
97ae32441e
travis: use newer builder image (#28475) 2023-11-07 13:00:31 +02:00
Péter Szilágyi
51b5ad3da3
.travis: enable cross building to macos arm64 (#28474)
Co-authored-by: Felix Lange <fjl@twurst.com>
2023-11-07 11:35:03 +01:00
Léo Vincent
22a2b63df6
chore: improve bor server --help (#1063)
* chore: update `txarrivalwait` flag description

* chore: update docs

* chore: update other flags

* fix: doc generation is now deterministic

* chore: remove debug

* feat: sort options in `bor server --help`

* fix: prealloc array

* fix: lint issues

* internal/cli: remove nolint

---------

Co-authored-by: marcello33 <marcelloardizzone@hotmail.it>
Co-authored-by: Manav Darji <manavdarji.india@gmail.com>
2023-11-07 10:57:18 +05:30
Péter Szilágyi
e91cdb49be
ethclient: fix forwarding 1559 gas fields (#28462) 2023-11-03 19:40:37 +02:00
Alvaro Sevilla
b1cec853be
eth/tracers: add position field for callTracer logs (#28389)
Currently, one can use the "withLogs" parameter to include logs in the
callTracer results, which allows the user to see at which trace level
was each log emitted.
This commit adds a position field to the logs which determine
the exact ordering of a call's logs and its subcalls. This would
be useful e.g. for explorers wishing to display the flow of execution.

Co-authored-by: jsvisa <delweng@gmail.com>
2023-11-03 10:28:27 +01:00
Arpit Temani
1483c960ed merge develop 2023-11-03 10:10:02 +05:30
Ulaş Erdoğan
738107b6c8 crypto/secp256r1: remove malleability check due to spec
(cherry picked from commit cec0b05811)
2023-11-03 09:33:50 +05:30
Ulaş Erdoğan
ab2f20e8dd crypto/secp256r1: reject the reference pubKey coordinates
(cherry picked from commit 98f10b0d5e)
2023-11-03 09:33:36 +05:30
Ulaş Erdoğan
2bbf30ff90 core/vm: force the input length of p256verify
(cherry picked from commit 21f4932c9b)
2023-11-03 09:33:22 +05:30
Ulaş Erdoğan
d64d8e73c1 crypto/secp256r1: refactor by simplfying return
(cherry picked from commit 1be1875156)
2023-11-03 09:33:08 +05:30
Ulaş Erdoğan
0d115db168 core, crypto/secp256r1: fix error reverts tx error
(cherry picked from commit 2820903f59)
2023-11-03 09:32:56 +05:30
Ulaş Erdoğan
b5559e3018 core/vm: update the eip number
(cherry picked from commit f5b6d7e995)
2023-11-03 09:32:40 +05:30
Ulaş Erdoğan
40e6de0bf2 core/vm: fix testdata non-malleable for p256Verify
(cherry picked from commit ec17e788ad)
2023-11-03 09:31:20 +05:30
Ulaş Erdoğan
fc057aaabb crypto/secp25r1: fix reverse malleability issue
(cherry picked from commit 066a31f634)
2023-11-03 09:31:08 +05:30
Ulaş Erdoğan
83a20d36ec core/vm: simplify the return values format
(cherry picked from commit d245194e77)
2023-11-03 09:30:56 +05:30
Ulaş Erdoğan
ae2d3da5c1 core/vm, params: rename precompiled to p256verify
(cherry picked from commit 6c7028a904)
2023-11-03 09:30:42 +05:30
Ulaş Erdoğan
56f193346e params: add new precompiled gas price
(cherry picked from commit c0554c0764)
2023-11-03 09:30:32 +05:30
Ulaş Erdoğan
cdb96096d8 core/vm: implement secp256r1 verifier precompiled
(cherry picked from commit a8c0a2e05c)
2023-11-03 09:30:21 +05:30
Ulaş Erdoğan
9956fdfc99 crypto/secp2561r1: add secp256r1 curve verifiers
(cherry picked from commit fb89b61cdc)
2023-11-03 09:30:08 +05:30
Arpit Temani
bc338be57b
Merge pull request #1068 from maticnetwork/v1.1.0-beta-candidate
Merge V1.1.0 beta candidate to 'develop'
2023-11-02 16:47:53 +05:30
Shivam Sharma
6169648537 fix : lint 2023-11-02 15:28:41 +05:30
lmittmann
a3be38127c
core/vm: performance tweak of OpCode.String() (#28453)
make `opCodeToString` a `[256]string` array

Co-authored-by: lmittmann <lmittmann@users.noreply.github.com>
2023-11-02 08:54:28 +02:00
Arpit Temani
b3f4b0b982
Merge pull request #1067 from maticnetwork/shivam/prevrandao-hotfix
rm : prevrandao
2023-11-01 00:46:46 +05:30
Shivam Sharma
953039d1c0 rm : prevrandao 2023-11-01 00:44:16 +05:30