jangko
7a835d7168
fix int set for nim-devel
2023-06-04 13:24:27 +07:00
jangko
6b04ddf8c1
update github action to v3
2023-06-04 13:05:29 +07:00
jangko
7b2033178b
fix missing httpclient import
2023-06-04 12:39:28 +07:00
tersec
18e37f7e01
https://github.com/ethereum/execution-apis/pull/417 ( #84 )
2023-06-03 18:16:08 +00:00
Jacek Sieka
fcc7d7e8b1
fix expect import ( #83 )
...
it was pulling in all of chronos / http server / websocket / etc
2023-05-09 10:13:44 +02:00
tersec
757c6d4c47
stop testing Nim pre-1.6 in CI ( #81 )
...
* stop testing Nim pre-1.6 in CI
* simplify nimble file
2023-05-08 14:34:51 +00:00
Zahary Karadjov
c4fefea387
Allow the user to specify HttpClientFlags when creating a HTTP client
2023-05-05 02:26:27 +03:00
henridf
76a623ef93
Update EIP4844 types ( #82 )
2023-04-28 15:02:38 +00:00
tersec
437c768bc3
update engine API from v1.0.0-beta.2 to beta.3
2023-04-13 19:02:53 +00:00
tersec
4c377e6e29
re-add GetPayload v2 return type actually constrained to v2 ( #78 )
...
* re-add GetPayload v2 return type actually constrained to v2
* use engine_getPayloadV2_exact consistently
2023-03-18 18:54:38 +01:00
Zahary Karadjov
bf6c24dba5
Fix a deposit syncing regression in nimbus-eth2
2023-03-07 03:30:14 +02:00
Zahary Karadjov
610dda642c
Support for 'minimal' builds of the Engine API
2023-03-04 16:26:49 +02:00
Zahary Karadjov
45681df983
Fix a conflict resolution error in the previous commit
2023-03-04 13:18:31 +02:00
Zahary Karadjov
c834f67a37
Correct the type of the 'blockValue' field in getPayload responses
2023-03-04 13:14:50 +02:00
Adam Spitz
6a854220ea
V1 or v2 ( #77 )
...
* Added a couple of V1OrV2 structures.
Maybe there's a better way to do this, but AFAICT our JSON-RPC library
doesn't currently handle sum types (i.e. V1 | V2), and I don't want to
dig too deeply into that right now. Feel free to fix this, or come bug
me about it, if there's a better way to do it.
* Added some conversion functions for the V1OrV2 stuff.
2023-02-28 14:37:41 -05:00
Zahary Karadjov
4df2822521
Add json serialization for the Quantity type
2023-02-27 16:40:25 +02:00
tersec
5aae81cb5e
update engine API URLs to v1.0.0-beta.2
2023-02-01 15:48:53 +00:00
Zahary Karadjov
4726fdc223
Correct the type of the BlockObject.extraData field and add Capella and EIP-4844 fields
...
The rest of the changes are benign cosmetic improvements
2023-01-24 22:30:33 +01:00
henridf
98fba0fb04
add newPaylod for ExecutionPayloadV3 ( #76 )
2023-01-20 20:55:41 +00:00
Jacek Sieka
430ade00a2
remove `gnosisChainBinary` hack ( #75 )
...
It appears gnosis publishes both nonce and mixhash these days, looking
at `curl https://rpc.gnosischain.com/ -X POST -H "Content-Type:
application/json" --data
'{"method":"eth_getBlockByNumber","params":["0x18c97c0",false],"id":1,"jsonrpc":"2.0"}'
| jq`
2023-01-19 11:19:14 +02:00
tersec
b5188b0679
withdrawals amount in uint64 gwei: https://github.com/ethereum/execution-apis/pull/354
2023-01-14 12:34:34 +00:00
henridf
33586798ea
Add EIP4844 types to engine API ( #74 )
...
* Add EIP4844 types to engine API
* Fix typo
2023-01-10 15:43:03 +00:00
Zahary Karadjov
d596e68c14
Correct response type for engine_getPayloadV2
2023-01-06 03:23:58 +02:00
Zahary Karadjov
d02c3db4a5
Add some helpers for writing generic code against the Engine API
2022-12-20 23:37:05 +02:00
KonradStaniec
df2ef09c63
Add create access list call to client ( #73 )
2022-12-08 08:31:50 +01:00
Tanguy
1e2e2e6d16
Fiw newRng usage ( #72 )
2022-11-24 15:11:41 +01:00
Dustin Brody
43b710c5d6
add withdrawal support types to engine API
2022-11-23 20:54:57 +00:00
KonradStaniec
16a9211686
Handle empty data hex string ( #71 )
2022-11-18 14:29:40 +01:00
Jacek Sieka
78a9e5d097
fix block field types ( #65 )
...
* hashes are not `uint256` - they should not have leading zeroes
stripped for example
* difficulty can be >uint64.high
* block nonce is not a quantity
* remove nonce feature-gating
2022-09-27 11:15:32 +02:00
Jacek Sieka
6ea4ae83eb
remove Whisper ( #66 )
...
Obsolete, replaced by https://rfc.vac.dev/ /
https://github.com/status-im/nwaku
2022-09-21 15:30:45 +03: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