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
matkt
1cb9d2826c
remove EIP1559 Gas budget calculator implementation ( #2318 )
...
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
4 years ago
Antoine Toulme
e53e5c8e85
Add Vijay Michalik to maintainers ( #2304 )
...
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
4 years ago
Antoine Toulme
6159d6625d
Add Sajida Zouarhi to maintainers ( #2303 )
...
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
4 years ago
Nicolas MASSART
b8fc1109e2
update maintainer rules ( #2307 )
...
Signed-off-by: Nicolas MASSART <nicolas.massart@consensys.net>
4 years ago
Sally MacFarlane
b361e15e43
GoQuorum: Gas estimate to cover PMT ( #2311 )
...
* add method to GasCalculator to get max gas for a PMT and use that
Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
4 years ago
Antoine Toulme
61bf0d9cad
Magneto hard fork ( #2315 )
...
* Magneto hard fork
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
* address code review
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
4 years ago
Danno Ferrin
844ea35670
Fork Block Testing ( #2317 )
...
* Fork Block Testing
Add more testing to ensure new fork blocks are configured properly.
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
4 years ago
Ratan (Rai) Sur
f4cea441ea
update changelog ( #2309 )
...
Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
4 years ago
garyschulte
ebfe8a6d4c
errata discovered in 21.1.6 ( #2302 )
...
21.1.6 release errata, handle null baseFee in PendingTransactions, remove slack coefficient from transaction gas budget calculator
Signed-off-by: garyschulte <garyschulte@gmail.com>
4 years ago
Sally MacFarlane
cd88151d2c
GoQuorum ATs: run the estimate gas test ( #2294 )
...
* run the estimate gas test
* Revert "Modify Gas estimation logic for GoQuorum mode (#2282 )"
This reverts commit 3627662f82
.
Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
Co-authored-by: mark-terry <36909937+mark-terry@users.noreply.github.com>
4 years ago
Ratan (Rai) Sur
da9d63d391
Prepare for version 21.1.7-SNAPSHOT ( #2301 )
...
Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
4 years ago
Ratan (Rai) Sur
0923de90d6
21.1.6 release ( #2300 )
...
Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
4 years ago
Ratan (Rai) Sur
4bb65ed87f
EIP-1559 Transaction Pool Sorting ( #2292 )
...
Add transaction sorting as described in
https://hackmd.io/@adietrichs/1559-transaction-sorting
Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
Co-authored-by: Karim TAAM <karim.t2am@gmail.com>
4 years ago
matkt
4fce5aea06
EIP-3554: Difficulty Bomb Delay to December 1st 2021 ( #2289 )
...
* implemented EIP-3554: Difficulty Bomb Delay to December 1st 2021
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* update CHANGELOG.md
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
4 years ago
Sally MacFarlane
3627662f82
Modify Gas estimation logic for GoQuorum mode ( #2282 )
...
* modify tx simulator for possibly private tx
Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
4 years ago
matkt
fff119b43b
Remove EIP1559 flag ( #2277 )
...
* remove gasTarget
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* add tests
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* update tests
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* update implementation and tests
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* fix review
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* spotlessApply
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* update code to bump gasLimit on fork block
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* update eip1559 implementation
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* clean code
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* remove EIP1559 flag
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* fix pipeline
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net>
4 years ago
garyschulte
a9dcd5bb5a
update json-rpc responses for 1559 ( #2222 )
...
* address assumption that if 1559 is enabled there is a london fork block config
fixes #2192
Signed-off-by: garyschulte <garyschulte@gmail.com>
* omit null chainId from transaction json serialization, and fix merge regression
Signed-off-by: garyschulte <garyschulte@gmail.com>
* update json-rpc responses for 1559, use current feeCap and gasPremium field names
Signed-off-by: garyschulte <garyschulte@gmail.com>
* add pr number to changelog
Signed-off-by: garyschulte <garyschulte@gmail.com>
* fix transaction decoder
Signed-off-by: Gary Schulte <garyschulte@gmail.com>
* rebase and fix merge conflicts
Signed-off-by: garyschulte <garyschulte@gmail.com>
* remove null chainId from json-rpc test fixtures
Signed-off-by: garyschulte <garyschulte@gmail.com>
* the great 1559 rename
Signed-off-by: garyschulte <garyschulte@gmail.com>
* re-remove gasTarget
Signed-off-by: garyschulte <garyschulte@gmail.com>
* add serialization tests for 1559 transaction fields
Signed-off-by: garyschulte <garyschulte@gmail.com>
* add json property ordering annotations to Transaction*Result and spotless
Signed-off-by: garyschulte <garyschulte@gmail.com>
* rebase on master, update error message feedback from Karim
Signed-off-by: garyschulte <garyschulte@gmail.com>
4 years ago
matkt
09a49cfd2d
Use gasLimit for EIP1559 ( #2244 )
...
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
4 years ago
Antoine Toulme
adb5c3a300
try to use the hostName property from log4j2 before defaulting to localhost ( #2281 )
...
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net>
4 years ago
Jason Frame
755979a771
Support qbft encoding of extra data in the operator generate-blockchain subcommand ( #2276 )
...
Signed-off-by: Jason Frame <jasonwframe@gmail.com>
4 years ago
Jason Frame
4be132a7d1
support qbft encoding of extra data in the rlp encode subcommand ( #2275 )
...
Signed-off-by: Jason Frame <jasonwframe@gmail.com>
4 years ago