matkt
87e8770c50
Update eth call post 1559 ( #2445 )
...
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
3 years ago
Lucas Saldanha
e92c9bc697
CMS creation/validation logic ( #2340 )
...
* CMS creation/validation logic
Signed-off-by: Lucas Saldanha <lucascrsaldanha@gmail.com>
3 years ago
Daniel Lehrner
ec4db5b7a7
Fix: Native libraries of secp256k1 and alt bn 128 can be disabled ( #2163 )
...
fix disabling of native libraries
Signed-off-by: Daniel Lehrner <daniel@io.builders>
4 years ago
Saravana Perumal Shanmugam
413d62ac5e
PKI module - more testcases and crl file loading support ( #2388 )
...
* Hardware and software keystore tests, crl file load support
added hardware and software keystore file based tests and added support to load crl file in the keystore implementations. the generated keys have 100 year expiry.
Signed-off-by: Saravana Perumal Shanmugam <perusworld@linux.com>
4 years ago
Ratan (Rai) Sur
b080a1228f
update changelog ( #2447 )
...
Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
4 years ago
Daniel Lehrner
8803fcd059
Fix SECP256R1AcceptanceTest ( #2321 )
...
* don't set SECP256R1 as signature algorithm instance in the tests, only use it when the nodes are started as their own processes
Signed-off-by: Daniel Lehrner <daniel@io.builders>
* renamed some variables for better readability
Signed-off-by: Daniel Lehrner <daniel@io.builders>
4 years ago
matkt
c23542a830
Fix nullpointer error with trace_block ( #2386 )
...
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
4 years ago
garyschulte
d40230afaa
ensure test_importRawBlock appends to chain head ( #2434 )
...
Signed-off-by: garyschulte <garyschulte@gmail.com>
4 years ago
Justin Florentine
e94c526692
2004 reduce logging bigints ( #2406 )
...
* seems like a reasonable use for TRACE level instead of DEBUG
* hint to user they should adjust logging if they really want to see the body of the corrupt HELLO
* include actual nodeId length in error message
Signed-off-by: Justin Florentine <jflorentine@gmail.com>
Co-authored-by: Justin Florentine <jflorentine@gmail.com>
Co-authored-by: matkt <karim.t2am@gmail.com>
Co-authored-by: garyschulte <garyschulte@gmail.com>
4 years ago
garyschulte
fd74cbfb74
handle both baseFee and baseFeePerGas in test_setChainParams ( #2427 )
...
Signed-off-by: garyschulte <garyschulte@gmail.com>
4 years ago
garyschulte
7c68d05615
add effectiveGasPrice to TransasctionReceipt ( #2368 )
...
Signed-off-by: garyschulte <garyschulte@gmail.com>
4 years ago
Justin Florentine
f2c869c6c5
added London blocknumbers for testnets ( #2426 )
...
Signed-off-by: Justin Florentine <justin.florentine@consensys.net>
4 years ago
matkt
7120606683
updated eth_sendRawTransaction for EIP1559 transactions ( #2424 )
...
Updated eth_sendRawTransaction to return an error when maxPriorityFeePerGas exceeds maxFeePerGas
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
4 years ago
matkt
1ca3a4d33e
Remove experimental flag for ethstats ( #2405 )
...
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
4 years ago
garyschulte
1772f8b1f8
update to latest reference tests develop branch ( #2399 )
...
Signed-off-by: garyschulte <garyschulte@gmail.com>
4 years ago
mark-terry
974f58848d
Added validation for GoQuorum transactions with value. ( #2400 )
...
* Added validation for GoQuorum transactions with value.
Signed-off-by: Mark Terry <mark.terry@consensys.net>
4 years ago
Ratan (Rai) Sur
7a125b3db9
Better Error Messages and Default ChainId For More Tx Types ( #2401 )
...
Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
4 years ago
garyschulte
285d9cd947
change BlockResult to use baseFeePerGas per eth1 json-rpc spec ( #2392 )
...
Signed-off-by: garyschulte <garyschulte@gmail.com>
4 years ago
Stefan Pingel
b769995fe8
add more tests for the GQ private transaction bloom filters ( #2394 )
...
* add tests for the GQ private transaction bloom filters
Signed-off-by: Stefan Pingel <stefan.pingel@consensys.net>
4 years ago
Ratan (Rai) Sur
de6c10d17f
[Cleanup] Remove Gas Budget Calculator ( #2363 )
...
Since there are no separate gas budgets for eip-1559 and non-eip-1559 txs,
we can return to the simpler method of just comparing against the gas limit.
This is a non-functional change.
Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
4 years ago
Antony Denyer
51287459ab
refactor: EeaSendRawTransaction isolate send raw on/off chain ( #2283 )
...
* refactor: isolate send raw on/off chain
Signed-off-by: Antony Denyer <git@antonydenyer.co.uk>
* Move responsibility of checking restriction type into JsonRpcMethod
Signed-off-by: Antony Denyer <git@antonydenyer.co.uk>
* Refactor: Make use of privacy vs private consistent
Rename s/privacyMarkerTransaction/privateMarkerTransaction/g
Signed-off-by: Antony Denyer <git@antonydenyer.co.uk>
4 years ago
Saravana Perumal Shanmugam
b81a481a42
Add ValidateFirstOutboundMessage just before DeFramer ( #2391 )
...
This takes care of the current requirements as well as provide the possibility of adding other channel handlers before that like for example a TLS handler
Signed-off-by: Saravana Perumal Shanmugam <perusworld@linux.com>
4 years ago
Sally MacFarlane
33a9541eef
eth_getCode: add support for GoQuorum private tx ( #2380 )
...
* eth_getCode try to get from private state first
Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
* add container test for eth_getCode
Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
4 years ago
Vladyslav Lupashevskyi
2b24f43a8a
Implement transitions for IBFT2 block rewards ( #1977 )
...
Signed-off-by: Vladyslav Lupashevskyi <vlad@lupashevskyi.com>
Co-authored-by: Trent Mohay <trent.mohay@consensys.net>
4 years ago
Sally MacFarlane
52d3ac6aa2
CI: use med executor for more steps ( #2381 )
...
* use med executor for more steps
Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
* unit tests need xl
Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
Co-authored-by: mark-terry <36909937+mark-terry@users.noreply.github.com>
4 years ago
Ricardo Silva
a75301b6a9
ci/cd: Require Quorum Acceptance Tests to pass ( #2361 )
...
* ci/cd: Enable the Quorum Acceptance Tests to break the build if the job fails
Signed-off-by: Ricardo Silva <ricardo.silva@consensys.net>
* tidy: remove message about failures ignored
Signed-off-by: Ricardo Silva <ricardo.silva@consensys.net>
Co-authored-by: mark-terry <36909937+mark-terry@users.noreply.github.com>
Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net>
4 years ago
Jason Frame
c047d3c791
QBFT to use fixed IBFT mixhash value for headers ( #2379 )
...
Signed-off-by: Jason Frame <jasonwframe@gmail.com>
4 years ago
Antoine Toulme
b9aaa15d59
Fix flaky OpenTelemetry acceptance test ( #2375 )
...
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
4 years ago
garyschulte
e90cef0f6d
1559 blockchain reftests ( #2374 )
...
* allow transaction pool to accept transactions with maxFeePerGas less than base fee
* make 1559 fields return short hex format instead of 8 bytes zero padded
* update reference tests to latest
Signed-off-by: garyschulte <garyschulte@gmail.com>
4 years ago
garyschulte
75c7e204d0
remove aleut and calaveras from test_setChainParams ( #2366 )
...
Signed-off-by: garyschulte <garyschulte@gmail.com>
4 years ago
Ratan (Rai) Sur
d028c337fc
Remove Separation of EIP-1559 and pre-EIP-1559 Gas Tracking ( #2359 )
...
The segregated tracking was used in an older version of the spec but not anymore.
Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
4 years ago
mark-terry
3e86423457
Tessera Orion-mode privacy ATs ( #2166 )
...
* Refactored privacy ATs to use both Orion and Tessera.
Signed-off-by: Mark Terry <mark.terry@consensys.net>
4 years ago
Ratan (Rai) Sur
82dcdf219c
pending tx logging ( #2360 )
...
Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
4 years ago
matkt
963bc8e954
update CHANGELOG for 21.1.7 release ( #2347 )
...
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
4 years ago
matkt
cc9f14f984
Prepare for version 21.1.8-SNAPSHOT ( #2346 )
...
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
4 years ago
matkt
f031c1719e
21.1.7 release ( #2345 )
...
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
4 years ago
matkt
9a43227587
Add calaveras testnet and remove baikal ( #2343 )
...
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
4 years ago
matkt
3ac621233a
Fix tracing, upfrontgascost and transaction pool issues for london( #2342 )
...
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
Co-authored-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
4 years ago
garyschulte
2cc6778417
use baseFee instead of baseFeePerGas for retesteth genesis config ( #2339 )
...
* use baseFee instead of baseFeePerGas for retesteth genesis config
* update unit test resource
Signed-off-by: garyschulte <garyschulte@gmail.com>
4 years ago
matkt
30c9aaa9b6
Fix invalid trace for CALL operation - ( #2319 )
...
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
4 years ago
Lucas Saldanha
17b2d53aa8
Added PKI module ( #2298 )
...
* Added PKI keystore
Signed-off-by: Lucas Saldanha <lucascrsaldanha@gmail.com>
4 years ago
Ratan (Rai) Sur
68510e500b
Fix consensus vulnerability regarding excessively large 1559 fee fields ( #2338 )
...
based on:
https://github.com/ethereum/pm/issues/321#issuecomment-850230251
Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
4 years ago
Sally MacFarlane
54d0857d3f
Orion info in changelog ( #2322 )
...
* added orion deprecation info
Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
4 years ago
matkt
43fb413e5f
Bonsai trie : clone updater during persist ( #2261 )
...
* clone updater to avoid issue
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* clean code
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* fix roothash calculation
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* fix invalid slot value verification during rollback
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net>
Co-authored-by: garyschulte <garyschulte@gmail.com>
4 years ago
garyschulte
922bff4b9a
update referencetests to latest develop branch ( #2335 )
...
* update referencetests to latest develop branch
* update submodule reference
* get 1559 test cases passing
* fix transaction encoding of 2718 typed transactions
Signed-off-by: garyschulte <garyschulte@gmail.com>
4 years ago
Sally MacFarlane
bc172b285b
ignore multiple private states tests ( #2334 )
...
Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
4 years ago
Sally MacFarlane
d50d728324
ignore spam test ( #2333 )
...
Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
4 years ago
Stefan Pingel
169acc7ed2
add log blooms for quorum private transactions ( #2305 )
...
* add log blooms for quorum private transactions
Signed-off-by: Stefan Pingel <stefan.pingel@consensys.net>
4 years ago
Antoine Toulme
5670264f12
Upgrade OpenTelemetry to 1.2.0 ( #2313 )
...
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net>
4 years ago
Sally MacFarlane
81d4fac8c9
non-existent genesis file: clarify error ( #2320 )
...
* add error message
* added a test for non-existent genesis file
Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
4 years ago