Adrian Sutton
a07a5d64ae
ECRec precompile should return empty instead of 0 when the input is invalid. ( #227 )
6 years ago
Adrian Sutton
824b56f141
Add wrapper classes for config section of genesis file ( #208 )
...
* Introduce classes to wrap JSON config instead of accessing it directly in multiple places.
* Fix discrepancy in how CliqueProtocolSchedule and CliquePantheonController loaded the block period configuration.
6 years ago
Adrian Sutton
d650f469f3
Improve error message when genesis file does not match. ( #225 )
6 years ago
Chris Mckay
eebb2311cc
[MINOR] Shorten reference test filenames ( #221 )
6 years ago
Adrian Sutton
42d69d89ce
Decouple DefaultMutableBlockchain from KeyValueStorage ( #211 )
...
* Introduce createInMemoryBlockchain test utility and use it everywhere appropriate.
* Inject BlockchainStorage into DefaultMutableBlockchain.
6 years ago
Adrian Sutton
e5e21ba298
Make KeyValueStorage extend Closeable ( #207 )
...
Replace explicit usages of RocksDbKeyValueStorage with the more generic but now just as capable KeyValueStorage.
6 years ago
Adrian Sutton
e56125c6d8
Add benchmark for BlockHashOperation ( #203 )
...
Includes a reusable OperationBenchmarkHelper to make writing EVM opcode benchmarks easier in future.
6 years ago
mbaxter
f0553ef5f9
[NC-1561] Remove RLPUtils from RawBlockIterator ( #179 )
6 years ago
Adrian Sutton
3881f19335
Fix JavaDoc errors due to invalid HTML on JDK 11. ( #160 )
6 years ago
Roberto Saltini
dfed9e5f4a
Fixed javadoc warnings ( #159 )
6 years ago
Roberto Saltini
77a3df36ae
[NC-1582] Added iBFT 2.0 Hashing functions and header validation rules ( #119 )
6 years ago
Chris Mckay
6584168b70
[MINOR] delayed submodule check until submodule used
6 years ago
Adrian Sutton
d2583e3ef2
[NC-1384] Disable mining while catching up to chain head ( #125 )
6 years ago
Adrian Sutton
45e0037321
[MINOR] Add missing finals. ( #128 )
6 years ago
Adrian Sutton
d8d7b1e55b
[NC-1777] Add milestone configuration to dev.json so that if it happens to be used directly it uses Byzantium instead of defaulting to the MainNet milestone blocks. ( #121 )
6 years ago
mbaxter
6503699c6e
Don't clear state modifications on commit ( #112 )
6 years ago
Adrian Sutton
e0a160e070
[NC-1748] Treat original storage as empty when a new contract is created ( #95 )
6 years ago
S. Matthew English
2ae74e2f1e
[MINOR] Suicides mixing coinbase ( #110 )
...
* naive solution
* cleaning it up
* restrict to only suicide tests
6 years ago
Adrian Sutton
ea9ab169e4
Fix EIP150 spec name and enable more reference tests that are now passing ( #109 )
6 years ago
S. Matthew English
eb7f062171
eliminate createNameRegistratorPerTxsNotEnoughGas from blacklist ( #108 )
6 years ago
S. Matthew English
ef50390398
[NC-1711] Ommer blocks should be considered valid even when they are from the future ( #92 )
...
* eliminate black for relevant tests
* partition TimestampValidationRule
* adapt existing tests
* further adaptions of status quo
* create creator
* adding ommer validator
* resolving builder sequence
* remove blank lines, fix comment
* rename classes
* remove unnecessary blank lines
6 years ago
Adrian Sutton
eaff5de720
Update general state reference test harness to ensure the coinbase account is deleted if it's empty and the transaction was invalid. ( #106 )
6 years ago
Michael Connor
1325a419c8
NC-1244 Implement JSON-RPC method "eth_getWork" ( #70 )
...
* EthGetWork Added with Unit and acceptance tests
* EthGetWork Added with Unit and acceptance tests
* EthGetWork Added with Unit and acceptance tests
* EthGetWork Added with Unit and acceptance tests
Debugged
* EthGetWork Added with Unit and acceptance tests
Debugged
Change Requests Actioned
6 years ago
mark-terry
33cc977f9b
[NC-862] License headers applied to non-java files ( #93 )
6 years ago
mbaxter
10957494ac
Enable passing tests ( #99 )
6 years ago
S. Matthew English
840780bffc
catch custom exception ( #61 )
6 years ago
mbaxter
00006d1235
[NC-1748] Clear contract storage on contract creation ( #85 )
6 years ago
Danno Ferrin
ad82ca265a
NC-1675 Ensure that default logging is appropriate ( #88 )
...
* Take peer status messages down from info to debug
* Take P2P messages down from debug to trace
6 years ago
mbaxter
2ede24fe95
Remove RLPUtils from ProofOfWorkValidationRule ( #83 )
6 years ago
Adrian Sutton
1f479f75fd
Enable more Constantinople reference tests that are now passing. ( #82 )
6 years ago
Adrian Sutton
6fa1e7354b
[NC-1752] Fix SSTORE original value ( #79 )
...
* [NC-1752] Delegate calls to getOriginalAccount all the way to the actual store. Ensures we get the actual original value even when updaters are nested due to nested calls.
* Upgrade ethereum reference tests to include the new sstore tests.
6 years ago
mark-terry
c02c3ad7b1
Nc 862 spotless license headers ( #69 )
...
* [NC-862] Added licenseHeader java rule to spotless.
* [NC-862] Spotless java headers applied.
6 years ago
Adrian Sutton
e2a6adf171
[MINOR] Remove unused original value lookup. ( #76 )
6 years ago
Adrian Sutton
793f149f96
[NC-1747] CREATE2 should use the recipient address when calculating the new contract address ( #72 )
6 years ago
Adrian Sutton
7cddc9a892
Enable constantinople tests and blacklist the ones that are currently failing ( #65 )
...
* Update to latest ethereum reference tests to pull and enable a bunch of Constantinople tests they fix.
* Blacklist test that consumes a huge amount of memory on Constantinople as well.
6 years ago
Adrian Sutton
2b19129bb9
[NC-1615] Report reference tests that have been blacklisted rather than skipping them silently ( #63 )
6 years ago
Adrian Sutton
da68a53944
[NC-1615] Upgrade ethereum reference tests ( #54 )
...
* Upgrade ethereum reference tests
* Add support for sealEngine: NoProof by skipping PoW validation for ommer headers as well. Production code continues to always use full validation for ommers.
* Add Constantinople to reference test schedules ready for when we enable Constantinople tests.
* Blacklist the new reference tests that are failing while we investigate them.
6 years ago
S. Matthew English
d38a5a3f84
parameterize BlockchainUtilTest ( #57 )
6 years ago
S. Matthew English
92fefe60e5
[MINOR] Revert "[MINOR] Parameterize BlockchainUtilTest " ( #55 )
...
* Revert "[MINOR] Parameterize BlockchainUtilTest (#7 )"
This reverts commit daad2995a7
.
* Update PantheonInfo.java
6 years ago
Adrian Sutton
76c742eba1
Fix package names. ( #56 )
6 years ago
S. Matthew English
daad2995a7
[MINOR] Parameterize BlockchainUtilTest ( #7 )
...
* parameterize BlockchainUtilTest
* update javadoc for return
* update method descriptiuon
* randomize tests
* eliminate redundant comment, simplify addition of params
* eliminate unused parameter
* extract redundant code into own method
6 years ago
Adrian Sutton
3e7a54850b
[NC-1685] Improve tests for BlockHashOperation ( #47 )
...
* Introduce MessageFrameTestFixture to make it easier to test EVM operations.
* Add unit tests for BlockHashOperation.
6 years ago
Christopher Mckay
6ed3560863
changed all the imports to tech.pegasys packaging
6 years ago
Christopher Mckay
b46faa9f8a
renamed package paths
6 years ago
Chris Mckay
e5a17733cf
[NC-1401] Votes in clique headers ( #35 )
6 years ago
tmohay
b7acf0f737
Repair hashrate capture in ethhashmining coordinator ( #39 )
...
On the transition to the EthHash/Clique Mining Coordinator a change
was lost whereby the EthHashMiningCoordinator is to capture the
current Hashrate on cancellation of a mining operation.
6 years ago
Adrian Sutton
7f7a5e781e
[NC-1685][NC-1644] BlockHashOperation fixes ( #38 )
...
* [NC-1685] Fix BlockHashOperation so it handles blocks being added on forks and gets the hash of the block at the requested number on that fork rather than on the current canonical chain.
* [NC-1644] Cache block hashes across all transactions in a block.
6 years ago
Adrian Sutton
7ea5c1909f
Add constantinople fork block (4.23M) to ropsten genesis config. ( #23 )
6 years ago
tmohay
a5a475ba92
Fix COINBASE operation to return mining beneficiary (which may not match coinbase header in Clique) ( #33 )
6 years ago
tmohay
6c8422d5f2
Wired Mining into CliquePantheonController ( #22 )
...
This changeset allows pantheon to join, and act as a validator in a clique network.
6 years ago