Commit Graph

139 Commits

Author SHA1 Message Date
Will Whitty 3d539d55cf
Update docs 2022-09-17 15:57:54 +04:00
KonradStaniec bbe7a617cd
Fix macos devel build on CI (#59) 2022-09-06 11:53:06 +02:00
Jacek Sieka 5e20893ef9
tighten nimcrypto imports (#58) 2022-09-05 19:29:33 +02:00
KonradStaniec 06ef3497d4
Add client for eth_getProof (#56) 2022-08-31 22:57:20 +02:00
Dustin Brody 7a453df9a6
update to supported macOS and Ubuntu CI images 2022-08-26 00:39:56 +00:00
Dustin Brody da3ab8d517
update error codes 2022-08-25 22:32:46 +00:00
Dustin Brody 9a4a879bea
update engine API spec ref URLs from alpha.9 to beta.1 2022-08-25 22:16:34 +00:00
tersec f59e36c058
use --stylecheck:error (#52)
* use --stylecheck:error

* use --styleCheck:error iff >= Nim 1.6
2022-07-21 11:18:09 +00:00
Miran d4f98950fd
move `-d:nimRawSetjmp` to config.nims (#51)
* move `-d:nimRawSetjmp` to config.nims

Refs https://github.com/status-im/nimbus-build-system/issues/44

* use .cfg not .nims
2022-07-12 21:04:31 +03:00
tersec 731bdfe907
don't enforce no-leading-zeros (#55) 2022-07-12 12:31:53 +03:00
Zahary Karadjov dfa91e350c
The contract event names should be accessible in modules that import the contract definition 2022-07-11 20:51:13 +03:00
tersec ae12813602
enforce JSON-RPC Quantity spec syntax rules (#53)
* enforce JSON-RPC Quantity spec syntax rules

* threadsafe test setup
2022-07-07 12:26:13 +03:00
Dustin Brody acfda81927
use safe default for payload status 2022-06-23 18:54:41 +00:00
Dustin Brody 7a15892a4e
add eth_chainId 2022-06-21 17:41:07 +00:00
Dustin Brody 755b6dc92b
alpha.9 engine API 2022-05-23 14:42:56 +00:00
Jacek Sieka d260915a0c
enable `styleCheck:usages` (#49) 2022-04-07 15:52:36 +02:00
Dustin Brody 94371837d8
rm obsolete/unused/unmaintained CI AppVeyor and Travis scripts 2022-03-31 11:56:14 +00:00
Dustin Brody c3b386b1e8
alpha.8 engine API 2022-03-14 16:30:24 +00:00
tersec 58b2e07830
Merge pull request #47 from status-im/request-header-callback
request header callback
2022-03-14 08:35:29 +00:00
Dustin Brody abf5a274b4
request header callback 2022-03-04 19:14:42 +00:00
Dustin Brody 91c998a0d4
rename random -> prevRandao 2022-02-24 15:10:06 +00:00
Dustin Brody 719fb4813a
alpha.7 engine API 2022-02-23 16:55:46 +00:00
Dustin Brody 94a3c2bd95
not to milestone 1 spec, but what mev-boost code actually does 2022-02-23 05:30:02 +00:00
Zahary Karadjov 63d586bd9d
Gnosis network support 2022-02-18 18:26:07 +02:00
Dustin Brody 0012deda79
refactor forkchoiceUpdated response type 2022-02-11 15:35:48 +00:00
Dustin Brody 649b0bf42f
MEV boost builder_* API support 2022-02-10 07:20:57 +00:00
Dustin Brody a8a464c5fe
update engine API signatures to alpha.6 2022-02-02 08:42:43 +00:00
Zahary Karadjov 7daafe7b9c
More complete Engine API v1.0.0-alpha.5
* Added error codes
* Renamed ExecutionPayloadResponse.message to validationError
2022-01-24 15:06:22 +02:00
Ștefan Talpalaru 0f82cf22f3
CI: test with multiple Nim versions (#46)
* CI: test with multiple Nim versions
2022-01-14 05:46:13 +01:00
Dustin Brody 0b5466f56e use enum for ForkchoiceUpdatedStatus.status 2022-01-13 18:47:16 +00:00
Dustin Brody 980461c982 use enum for ExecutePayloadResponse.status 2022-01-12 11:48:41 +00:00
Mark Spanbroek 2b9e8166d4 Add $ proc for DynamicBytes 2021-12-14 08:21:39 +01:00
Mark Spanbroek 47a02504dd Fix decoding of dynamic bytes 2021-12-14 08:21:39 +01:00
Mark Spanbroek 74d8345a3e Use correct types for deposit contract 2021-12-14 08:21:39 +01:00
Mark Spanbroek 2c02c3d770 Use correct gasprice for deposit contract test 2021-12-14 08:21:39 +01:00
Mark Spanbroek cfb02e19d3 Use actual Eth2 deposit contract for test 2021-12-14 08:21:39 +01:00
Mark Spanbroek 964002bc28 Fix signed transaction tests
Provide sufficiently high gas price to avoid
errors due to invalid gas price.
2021-12-14 08:21:39 +01:00
Mark Spanbroek 25ea5f5e7c Fix eth_gasPrice signature
Fixes conversion error when getting gas price.
Returns a QUANTITY according to the spec.
2021-12-14 08:21:39 +01:00
Mark Spanbroek c657134018 Fix encoding of gas price in transaction
Hardhat network doesn't support gas price
that is not a QUANTITY.
2021-12-14 08:21:39 +01:00
Mark Spanbroek a381a21c64 Fix encoding of DATA in transaction
Hardhat network doesn't accept a data parameter that
is an empty string.
2021-12-14 08:21:39 +01:00
Mark Spanbroek d6ecf0898c Replace ganache with hardhat
To fix hanging tests.
2021-12-14 08:21:39 +01:00
Mark Spanbroek 0dfaaffc3c Wrap tests in suites
To ensure that tests keep running when one of
them fails, and to have an indication of where
things go wrong.
2021-12-14 08:21:39 +01:00
Dustin Brody 0982a0a6e4
pre-allocate outbut buffer for typedtransaction JSON-RPC reading 2021-12-13 11:51:22 +00:00
Dustin Brody fe0674be9c
update engine API signatures to alpha.5 2021-12-07 11:25:48 +00:00
jangko 065c13cd81
ci: fix mingw url and bump mingw from 8.1.0 to 11.2.0 2021-11-30 16:11:46 +07:00
Mark Spanbroek 217a2c0b6a Fix signature of eth_sign
Message to sign should be sent as a DATA hex string, not a
JSON array of bytes.

See also: https://eth.wiki/json-rpc/API#eth_sign
2021-11-30 09:32:59 +01:00
Dustin Brody 41fc21595c
payloadId is now an 8-byte quantity, not per se a number 2021-11-15 11:21:39 +00:00
Dustin Brody 183cc8f407
working Geth engine RPC interop 2021-11-09 14:06:16 +00:00
Dustin Brody 94635bbe20
allow for null parameters and responses where required in engine API 2021-11-08 17:00:02 +00:00
Dustin Brody 27c19ce105
Kintsugi engine API 2021-11-08 08:14:43 +00:00