Arpit Temani
7f727cb65d
skip tests
2023-09-22 17:03:17 +05:30
Arpit Temani
4e3bcbc90d
fix testcases
2023-09-21 21:07:50 +05:30
Arpit Temani
cc2c27dbd3
fix linters
2023-09-21 10:50:01 +05:30
Arpit Temani
046030df1f
merge latest develop
2023-09-20 21:56:08 +05:30
Arpit Temani
8653c83007
fix test-integration
2023-09-20 21:44:07 +05:30
Arpit Temani
3626e5f7e4
fix testcase syntax
2023-09-20 15:57:37 +05:30
marcello33
3344026585
internal/ethapi: sort imports in api_test
2023-09-11 10:29:18 +02:00
marcello33
c1aa41d28c
internal/ethapi: fix linter
2023-09-11 09:50:44 +02:00
marcello33
eab7c9de0d
internal/ethapi: use receipt inner field for check and implement tests
2023-09-11 09:06:06 +02:00
Arpit Temani
d3c5bc9b45
fix build
2023-08-21 17:48:09 +05:30
Arpit Temani
b343cffdb4
merge geth v1.12.2 into develop
2023-08-18 14:05:34 +05:30
Péter Szilágyi
811a674059
all: update golang/x/ext and fix slice sorting fallout ( #27909 )
...
The Go authors updated golang/x/ext to change the function signature of the slices sort method.
It's an entire shitshow now because x/ext is not tagged, so everyone's codebase just
picked a new version that some other dep depends on, causing our code to fail building.
This PR updates the dep on our code too and does all the refactorings to follow upstream...
2023-08-12 00:19:12 +02:00
Amin Talebi
eeebb07c73
internal/ethapi: add state override to estimateGas ( #27845 )
2023-08-07 16:03:57 +02:00
Felix Lange
bb148dd342
core/types: support yParity field in JSON transactions ( #27744 )
...
This adds support for the "yParity" field in transaction objects returned by RPC
APIs. We somehow forgot to add this field even though it has been in the spec for
a long time.
2023-08-05 00:54:55 +02:00
Delweng
5d035043ea
internal/ethapi: add more testcase for GetTransactionReceipt ( #27527 )
...
* internal/ethapi: testBackend reuse the same db
Signed-off-by: jsvisa <delweng@gmail.com>
* internal/ethapi: implment GetTransaction
Signed-off-by: jsvisa <delweng@gmail.com>
* internal/ethapi: implement GetReceipts
Signed-off-by: jsvisa <delweng@gmail.com>
* internal/ethapi: insert receipts and setup txlookup
Signed-off-by: jsvisa <delweng@gmail.com>
* internal/ethapi: add simple success tx receipt test
Signed-off-by: jsvisa <delweng@gmail.com>
* internal/ethapi: add case create contract
Signed-off-by: jsvisa <delweng@gmail.com>
* internal/ethapi: add contract call receipt
Signed-off-by: jsvisa <delweng@gmail.com>
* internal/ethapi: add tx notfound
Signed-off-by: jsvisa <delweng@gmail.com>
* internal/ethapi: add dynamic fee testcase
* internal/ethapi: add accessList receipt
* internal/ethapi: no need to insert receipt chain, no error
* internal/ethapi: use HeaderByHash instead
* internal/ethapi: add one more case
---------
Signed-off-by: jsvisa <delweng@gmail.com>
2023-07-13 06:47:32 -04:00
Delweng
aecf3f9579
internal/blocktest: add package for shared test code ( #27270 )
2023-07-11 14:57:02 +02:00
Dan Laine
87e510d963
internal/ethapi, les: use slices package for sorting ( #27492 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
2023-06-19 11:33:48 +02:00
Péter Szilágyi
d40a255e97
all: move main transaction pool into a subpool ( #27463 )
...
* all: move main transaction pool into a subpool
* go.mod: remove superfluous updates
* core/txpool: review fixes, handle txs rejected by all subpools
* core/txpool: typos
2023-06-16 15:29:40 +03:00
marcello33
f3ffacf2d7
dev: fix: most of wsl lint issues
2023-06-15 15:48:26 +02:00
hero5512
5ac4da3653
internal/ethapi: remove error return on RPCMarshalBlock ( #27449 )
...
rm error when marshal block to rpc type allen
2023-06-13 03:02:11 -04:00
Delweng
c57b3436f4
internal/ethapi: add more testcases for block/header rpc ( #27325 )
...
Signed-off-by: jsvisa <delweng@gmail.com>
Co-authored-by: Sina Mahmoodi <1591639+s1na@users.noreply.github.com>
2023-05-29 08:52:08 -04:00
Delweng
6e3aa86a2b
internal/ethapi: minor refactor in block serialization ( #27268 )
2023-05-16 10:40:47 +02:00
makcandrov
dffd804ca2
internal/ethapi: remove unused err-return ( #27240 )
2023-05-11 08:23:47 -04:00
Sina Mahmoodi
ae66009640
internal/ethapi: add block overrides to eth_call ( #26414 )
...
Adds an optional config parameter to eth_call which allows users to override block context fields (same functionality that was added to traceCall in #24871 )
---------
Co-authored-by: Martin Holst Swende <martin@swende.se>
2023-05-02 04:28:43 -04:00
Péter Szilágyi
bbc565ab05
core/types, params: add blob transaction type, RLP encoded for now ( #27049 )
...
* core/types, params: add blob transaction type, RLP encoded for now
* all: integrate Cancun (and timestamp based forks) into MakeSigner
* core/types: fix 2 back-and-forth type refactors
* core: fix review comment
* core/types: swap blob tx type id to 0x03
2023-04-21 12:52:02 +03:00
Adrian Sutton
39be753bf5
internal/ethapi: add tests for transaction types JSON marshal/unmarshal ( #26667 )
...
Checks that Transaction.MarshalJSON and newRPCTransaction JSON output can be parsed by Transaction.UnmarshalJSON
---------
Co-authored-by: Martin Holst Swende <martin@swende.se>
2023-03-07 05:26:19 -05:00