Jussi Virtanen
2ee9cb1497
Upgrade Ethereum reference tests to v6.0.0-beta.1 ( #243 )
6 years ago
Matt Gucci
9f8512b4c0
Fix ECREC precompiled contract name ( #240 )
6 years ago
Danno Ferrin
ef49f9b3e8
NC-1815 Rinkeby import can stall with too many fragments revision
...
As recommended in #231 alter the API so that the
subclasses always return their list from executePeerTask in the
`CompletableFuture` and reset the retry in `#executeTask()` when any
non-empty list is returned.
6 years ago
Adrian Sutton
41bce807f5
Treat output length as a maximum length for CALL operations ( #236 )
...
* Fix corner case where Memory did not clear target destination if the new bytes to set was empty.
* Use BytesValue.EMPTY instead of Bytes32.EMPTY to make it clear that it's a 0 length BytesValues rather than 32 bytes of zeross.
* Treat outputLength for call operations as a maximum length - when the actual data to output is shorter than outputLength, do not zero out the tail end of the memory range.
6 years ago
mbaxter
025d698d0c
Add better handling for port conflict error ( #232 )
6 years ago
Danno Ferrin
94f6d4e1a3
NC-1815 Rinkeby import can stall with too many fragments ( #231 )
...
A more robust fix: be tolerant of partial success. Instead of counting
every call as a limited retry change the semantics of
AbstractRetryingPeerTask such that it's retryCounter may be reset on a
partial success. Hence the limit is on consecutive zero progress
retries and large blocks dribbled in one at a time are not penalized.
Undo temp fix. Restore retries to 3 in a row.
6 years ago
Danno Ferrin
c86193b423
Don't use sun.security.krb5.Confounder.bytes. ( #230 )
...
* Don't rely on sun.security.krb5.Confounder.bytes.
It's not reflected as part of the JDK platform and makes IDEs cranky.
* Use a better SecureRandom factory.
* spotless
6 years ago
Matt Gucci
35e808d723
Remove duplicates of DEFAULT_JSON_RPC_APIS ( #218 )
6 years ago
Adrian Sutton
a07a5d64ae
ECRec precompile should return empty instead of 0 when the input is invalid. ( #227 )
6 years ago
Lucas Saldanha
8354acd071
NC-1378: Adding error handling to http requests on websocket endpoint ( #213 )
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
Danno Ferrin
6ccb06012e
NC-1815 Rinkeby import can stall with too many fragments ( #224 )
...
Quick fix - up the retry limit to 20, the observed chunking size at the point of failure.
6 years ago
Chris Mckay
eebb2311cc
[MINOR] Shorten reference test filenames ( #221 )
6 years ago
Danno Ferrin
a1e6adfcba
Replace custom Clock with java.time.Clock ( #220 )
...
We create our own instance of Clock. However the java.time.Clock
provides what is needed and already exists on the platform.
6 years ago
Lucas Saldanha
c71944f19b
Implementing eth_chainId ( fixes #206 ) ( #219 )
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
Jussi Virtanen
b9e5d74deb
Add --ropsten command line argument ( #197 )
6 years ago
Jussi Virtanen
7062a420fa
Create unit tests for EthBlockNumber ( #195 )
6 years ago
Jussi Virtanen
388a948e32
Improve variable name in EthGetBlockByHashTest ( #196 )
6 years ago
Jussi Virtanen
de5796e478
Create unit tests for Web3ClientVersion ( #194 )
6 years ago
mbaxter
f0553ef5f9
[NC-1561] Remove RLPUtils from RawBlockIterator ( #179 )
6 years ago
mbaxter
13ae9f5701
[NC-1561] Remove RLPUtils from GetBlockHeadersMessage ( #180 )
6 years ago
tmohay
3569b0de78
Add MiningCoordinator interface ( #168 )
6 years ago
Adrian Sutton
c53b8498b0
Revert "[NC-1805] net_version should return the network ID not the chain ID ( #162 )" ( #166 )
...
MetaMask depends on net_version returning the chain ID, not the network ID.
6 years ago
Adrian Sutton
8a53c32ebf
[NC-1805] net_version should return the network ID not the chain ID ( #162 )
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
Adrian Sutton
1849460e46
[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.
6 years ago
Chris Mckay
6584168b70
[MINOR] delayed submodule check until submodule used
6 years ago
Adrian Sutton
c9fbc9d3fd
[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.
6 years ago
Adrian Sutton
78a002b53d
[MINOR] Fix bounds check in PacketType. ( #132 )
6 years ago
Adrian Sutton
5442163c36
[NC-1772] Release DisconnectMessage to avoid leaking memory allocation. ( #130 )
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
Adrian Sutton
725cdb34c2
[NC-1679] Set vertx upload directory to be under the pantheon data dir. ( #115 )
6 years ago
Adrian Sutton
9e74b7b73e
[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.
6 years ago
mbaxter
6503699c6e
Don't clear state modifications on commit ( #112 )
6 years ago
Danno Ferrin
570ba55520
NC-1244 Implement JSON-RPC method "eth_getWork" ( #111 )
...
JAX-B is no longer shipped with Java 11. Guava provides similar
hex printing functionality.
6 years ago
Danno Ferrin
9fe2cdfdf0
NC-1675 Ensure that default logging is appropriate ( #113 )
...
More logging demotions.
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
ee9ee93aae
[MINOR] Idiomatic naming ( #100 )
...
* Enable passing tests (#99 )
* claridy docs
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