matkt
72360f4cce
Update reference tests ( #2270 )
...
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
4 years ago
Antoine Toulme
c682ea48ec
Fix discovery packet size ( #2252 )
...
* Fix discovery packet size
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
* Add assertion to check the size of the packet once encoded
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
* code review
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net>
4 years ago
matkt
3267501c8c
Implement eip 3529 ( #2238 )
...
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
4 years ago
garyschulte
a388144f79
add ACCESS_LIST to BlockTransactionSelector ( #2248 )
...
Signed-off-by: garyschulte <garyschulte@gmail.com>
Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net>
4 years ago
Sally MacFarlane
fa92d328d6
[MINOR] refactor out deprecation in test ( #2231 )
...
* refactor out deprecation
Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
4 years ago
matkt
1e2411cb17
Fix invalid error codes on some JSON RPC apis ( #2138 )
...
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
4 years ago
matkt
8d47d6c404
implement eip ( #2245 )
...
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
4 years ago
matkt
9b542bc7ec
Add support for baikal testnet and london network upgrade ( #2237 )
...
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
Co-authored-by: garyschulte <garyschulte@gmail.com>
4 years ago
garyschulte
4a3e2751c3
Make 2930 accesslist transactions use frontier txn price calculator ( #2239 )
...
Signed-off-by: garyschulte <garyschulte@gmail.com>
4 years ago
matkt
355cc630ef
fix tracing ( #2227 )
...
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
4 years ago
David Mechler
b4e14bc356
Add debug_accountAt RPC end point ( #1981 )
...
* Add debug_accountAt RPC end point
Signed-off-by: David Mechler <david.mechler@consensys.net>
* PR comment
Signed-off-by: David Mechler <david.mechler@consensys.net>
Co-authored-by: Antoine Toulme <antoine@lunar-ocean.com>
Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net>
4 years ago
matkt
1643e0b5d0
Prevents EIP1559 blocks from being mined before fork ( #2226 )
...
* add check
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* update test
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* clean code
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
4 years ago
Stefan Pingel
f6d50dcab2
fix goquorum privacy ( #2224 )
...
* fix goquorum privacy
Signed-off-by: Stefan Pingel <stefan.pingel@consensys.net>
* fix submodule
Signed-off-by: Stefan Pingel <stefan.pingel@consensys.net>
4 years ago
garyschulte
eaafaaaae8
Address 1559 config assumption ( #2193 )
...
* address assumption that if 1559 is enabled there is a london fork block config
fixes #2192
Signed-off-by: garyschulte <garyschulte@gmail.com>
* fix tests
Signed-off-by: garyschulte <garyschulte@gmail.com>
* spotless. bump
Signed-off-by: garyschulte <garyschulte@gmail.com>
Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net>
4 years ago
matkt
425db2a9ee
bonsai trie : reset updater when there is an invalid block ( #2205 )
...
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
4 years ago
Manoj Mamidyala
d2f8b85763
Change dev network chain ID to 1337 ( #2162 )
...
changed the dev network chain ID to 1337 instead of 2018 so that users can connect to Metamask "localhost 8545" network preset using default chainid settings
Signed-off-by: Manoj Mamidyala <manojmamidyala36@gmail.com>
4 years ago
matkt
6543551778
Fix bonsai trie mining ( #2101 )
...
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
4 years ago
3nprob
fb42320b74
Make public key decode errors debug level ( #2143 )
...
Make public key decode errors debug level
Resolves #2142
Signed-off-by: 3nprob <3nprob@example.com>
4 years ago
Ratan (Rai) Sur
efe845b4b1
Remove Misleading Fast-Sync Logging ( #2158 )
...
Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net>
4 years ago
matkt
46d4952a70
Bonsai trie : fix consensus issue on ropsten ( #2164 )
...
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
4 years ago
matkt
aa399b3465
fix concurrent modification exception for bonsai trie( #2152 )
...
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
4 years ago
garyschulte
089bfabd9c
add support for 1559 in retesteth besu command ( #2181 )
...
Signed-off-by: garyschulte <garyschulte@gmail.com>
4 years ago
Daniel Lehrner
d7edb37c39
Add SECP256R1 support ( #2008 )
...
Add SECP256R1 support
Signed-off-by: Daniel Lehrner <daniel@io.builders>
4 years ago
Sally MacFarlane
f973f95a92
ignore privateFor for private tx estimation ( #2160 )
...
Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
4 years ago
Ratan (Rai) Sur
0eb871c1b6
Don't Create New Node Record If Discovery Is Disabled ( #2140 )
...
If peer discovery was disabled, we would still try to create a Node Record even though we hadn't initialized required fields.
Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
4 years ago
matkt
51283cc7d4
fix layer issue with bonsai trie ( #2137 )
...
Fix the bonsai layers bug that impacted the tracing. This came during a reorg the link between layers was not valid
This resulted in invalid traces based on bad blocks history
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
4 years ago
matkt
92048e2113
bonsai trie : fix a synchronization issue ( #2148 )
...
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
4 years ago
matkt
aabd5d3302
Fix invalid result during EVM test ( #2135 )
...
Fix invalid result during EVM test. The sender's account was not deleted when empty
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
4 years ago
garyschulte
a95a008d1d
handle json-rpc raw transactions encoded both in RLP and 2718-style txn byte prefixed ( #2132 )
...
Signed-off-by: garyschulte <garyschulte@gmail.com>
4 years ago
Sally MacFarlane
8284758335
Estimate gas: ignore nonce ( #2133 )
...
* jsonignore
Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
4 years ago
matkt
011eda9ed5
Add a limit of back layers that can be loaded - Bonsai trie ( #2108 )
...
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
4 years ago
matkt
16c5251b0b
Added parameterized tests to test Bonsai And Forest ( #2131 )
...
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
4 years ago
matkt
e82fd74e57
Add test for Bonsai trie key value storage ( #2126 )
...
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
4 years ago
Abdelhamid Bakhta
703ff8dce7
Implement EIP-3198 BASEFEE opcode ( #2123 )
...
Signed-off-by: Abdelhamid Bakhta <abdelhamid.bakhta@consensys.net>
4 years ago
Ratan (Rai) Sur
ded6faeacd
Tracing Fixes - Mark Transaction Boundaries for Standard Tracing and CallOperation Gas Costs ( #2120 )
...
Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
4 years ago
Abdelhamid Bakhta
dd0e8b0bcf
Fix transaction encoding/decoding issues. ( #2043 )
...
* Fix transaction encoding/decoding issues.
Signed-off-by: Abdelhamid Bakhta <abdelhamid.bakhta@consensys.net>
4 years ago
garyschulte
d08083df9a
fix besu retesteth PoW mining ( #2092 )
...
it appears that [#1882 ] inadvertently broke retesteth no-op PoW mining.
Signed-off-by: garyschulte <garyschulte@gmail.com>
4 years ago
Bogdan Stirbat
a572dc508c
Remove ellipsis from block hash logs ( #2105 )
...
Signed-off-by: Bogdan Stirbat <bogdan.stirbat@gmail.com>
4 years ago
Ratan (Rai) Sur
901b0a1e00
Clean Up P2P Debug Logging ( #2093 )
...
Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
4 years ago
Ratan (Rai) Sur
3d4a2974ff
Rename Fields in ForkIdManager ( #2091 )
...
Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
4 years ago
matkt
c7e72434b9
Enable json rpc tests for bonsai trie ( #2090 )
...
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
4 years ago
matkt
e13dd77c8d
bonsai trie: fix account has an empty state change ( #2051 )
...
Signed-off-by: Karim TAAM karim.t2am@gmail.com
Co-authored-by: Danno Ferrin danno.ferrin@gmail.com
4 years ago
Ratan (Rai) Sur
e88ac27f97
Update NodeRecord on DiscoveryPeer ( #2047 )
...
We wrote the saved the new node record to disk but we didn't set it on the DiscoveryPeer class so we were still responding with the old one.
Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
4 years ago
mark-terry
bf54b6c0b4
GetPrivateWorldState refactor ( #2042 )
...
Signed-off-by: Mark Terry <mark.terry@consensys.net>
4 years ago
Stefan Pingel
6dc740e4ec
fix a problem where the private world state is not found in GoQuorum mode ( #2041 )
...
* fix #2041
Signed-off-by: Joshua Fernandes <joshua.fernandes@consensys.net>
4 years ago
Jason Frame
a030235e3a
Update qbft extra data encoding to match GoQuorum qbft encoding ( #2039 )
...
Signed-off-by: Jason Frame jasonwframe@gmail.com
4 years ago
Abdelhamid Bakhta
360c32b98d
[EIP-1559] Fix coinbase fee calculator ( #1966 )
...
* Fix coinbase fee calculator, always use 1559 coinbase calculator even for frontier transactions
Signed-off-by: Abdelhamid Bakhta <abdelhamid.bakhta@consensys.net>
4 years ago
matkt
f21ccccfa3
Increase node diversity when downloading blocks ( #2033 )
...
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
Co-authored-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
4 years ago
Ratan (Rai) Sur
30ef44330e
Update Ethereum Node Record When We Pass Network Upgrade Blocks ( #1998 )
...
Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
4 years ago
matkt
8a0d002cc6
Update BonsaiLayeredWorldState implementation ( #1999 )
...
Update BonsaiLayeredWorldState implementation to find valid code, storage and account corresponding to a block with Bonsai trie storage mode
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
4 years ago