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
Roberto Saltini
bb7b5423f6
[NC-1582] Moved all the legacy iBFT classes for block importing into the newly created ibftlegacy module ( #96 )
...
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
CJ Hare
3639093365
Uploading to Bintray as part of the release ( #105 )
...
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
MadelineMurray
3dac6d272a
Doc archive for release ( #107 )
...
Doc archive
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Arash
1f89bf86c8
Revert "Updated Copyright info in License file ( #102 )" ( #104 )
...
This reverts commit f20bd2716d
.
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
Arash
9fc55db3fe
Updated Copyright info in License file ( #102 )
...
* Update snapshot version number
Corrected snapshot version from 0.0.8 to 0.8.0
* Updated Copyright info
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
tmohay
1ccdb1bb93
[MINOR] Re-repair clique extra data validation log msgs. ( #94 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
tmohay
dbb9f5397c
Added utils to help make extraData strings ( #87 )
...
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
Danno Ferrin
03be001b2a
Add --logging CLI option ( #97 )
...
[NC-1675] Ensure that default logging is appropriate
* Add CLI flag for logging
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
Danno Ferrin
3cca2688ef
[MINOR] Only Test errorprone-checks on JDK8 ( #89 )
...
* [MINOR] Only Test errorprone-checks on JDK8
The current version of errorprone causes errors when compiled with Java
11. The next version causes causes problems with Java 8. So for now
keep the old version and only test when compiled with Java 8 (which
is the current Jenkins version). When the test is skipped an info log is sent.
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
Roberto Saltini
4644fe0080
[NC-1582] Added ExtraData for iBFT 2.0 ( #37 )
...
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
Sally MacFarlane
71bb9d5598
PR template reduce ( #90 )
...
* reduced the content
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
tmohay
4dc3d5c40f
Update error messages in clique header validation ( #81 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Danno Ferrin
143c77854a
[MINOR] correct version in gradle.properties ( #75 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Arash
25766ad2f9
Update snapshot version number ( #86 )
...
Corrected snapshot version from 0.0.8 to 0.8.0
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Roberto Saltini
6507f0300e
[NC-1508] Added iBFT 2.0 BlockTimerExpiry Event and realated timer management class ( #58 )
...
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
Nicolas MASSART
16d9f6188d
[NC-887] release docker image ( #71 )
...
Provide a release grade Docker image
fix NC-887
use OpenJDK 8 slim docker image and integrated builder step
Replace the previous unused dockerfile with also some integrated documentation
Automatic building of the image and push to DockerHub will be done in a new Jenkins job
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Rob Dawson
6b2470274a
Use consistent ports for quickstart ( #62 )
...
* specify the port for the ports command in the docker compose file so we get consistent ports to bind to.
* add options for fixed ports and skip build
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
CJ Hare
b9f886a9bf
Restructuring the DSL ( #78 )
...
* Restructuring the DSL
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
Chris Mckay
89da64f96c
[MINOR] fix project name in readme ( #80 )
...
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
Chris Mckay
ffa87e9459
[MINOR] build status icon from new build server ( #77 )
...
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
Eric Kellstrand
aeaa661603
[NC-1697] Fill in objectives.md ( #73 )
...
[NC-1698] Fill in design-principles.md
- Added Pantheon elevator pitch to README.
- Removed objectives.md as it is unnecessary for this sized project
- Removed design-principles.md as it is unnecessary for this sized project
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
Roberto Saltini
967a406252
[NC-1616] Added iBFT NewChainHeadHeader event and related blockchain observer ( #59 )
...
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