Adrian Sutton
2cba87a899
[MINOR] Fix --rpc-api and --ws-api help output ( #147 )
...
* Fix default values for rpc-api and ws-api in --help output. Use ws-api values from the command line instead of always using the rpc apis.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Chris Mckay
005bf5037b
[MINOR] delayed submodule check until submodule used
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
924bbefb0d
[NC-1675] Apply more appropriate log levels ( #133 )
...
Reduce log level for a number of common situations to DEBUG and general tidy-up of output.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
ebcbf9c04f
[MINOR] Fix bounds check in PacketType. ( #132 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
10b853b136
[NC-1772] Release DisconnectMessage to avoid leaking memory allocation. ( #130 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
ce033eee55
[NC-1384] Disable mining while catching up to chain head ( #125 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
ebe9f3e36d
[MINOR] Add missing finals. ( #128 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
41fbe72729
[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 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
35bfbd7563
[NC-1679] Set vertx upload directory to be under the pantheon data dir. ( #115 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
a2e28b1603
[NC-1772] Avoid allocating and returning a ByteBuf from MessageFramer.frame. ( #116 )
...
We can write directly to the target instead and avoid the caller needing to release the buffer.
Fixes memory leak when clients are repeatedly connecting and disconnecting.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
mbaxter
63b2578b2f
Don't clear state modifications on commit ( #112 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Danno Ferrin
fcd048fc32
NC-1244 Implement JSON-RPC method "eth_getWork" ( #111 )
...
JAX-B is no longer shipped with Java 11. Guava provides similar
hex printing functionality.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Danno Ferrin
9489899108
NC-1675 Ensure that default logging is appropriate ( #113 )
...
More logging demotions.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
ece52dec00
[NC-1748] Treat original storage as empty when a new contract is created ( #95 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
S. Matthew English
ebd6c0105f
[MINOR] Idiomatic naming ( #100 )
...
* Enable passing tests (#99 )
* claridy docs
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
S. Matthew English
4954482614
[MINOR] Suicides mixing coinbase ( #110 )
...
* naive solution
* cleaning it up
* restrict to only suicide tests
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
4a9587ac75
Fix EIP150 spec name and enable more reference tests that are now passing ( #109 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
S. Matthew English
ceec103c29
eliminate createNameRegistratorPerTxsNotEnoughGas from blacklist ( #108 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
S. Matthew English
dde408c47c
[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
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
0321e517d0
Update general state reference test harness to ensure the coinbase account is deleted if it's empty and the transaction was invalid. ( #106 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Michael Connor
ee78db1a86
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
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
mark-terry
cb01231ac0
[NC-862] License headers applied to non-java files ( #93 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
mbaxter
8efe6be7c2
Enable passing tests ( #99 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
S. Matthew English
cd7a4e3730
catch custom exception ( #61 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
mbaxter
02af4517ff
[NC-1748] Clear contract storage on contract creation ( #85 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Chris Mckay
6c2fd5d875
[nc-1756] jsonrpc enabling for clique and ibft ( #91 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Danno Ferrin
bc05f38a03
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
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
mbaxter
89e860f73a
Remove RLPUtils from ProofOfWorkValidationRule ( #83 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
3bd10e8cfd
Enable more Constantinople reference tests that are now passing. ( #82 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
9a464a29b9
[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.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
mark-terry
310bd4035c
Nc 862 spotless license headers ( #69 )
...
* [NC-862] Added licenseHeader java rule to spotless.
* [NC-862] Spotless java headers applied.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
962ca18056
[MINOR] Remove unused original value lookup. ( #76 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Lucas Saldanha
b4330969c1
NC-1721: Filter timeout if not queried for 10 minutes ( #66 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
3b5fcfb40a
[NC-1747] CREATE2 should use the recipient address when calculating the new contract address ( #72 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
mbaxter
7e30513cce
[NC-1558] Retry tasks a max number of times before failing ( #74 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
ccc932b210
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.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Lucas Saldanha
d0416e95f8
Removing evmtool gradle project ( #67 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
6cea0b58de
[NC-1615] Report reference tests that have been blacklisted rather than skipping them silently ( #63 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Danno Ferrin
43f92f7f20
[MINOR] Distribution tweaks ( #60 )
...
* [minor] distribution tweaks
* the 'pantheon:client' project is empty, and results in an empty jar, delete
* clique hard codes a version, delete so the parent takes effect
* clique does not describe it's jar, add description
* evmtools does not describe it's jar, add description.
results in
* clique-1.0.0-SNAPSHOT -> pantheon-clique-0.8.0-RC
* evmtools-0.8.0-SNAPSHOT -> pantheon-evmtools-0.8.0-RC
* client-0.8.0-SNAPSHOT -> *deleted*
* spotless formatting on the gradle file
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
681b17cce1
[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.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Lucas Saldanha
0b3991b4a0
NC-1564: Only subscription owner can unsubscribe ( #43 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
S. Matthew English
56b0a10942
parameterize BlockchainUtilTest ( #57 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
S. Matthew English
da4be65379
[MINOR] Revert "[MINOR] Parameterize BlockchainUtilTest " ( #55 )
...
* Revert "[MINOR] Parameterize BlockchainUtilTest (#7 )"
This reverts commit daad2995a7
.
* Update PantheonInfo.java
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
7eb2659f86
Fix package names. ( #56 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
S. Matthew English
b7d6bdf791
[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
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
191583e898
[NC-1685] Improve tests for BlockHashOperation ( #47 )
...
* Introduce MessageFrameTestFixture to make it easier to test EVM operations.
* Add unit tests for BlockHashOperation.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
mbaxter
716e890144
Increase test timeout ( #44 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Christopher Mckay
cf66277a57
changed all the imports to tech.pegasys packaging
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Christopher Mckay
f6ed2d3d02
renamed package paths
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Jason Frame
dbf8098364
[NC-1394] Add shortcut --rinkeby command line to use clique on rinkeby test network ( #16 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago