Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update hive #18

Open
wants to merge 390 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
390 commits
Select commit Hold shift + click to select a range
785d238
simulators/ethereum/consensus: Fix `excessBlobGas` genesis (#964)
marioevz Jan 4, 2024
af4a4f6
clients/erigon: Fix git dockerfile (#965)
marioevz Jan 5, 2024
f2a8720
clients/besu: Fix git dockerfile (#966)
marioevz Jan 5, 2024
67fdab2
all: fix some typos in README.md files (#968)
fakefraud Jan 11, 2024
1434e08
cmd/hivechain: improve modifier schedule
fjl Jan 16, 2024
292a952
cmd/hivechain: add more transaction types
fjl Jan 16, 2024
6baa96f
cmd/hivechain: add simple test for generate
fjl Jan 16, 2024
589b22c
cmd/hivechain: deploy revert contract
fjl Jan 16, 2024
88790b2
cmd/hivechain: improve spacing in callrevert
fjl Jan 16, 2024
73c1cc6
cmd/hivechain: improve deploy tx gaslimit
fjl Jan 16, 2024
cce671d
cmd/hivechain: avoid OOG in randomcode
fjl Jan 16, 2024
b01f363
cmd/hivechain: correct selectors in callrevert
fjl Jan 16, 2024
2f9c3d1
cmd/hivechain: add blob transaction
fjl Jan 17, 2024
af91e0f
clients/reth: use ghcr.io/paradigmxyz/reth as base image (#971)
holiman Jan 18, 2024
6b7dae4
cmd/hivechain: use calldata hash as log topic in emit contract
fjl Jan 18, 2024
f43f5c3
clients/nethermind: Fix Dockerfile.git (#972)
marioevz Jan 25, 2024
7c5d737
simulators/ethereum/rpc-compat: load chain env from tests
fjl Jan 29, 2024
cdb533b
simulators/ethereum/rpc-compat: add explainer in diff message
fjl Jan 29, 2024
bb4fce0
clients/nimbus-el: change command line options to use combo HTTP serv…
jangko Jan 29, 2024
7f62650
.circleci: Add CI for rust simulators (#980)
KolbyML Jan 31, 2024
236250c
clients: add portal network client definitions (#977)
KolbyML Jan 31, 2024
e15e7af
.ciricleci: fix circleci script after breaking from #980 (#982)
KolbyML Jan 31, 2024
265969f
hivesim: add built-in support for connecting to the engine API
fjl Jan 31, 2024
d38a51d
go.mod: go.mod tidy
fjl Jan 31, 2024
7a26a9b
simulators/ethereum/rpc-compat: send forkchoiceUpdated to client (#983)
fjl Feb 1, 2024
a8fe1d5
simulators/ethereum/sync: use EngineAPI method of hivesim
fjl Feb 1, 2024
ca8e166
simulators/ethereum/rpc-compat: handle test comments and avoid error …
fjl Feb 1, 2024
df7a050
clients/besu: remove --engine-jwt-enabled
fjl Feb 1, 2024
fcfdd50
clients/reth: fix merge netsplit block in mapper (#986)
Rjected Feb 4, 2024
58354ff
simulators/ethereum/pyspec: Use latest EEST fixture release. (#985)
spencer-tb Feb 5, 2024
c7eaf3f
simulators/portal/history/rpc-compat: add portal network history rpc-…
KolbyML Feb 5, 2024
940f617
clients: add 'portal' role
fjl Feb 5, 2024
09c0bea
simulators/portal/history/portal-interop: add portal network history …
KolbyML Feb 5, 2024
dfa95c3
simulators/portal/history/portal-mesh: add portal network history por…
KolbyML Feb 5, 2024
7417cdf
simulators/portal/history/trin-bridge: add portal network history tri…
KolbyML Feb 5, 2024
1f76b2d
simulators/portal/beacon/rpc-compat: add portal network beacon rpc-co…
KolbyML Feb 5, 2024
d14caea
clients/prysm-vc: Use REST api (#906)
marioevz Feb 5, 2024
693cba7
simulators/eth2/engine: Fix error checking (#897)
marioevz Feb 5, 2024
c1d8cfc
clients/lodestar-bn: Add optional flag to disable peer scoring (#911)
marioevz Feb 5, 2024
2295e9a
clients/erigon: Configure snapshots flag (#992)
spencer-tb Feb 6, 2024
9c14d61
clients/go-ethereum: Remove miner gasprice flag (#993)
spencer-tb Feb 7, 2024
b07223b
simulators/ethereum/engine: Fixes for execution-apis#498 (#974)
marioevz Feb 7, 2024
e7f4a4c
simulators/portal: refactor simulators to run multiple suites (#994)
KolbyML Feb 9, 2024
5347c9c
simulators/ethereum/engine: Expect error code for invalid payload att…
spencer-tb Feb 12, 2024
c614d06
clients/lighthouse-bn: Add trusted peers env var (#908)
marioevz Feb 13, 2024
4746f9b
clients/besu: fix merge block in mapper (#999)
pinges Feb 14, 2024
a4d9e38
simulators/ethereum/consensus: add Paris as additional merge fork (#997)
spencer-tb Feb 14, 2024
5511aef
simulators/portal/history: trin_bridge suite remove redundant extra c…
KolbyML Feb 14, 2024
b74962e
clients/erigon: Increase blobpool limit in Erigon (#1000)
somnathb1 Feb 14, 2024
2e26029
simulators/ethereum/pyspec: Refactor, add sync payload verification (…
marioevz Feb 15, 2024
37723c2
simulators/ethereum/consensus: add more 'paris' forks
fjl Feb 16, 2024
b56b122
simulators/portal/history: fix bug where only headers were tested (#1…
KolbyML Feb 26, 2024
ad0b0ee
clients/reth: make sure pruner doesn't start on tests (#1002)
joshieDo Feb 27, 2024
23767cb
simulators/eth2: Fix Docker golang version (#1003)
marioevz Feb 28, 2024
725bef0
clients/portal: update Dockerfiles to use baseimage/tag arg format (#…
KolbyML Mar 1, 2024
42ff2c5
simulators/portal: bump version of ethportal-api used (#1007)
KolbyML Mar 1, 2024
867fe9c
clients: add shisui (golang) portal client (#1018)
fearlessfe Mar 4, 2024
ebe4313
simulators/ethereum/engine: Optimize Blob generation, KZG pre-compute…
marioevz Mar 5, 2024
ab757b2
simulators/portal/state: simulator for Portal State Network testing (…
KolbyML Mar 5, 2024
1f30620
simulators/portal/beacon: add beacon interop test suite (#1023)
KolbyML Mar 5, 2024
91f6043
configs/cancun: Use ethpandaops branches
marioevz Oct 21, 2023
fe9e010
simulators/eth2/common: Deneb, add blobber, refactor
marioevz Feb 27, 2024
2db3f41
simulators/eth2/engine: remove pre-merge tests, fix updates to common
marioevz Sep 25, 2023
3490e84
simulators/eth2/withdrawals: Update to latest common
marioevz Sep 25, 2023
4095858
simulators/eth2/testnet: fix
marioevz Oct 2, 2023
b9919d4
simulators/eth2/dencun: Add suite
marioevz Feb 27, 2024
0d3ca4e
Merge pull request #838 from marioevz/eth2-dencun
marioevz Mar 5, 2024
81d0209
circleci: Use default ubuntu machine (#1021)
marioevz Mar 5, 2024
4fdf90e
clients/fluffy: use --networks cli option in fluffy client start scri…
kdeme Mar 5, 2024
f69df86
simulators/ethereum/engine: TransactionCreator - Keep track of blobs …
marioevz Mar 5, 2024
80304c6
simulators/eth2/dencun: Fixes to builder tests (#1028)
marioevz Mar 5, 2024
7fa0ceb
clients/nimbus-bn,vc: use ethpandaops prebuilt docker images (#1027)
marioevz Mar 6, 2024
c78f872
clients/nethermind: enable snap serving (#1004)
spencer-tb Mar 6, 2024
4fa9f12
simulators/eth2: Update blobber (#1031)
marioevz Mar 6, 2024
cedfedf
simulators/portal/beacon: add beacon mesh test suite (#1032)
KolbyML Mar 7, 2024
22557d0
simulators/portal: update hivesim-rs dependency (#1034)
KolbyML Mar 8, 2024
0146782
simulators/portal/state: add state interop test suite (#1035)
KolbyML Mar 8, 2024
e428fe2
simulators/portal: clean up rpc_compat (#1036)
KolbyML Mar 8, 2024
b19a151
simulators/portal/state: fix state interop suite name (#1037)
KolbyML Mar 8, 2024
d78973b
clients/prysm: use `latest` tag instead of `latest-debug` (#1038)
marioevz Mar 8, 2024
51dd64e
simulators/eth2/dencun: Builder suite: Poll mock builder to wait for …
marioevz Mar 13, 2024
6b77836
simulators/portal: set version of sigp/enr library as breaking change…
KolbyML Mar 15, 2024
11ac58e
simulators/portal: bump ethportal-api (#1054)
KolbyML Mar 18, 2024
0db3956
simulators/portal/history: bump tests util crate adding cancun (#1055)
KolbyML Mar 18, 2024
370b083
go.mod: upgrade to github.com/fsouza/go-dockerclient v1.11.0
fjl Mar 19, 2024
d286d6d
go.mod: remove github.com/opencontainers/runc dependency
fjl Mar 19, 2024
d7a0be0
go.mod: upgrade to google.golang.org/protobuf v1.33.0
fjl Mar 19, 2024
f3b989e
.circleci: update go mod tidy target version in script
fjl Mar 19, 2024
ae22437
hivesim: remove reference to internal package in API
fjl Mar 19, 2024
5218b7c
simulators/devp2p: upgrade hivesim
fjl Mar 19, 2024
4264633
simulators/ethereum/consensus: upgrade hivesim
fjl Mar 19, 2024
533b2ae
simulators/ethereum/engine: upgrade hivesim
fjl Mar 19, 2024
7ddf6a8
simulators/ethereum/graphql: upgrade hivesim
fjl Mar 19, 2024
dd932a7
simulators/ethereum/pyspec: upgrade hivesim
fjl Mar 19, 2024
b09ef91
simulators/ethereum/rpc-compat: upgrade hivesim
fjl Mar 19, 2024
fa50641
simulators/ethereum/rpc: upgrade hivesim
fjl Mar 19, 2024
790492d
simulators/ethereum/sync: upgrade hivesim
fjl Mar 19, 2024
6268c39
simulators/smoke: upgrade hivesim
fjl Mar 19, 2024
3640b0f
simulators/eth2/withdrawals: upgrade hivesim
fjl Mar 19, 2024
d185079
simulators/eth2/common: upgrade hivesim
fjl Mar 19, 2024
e8ae4fa
simulators/eth2/testnet: upgrade hivesim
fjl Mar 19, 2024
8c53df8
simulators/eth2/dencun: upgrade hivesim
fjl Mar 19, 2024
a52cd6d
simulators/eth2/engine: upgrade hivesim
fjl Mar 19, 2024
daf50f5
simulators/eth2: update go.work.sum
fjl Mar 19, 2024
f6bcbc6
simulators/eth2/common: remove go-ethereum module replacement
fjl Mar 19, 2024
67e8858
simulators/eth2/dencun: remove go-ethereum module replacement
fjl Mar 19, 2024
c548e03
simulators/eth2: update go.work.sum
fjl Mar 19, 2024
3e37596
go.mod: upgrade golang.org/x/crypto
fjl Mar 19, 2024
52c0b2e
simulators/devp2p: upgrade golang.org/x/crypto
fjl Mar 19, 2024
30e9192
simulators/eth2/common: upgrade golang.org/x/crypto
fjl Mar 19, 2024
c2f260d
simulators/eth2/dencun: upgrade golang.org/x/crypto
fjl Mar 19, 2024
f8fabe2
simulators/eth2/engine: upgrade golang.org/x/crypto
fjl Mar 19, 2024
45b2ec1
simulators/eth2/testnet: upgrade golang.org/x/crypto
fjl Mar 19, 2024
74d3247
simulators/eth2/withdrawals: upgrade golang.org/x/crypto
fjl Mar 19, 2024
1e9c1ec
simulators/ethereum/consensus: upgrade golang.org/x/crypto
fjl Mar 19, 2024
071d94f
simulators/ethereum/engine: upgrade golang.org/x/crypto
fjl Mar 19, 2024
440edce
simulators/ethereum/graphql: upgrade golang.org/x/crypto
fjl Mar 19, 2024
11e34d9
simulators/ethereum/pyspec: upgrade golang.org/x/crypto
fjl Mar 19, 2024
853c38a
simulators/ethereum/rpc-compat: upgrade golang.org/x/crypto
fjl Mar 19, 2024
68c6b64
simulators/ethereum/rpc: upgrade golang.org/x/crypto
fjl Mar 19, 2024
53e60b0
simulators/ethereum/sync: upgrade golang.org/x/crypto
fjl Mar 19, 2024
c613118
simulators/smoke: upgrade golang.org/x/crypto
fjl Mar 19, 2024
988c05b
simulators/eth2: update go.work.sum
fjl Mar 19, 2024
bbcddce
hiveproxy: upgrade dependencies
fjl Mar 19, 2024
ea9be08
go.mod: upgrade dependencies
fjl Mar 19, 2024
9fb211d
cmd/hivechain: fix build with latest go-ethereum
fjl Mar 19, 2024
17f7055
all: use golang 1.22 in Dockerfiles (#1061)
Rjected Mar 20, 2024
b3ceb6e
build(deps): bump github.com/docker/docker from 25.0.4+incompatible t…
dependabot[bot] Mar 20, 2024
aae7628
simulators/portal: fix zstd version (#1069)
KolbyML Mar 30, 2024
e4c0682
clients/shisui: update startup script (#1065)
fearlessfe Apr 1, 2024
b1ecdc2
chore: fix typos (#1070)
xiaoxianBoy Apr 2, 2024
2c4ec91
clients/grandine-bn: Grandine client support (#1067)
sauliusgrigaitis Apr 2, 2024
3876be2
clients/trin: update networks flag to portal-subnetworks (#1077)
KolbyML Apr 17, 2024
c0bb143
clients/trin-bridge: updated bridge params for the latest version (#1…
KolbyML Apr 28, 2024
d3b0513
simulators/portal: add docker caching step for building rust simulato…
acolytec3 May 1, 2024
77a39de
Fix ethereumjs docker build steps (#1104)
acolytec3 May 8, 2024
78843f9
clients/ethereumjs: more script fixes (#1105)
acolytec3 May 10, 2024
120586e
clients/trin-bridge: update outdated bridge args (#1103)
njgheorghita May 10, 2024
2a652c7
Erigon3 on Hive tests (#1106)
Giulio2002 May 20, 2024
2322e76
simulators/ethereum/sync: remove blob fields from newPayloadV2 (#1112)
Rjected Jun 4, 2024
2359b73
clients/ethereumjs: update build to support RLP /blocks (#1109)
acolytec3 Jun 4, 2024
1f627b5
clients/ethereumjs: pad genesis storage keys in mapper (#1111)
spencer-tb Jun 4, 2024
7a22401
simulators/portal/beacon: Remove incomplete gossip/offer tests (#1113)
kdeme Jun 6, 2024
aac2180
clients/reth: remove --debug.continuous usage (#1115)
Rjected Jun 7, 2024
f09df20
clients/reth: pass HIVE_CLIQUE_PERIOD to reth script (#1116)
Rjected Jun 7, 2024
797d639
go.mod, cmd/hivechain: upgrade to go-ethereum v1.14.5
fjl Jun 10, 2024
786a798
hiveproxy: upgrade to go-ethereum v1.14.5
fjl Jun 10, 2024
2430a68
go.mod: upgrade hiveproxy
fjl Jun 10, 2024
b4281b1
simulators/devp2p: upgrade hivesim
fjl Jun 10, 2024
6c5c547
simulators/ethereum/consensus: upgrade hivesim
fjl Jun 10, 2024
4533b07
simulators/smoke: upgrade hivesim
fjl Jun 10, 2024
c741e58
simulators/ethereum/engine: upgrade to go-ethereum v1.14.5
fjl Jun 10, 2024
a83e957
simulators/eth2: upgrade hivesim
fjl Jun 10, 2024
8f5e834
simulators/ethereum/pyspec: upgrade hivesim
fjl Jun 10, 2024
2a745e7
simulators/ethereum/graphql: upgrade hivesim
fjl Jun 10, 2024
eb5853a
simulators/ethereum/sync: upgrade hivesim
fjl Jun 10, 2024
57ebbab
simulators/ethereum/rpc: upgrade hivesim
fjl Jun 10, 2024
46f6efa
simulators/ethereum/rpc-compat: upgrade hivesim
fjl Jun 10, 2024
ff181ea
all: fix typos in comments (#1076)
hugehope Jun 10, 2024
5530c73
clients/nimbus-el: change command line option --prune-mode to --chain…
jangko Jun 10, 2024
6ba6f42
simulators/ethereum/engine/cancun: Maintain devp2p client peering (#1…
spencer-tb Jun 10, 2024
c4dedf5
simulators/ethereum/engine: Increase engine timeouts (#1075)
spencer-tb Jun 10, 2024
5703ad2
clients/fluffy: Add --disable-state-root-validation to Fluffy startup…
bhartnett Jun 11, 2024
38b1720
simulators/ethereum/rpc-compat: bump buffer size for loading test (#1…
s1na Jun 11, 2024
d61b11e
clients/shisui: enable nat in hive test (#1121)
GrapeBaBa Jun 14, 2024
2abbb16
clients/shisui: enable `none` bootnodes for portal hive test (#1124)
GrapeBaBa Jun 18, 2024
7ffba98
internal/libdocker: specify API version (#1125)
fjl Jun 20, 2024
62b3362
hivesim-rs: add hivesim-rs a rust implementation of hivesim (#1126)
KolbyML Jun 21, 2024
7b407a5
simulators/portal: update simulators to use updated hivesim-rs with s…
KolbyML Jun 21, 2024
c247cec
clients/reth: enable discv5 (#1128)
emhane Jun 25, 2024
d9020d2
clients/reth: revert pull/1128 (#1129)
emhane Jun 25, 2024
85ee1fa
clients/ethereumjs: fix for null storage in mapper (#1134)
jochem-brouwer Jul 3, 2024
7ea610c
simulators/ethereum/engine: lower withdrawals test timeout to 240s (#…
joshieDo Jul 3, 2024
d67080a
clients/fluffy: Update to the new subnetworks and network cli flags (…
kdeme Jul 10, 2024
6f37e79
simulators/ethereum/consensus: split test suites (#1130)
winsvega Jul 15, 2024
c87a99d
hivesim: add workaround for null client def responses
fjl Jul 15, 2024
600e094
simulators: upgrade hivesim
fjl Jul 15, 2024
dfc5aa7
simulators/portal: consolidate portal simulators (#1107)
KolbyML Jul 22, 2024
491cad4
simulators/portal: update test data file link (#1137)
KolbyML Jul 25, 2024
c91c0f7
clients/ethereumjs: enable WS in startup script (#1141)
ScottyPoi Jul 29, 2024
8fd042d
clients/besu: bump java distribution to v21 (#1139)
Gabriel-Trintinalia Jul 29, 2024
763352f
clients/besu: change syncmode X_SNAP to SNAP
fjl Aug 7, 2024
fcd7f22
simulators/ethereum/pyspec: fix fixture directory name (#1140)
joshieDo Aug 7, 2024
e829a68
internal/libdocker: fix param order for docker.NewVersionedClient (#1…
bhartnett Aug 7, 2024
cf284d2
go.mod: upgrade docker dependencies
fjl Aug 7, 2024
fe628fd
simulators/ethereum/engine: Fix state scheme issue in Geth node (#1148)
marioevz Aug 7, 2024
625b822
simulators/portal: update ethportal-api version (#1146)
KolbyML Aug 8, 2024
81fc9a3
hivesim-rs: allow test data to be generic (#1150)
morph-dev Aug 15, 2024
0a33f89
simulators/portal: update portal simulators to newest version of hive…
morph-dev Aug 15, 2024
cf4f55c
simulators/portal: store block header before gossip and offer state r…
morph-dev Aug 19, 2024
e8819f1
internal/libhive: skip unsuccessful build of client (#1154)
s1na Aug 20, 2024
f47eebb
internal/libhive: fix build
fjl Aug 20, 2024
91829cc
clients/erigon: disable incompatible performance optimization (#1155)
yperbasis Aug 22, 2024
7f94d57
clients/trin*: update log levels to be cleaner + informative (#1158)
KolbyML Sep 2, 2024
d695836
simulators/ethereum/engine: Fix SYNCING FCU expectation (#1159)
marioevz Sep 2, 2024
7346e40
clients/besu: Enable snap server (#1160)
Gabriel-Trintinalia Sep 3, 2024
d86b6cc
clients/besu,erigon,ethereumjs,go-ethereum,nethermind,reth,nimbus-el:…
marioevz Sep 5, 2024
d74ee94
clients/erigon: update dockerhub (#1163)
yperbasis Sep 12, 2024
4135154
simulators/portal: move test utils back to Portal simulator (#1164)
KolbyML Sep 13, 2024
8e3ffff
clients/trin-bridge: remove unnecessary trin bridge cli arg (#1165)
njgheorghita Sep 18, 2024
5c58929
hivesim-rs: bump dependency versions (#1166)
KolbyML Sep 19, 2024
81be591
simulators/portal: update ethportal-api version (add support for head…
KolbyML Sep 19, 2024
e526a07
clients/fluffy: add --rpc-api flag to Fluffy startup script (#1168)
bhartnett Sep 25, 2024
c044bf0
clients/erigon: update erigon tag (#1171)
somnathb1 Oct 8, 2024
4408fc1
hivesim-rs: bump jsonrpsee version (#1172)
KolbyML Oct 9, 2024
e2079ed
simulators/portal: update ethportal-api for offer update (#1173)
KolbyML Oct 9, 2024
606429b
simulators/portal: update recursive_find_content to get_content (#1175)
KolbyML Oct 18, 2024
ce76272
simulators/portal: update ethportal-api for cleaner return types for …
KolbyML Oct 19, 2024
b510783
clients/ethereumjs: Fix Dockerfile.local (#1174)
jochem-brouwer Oct 29, 2024
7b0ce98
simulators/ethereum: add eest consume engine/rlp and remove pyspec (#…
spencer-tb Nov 7, 2024
a0ad3e1
cmd/hivechain: update contracts for geas v0.2
fjl Nov 25, 2024
c6f5759
clients/nethermind: fix configuration settings (#1181)
rubo Nov 28, 2024
96daf48
clients/go-ethereum: ensure terminalTotalDifficulty is always set
fjl Nov 29, 2024
fe95873
hive: add --sim.buildarg flag (#1179)
marioevz Dec 3, 2024
992af50
all: use log/slog instead of log15 (#1182)
fjl Dec 3, 2024
04965aa
simulators/eth/eest: use `--sim.buildarg` for consume (#1180)
spencer-tb Dec 4, 2024
204c200
clients/erigon: update github repo name in git Dockerfile (#1183)
somnathb1 Dec 5, 2024
fd86398
hive: fix --sim.buildarg
fjl Dec 5, 2024
09898e6
nethermind: fix dotnet9 docker image tag (#1184)
rjnrohit Dec 6, 2024
97e808a
cmd/hivechain: add support for generating PoS-only chain (#1187)
fjl Dec 16, 2024
3d058dd
cmd/hivechain: add support for prague fork concepts (#1188)
fjl Dec 17, 2024
34dd8b5
cmd/hivechain: update for upstream EIP-7702 API changes
fjl Dec 18, 2024
653b8f2
clients/samba: add samba portal network client definition (#1189)
meldsun0 Dec 19, 2024
788ef17
go.mod: update go-ethereum for new system contract addresses
fjl Dec 20, 2024
6ba7397
cmd/hivechain: add return op to 7702 contract code (#1191)
lightclient Dec 20, 2024
2e54a96
simulators/ethereum/eest: Add `branch` buildarg (#1192)
marioevz Dec 23, 2024
1e01f7e
simulators/portal: update gossip to put content tests (#1196)
KolbyML Jan 2, 2025
c30dd42
simulators/ethereum/engine: remove terminal total difficulty (#1186)
fjl Jan 3, 2025
5ccd057
internal/libdocker: return context error correctly in archiveFS (#1190)
alingse Jan 6, 2025
3b1b117
simulators/ethereum/engine: fix typo in comment (#1195)
MonkeyKing44 Jan 6, 2025
e44fca6
cmd/hive, internal/simapi: fix typos in comments (#1193)
chloefeal Jan 6, 2025
57886d9
simulators/ethereum/engine: fix typo in README.md (#1197)
petryshkaCODE Jan 6, 2025
e201282
simulators/ethereum/engine: TTD related fixes (#1199)
marioevz Jan 7, 2025
40cc97b
clients/go-ethereum: hardcode deposit contract address (#1202)
s1na Jan 9, 2025
860c111
hive: fix too large multipart request (#1201)
s1na Jan 9, 2025
34e03c6
cmd/hiveview: enable asset loading with relative paths (#1203)
skylenet Jan 10, 2025
3971bdd
cmd/hiveview: show ms when tests take less than a second (#1204)
skylenet Jan 10, 2025
c5662af
cmd/hiveview: add dark mode (#1205)
skylenet Jan 10, 2025
f0486e0
clients: add blob schedule to genesis files (#1207)
parithosh Jan 14, 2025
daef1bb
clients/nethermind: add 7623 transition timestamp to prague (#1209)
tanishqjasoria Jan 15, 2025
5beaebb
client/shisui: change docker image repo (#1210)
fearlessfe Jan 16, 2025
26f762e
hive: add flag to enable just docker build outputs to stderr (#1211)
skylenet Jan 17, 2025
c53209a
clients: add baseFeeUpdateFraction to the genesis files (#1215)
parithosh Jan 20, 2025
7910cae
internal/libdocker: fix typo in comment (#1212)
MaxweLL22-22 Jan 20, 2025
54fb569
clients/trin: add Dockerfile support to build Trin from git (#1217)
KolbyML Jan 21, 2025
17e0070
clients/erigon: Add deposit contract to mapper jq (#1221)
somnathb1 Jan 21, 2025
34ee7d3
internal/libhive: add instance information endpoint to simulation API…
marioevz Jan 21, 2025
49fefe2
clients/fluffy: add Dockerfile support to build Fluffy from git (#1218)
KolbyML Jan 22, 2025
d25a713
clients/ultralight: add Dockerfile support to build Ultralight from g…
KolbyML Jan 22, 2025
dbc4dd7
clients/shisui: add Dockerfile support to build Shisui from git (#1220)
KolbyML Jan 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
82 changes: 9 additions & 73 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,79 +1,15 @@
version: 2.1
orbs:
go: circleci/[email protected]

jobs:
# This job builds the hive executable and stores it in the workspace.
build:
docker:
- image: cimg/go:1.19
steps:
# Build it.
- checkout
- go/load-cache
- go/mod-download
- go/save-cache
- run: {command: 'go build -ldflags="-extldflags=-static" .'}
# Store the executable.
- persist_to_workspace:
root: .
paths: ["hive"]

# This job runs the smoke test simulations. This requires a virtual
# machine instead of the container-based build environment because
# hive needs to be able to talk to the docker containers it creates.
smoke-tests:
machine:
image: ubuntu-2004:202201-02
steps:
- checkout
- attach_workspace: {at: "/tmp/build"}
- run:
command: "/tmp/build/hive --sim=smoke/genesis --client=go-ethereum"
- run:
command: "/tmp/build/hive --sim=smoke/network --client=go-ethereum"
setup: true

# This job also runs the smoke test simulations, but against a remote dockerd.
smoke-tests-remote-docker:
docker:
- image: cimg/base:2022.04
steps:
- checkout
- attach_workspace: {at: "/tmp/build"}
- setup_remote_docker: {version: 20.10.14}
- run:
command: "/tmp/build/hive --sim=smoke/genesis --client=go-ethereum --loglevel 5"
- run:
command: "/tmp/build/hive --sim=smoke/network --client=go-ethereum --loglevel 5"

# This job runs the go unit tests.
go-test:
docker:
- image: cimg/go:1.19
steps:
# Get the source.
- checkout
- go/load-cache
- go/mod-download
- go/save-cache
# Run the tests.
- run:
name: "hive module tests"
command: "go test -cover ./..."
- run:
name: "hiveproxy module tests"
command: "go test -cover ./..."
working_directory: "./hiveproxy"
- run:
name: "Compile Go simulators"
command: ".circleci/compile-simulators.sh"
orbs:
path-filtering: circleci/[email protected]

workflows:
main:
setup-workflow:
jobs:
- go-test
- build
- smoke-tests:
requires: ["build"]
- smoke-tests-remote-docker:
requires: ["build"]
- path-filtering/filter:
mapping: |
hivesim-rs/.* hivesim-rs-ci true
simulators/portal/.* rust-ci true
base-revision: origin/master
136 changes: 136 additions & 0 deletions .circleci/continue_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
version: 2.1
orbs:
go: circleci/[email protected]

parameters:
rust-ci:
type: boolean
default: false
hivesim-rs-ci:
type: boolean
default: false

jobs:
# This job builds the hive executable and stores it in the workspace.
build:
docker:
- image: cimg/go:1.21
steps:
# Build it.
- checkout
- go/load-cache
- go/mod-download
- go/save-cache
- run: {command: 'go build -ldflags="-s -extldflags=-static" -tags "osusergo netgo static_build" .'}
# Store the executable.
- persist_to_workspace:
root: .
paths: ["hive"]

# This job runs the smoke test simulations. This requires a virtual
# machine instead of the container-based build environment because
# hive needs to be able to talk to the docker containers it creates.
smoke-tests:
machine:
image: default
steps:
- checkout
- attach_workspace: {at: "/tmp/build"}
- run:
command: "/tmp/build/hive --sim=smoke/genesis --client=go-ethereum"
- run:
command: "/tmp/build/hive --sim=smoke/network --client=go-ethereum"

# This job also runs the smoke test simulations, but against a remote dockerd.
smoke-tests-remote-docker:
docker:
- image: cimg/base:2022.04
steps:
- checkout
- attach_workspace: {at: "/tmp/build"}
- setup_remote_docker
- run:
command: "/tmp/build/hive --sim=smoke/genesis --client=go-ethereum --loglevel 5"
- run:
command: "/tmp/build/hive --sim=smoke/network --client=go-ethereum --loglevel 5"

# This job runs the go unit tests.
go-test:
docker:
- image: cimg/go:1.21
steps:
# Get the source.
- checkout
- go/load-cache
- go/mod-download
- go/save-cache
# Run the tests.
- run:
name: "hive module tests"
command: "go test -cover ./..."
- run:
name: "hiveproxy module tests"
command: "go test -cover ./..."
working_directory: "./hiveproxy"
- run:
name: "Compile Go simulators"
command: ".circleci/compile-simulators.sh"
# this makes sure the rust code is good
hivesim-rs:
docker:
- image: cimg/rust:1.81.0
steps:
- checkout
- run:
name: Install rustfmt
command: rustup component add rustfmt
- run:
name: Install Clippy
command: rustup component add clippy
- run:
name: Install Clang
command: sudo apt update && sudo apt-get install clang -y
- run:
name: "Lint"
command: "cd hivesim-rs && cargo fmt --all -- --check"
- run:
name: "Build"
command: "cd hivesim-rs && cargo clippy --all --all-targets --all-features --no-deps -- --deny warnings"
- run:
name: "Test hivesim-rs"
command: "cd hivesim-rs && cargo test --workspace -- --nocapture"
rust-simulators:
docker:
- image: cimg/rust:1.81.0
steps:
- checkout
- run:
name: Install rustfmt
command: rustup component add rustfmt
- run:
name: Install Clippy
command: rustup component add clippy
- run:
name: Install Clang
command: sudo apt update && sudo apt-get install clang -y
- run:
name: "Lint, build, test Rust simulators"
command: ".circleci/rust-simulators.sh"

workflows:
main:
jobs:
- go-test
- build
- smoke-tests:
requires: ["build"]
- smoke-tests-remote-docker:
requires: ["build"]
rust-simulator-jobs:
when: << pipeline.parameters.rust-ci >>
jobs:
- rust-simulators
hivesim-rs-jobs:
when: << pipeline.parameters.hivesim-rs-ci >>
jobs:
- hivesim-rs
16 changes: 16 additions & 0 deletions .circleci/rust-simulators.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash

# This causes the bash script to exit immediately if any commands errors out
set -e

failed=""
sims=$(find simulators -name Cargo.toml)
for d in $sims; do
d="$(dirname "$d")"
echo "Lint, build, test $d"
( cd "$d" || exit 1;
cargo fmt --all -- --check;
cargo clippy --all --all-targets --all-features --no-deps -- --deny warnings;
cargo test --workspace -- --nocapture;
)
done
2 changes: 1 addition & 1 deletion .circleci/upgrade-hivesim.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ for d in $sims; do
set -e
cd $d
go get -d "github.com/ethereum/hive@$version"
go mod tidy -compat=1.17
go mod tidy -compat=1.21
)
done
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@ workspace
.idea/
# build output
/hive

# build output for rust simulators and hivesim-rs files
simulators/**/target
hivesim-rs/Cargo.lock
hivesim-rs/target
1 change: 0 additions & 1 deletion clients/besu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ COPY genesis.json /genesis.json
COPY mapper.jq /mapper.jq
COPY besu.sh /opt/besu/bin/besu-hive.sh
COPY enode.sh /hive-bin/enode.sh
COPY trusted_setup.txt /trusted_setup.txt

# Set execute permissions for scripts
RUN chmod +x /opt/besu/bin/besu-hive.sh /hive-bin/enode.sh
Expand Down
15 changes: 9 additions & 6 deletions clients/besu/Dockerfile.git
Original file line number Diff line number Diff line change
@@ -1,24 +1,28 @@
### Build Besu From Git:

## Builder stage: Compiles besu from a git repository
FROM openjdk:17-jdk-slim as builder
FROM ubuntu:22.04 as builder

ARG tag=main
ARG github=hyperledger/besu

RUN echo "Cloning: $github - $tag" && \
apt-get update && apt-get install -y git libsodium-dev libnss3-dev \
RUN echo "installing java on ubuntu base image" \
&& apt-get update && apt-get install -y git libsodium-dev libnss3-dev \
&& apt-get install --no-install-recommends -q --assume-yes ca-certificates-java=20190909* \
&& apt-get install --no-install-recommends -q --assume-yes openjdk-21-jre-headless=21* libjemalloc-dev=5.* \
&& echo "Cloning: $github - $tag" \
&& git clone --depth 1 --branch $tag https://github.com/$github \
&& cd besu && ./gradlew installDist

## Final stage: Sets up the environment for running besu
FROM openjdk:17-jdk-slim
FROM ubuntu:22.04

# Copy compiled binary from builder
COPY --from=builder /besu/build/install/besu /opt/besu

RUN apt-get update && apt-get install -y curl jq libsodium23 libnss3-dev \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
&& apt-get install --no-install-recommends -q --assume-yes openjdk-21-jre-headless=21* libjemalloc-dev=5.* \
&& apt-get clean && rm -rf /var/lib/apt/lists/*

# Create version.txt
RUN /opt/besu/bin/besu --version > /version.txt
Expand All @@ -28,7 +32,6 @@ COPY genesis.json /genesis.json
COPY mapper.jq /mapper.jq
COPY besu.sh /opt/besu/bin/besu-hive.sh
COPY enode.sh /hive-bin/enode.sh
COPY trusted_setup.txt /trusted_setup.txt

# Set execute permissions for scripts
RUN chmod +x /opt/besu/bin/besu-hive.sh /hive-bin/enode.sh
Expand Down
9 changes: 6 additions & 3 deletions clients/besu/Dockerfile.local
Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@
### Build Besu Locally:

## Builder stage: Compiles besu from a local directory
FROM openjdk:17-jdk-slim as builder
FROM ubuntu:22.04 as builder

# Default local client path: clients/besu/<besu>
ARG local_path=besu
COPY $local_path besu

RUN apt-get update && apt-get install -y git libsodium-dev libnss3-dev \
&& apt-get install --no-install-recommends -q --assume-yes ca-certificates-java=20190909 \
&& apt-get install --no-install-recommends -q --assume-yes openjdk-21-jre-headless=21* libjemalloc-dev=5.* \
&& cd besu && ./gradlew installDist

## Final stage: Sets up the environment for running besu
FROM openjdk:17-jdk-slim
FROM ubuntu:22.04

# Copy compiled binary from builder
COPY --from=builder /besu/build/install/besu /opt/besu

RUN apt-get update && apt-get install -y curl jq libsodium23 libnss3-dev \
&& apt-get install --no-install-recommends -q --assume-yes ca-certificates-java=20190909 \
&& apt-get install --no-install-recommends -q --assume-yes openjdk-21-jre-headless=21* libjemalloc-dev=5.* \
&& apt-get clean && rm -rf /var/lib/apt/lists/*

# Create version.txt
Expand All @@ -27,7 +31,6 @@ COPY genesis.json /genesis.json
COPY mapper.jq /mapper.jq
COPY besu.sh /opt/besu/bin/besu-hive.sh
COPY enode.sh /hive-bin/enode.sh
COPY trusted_setup.txt /trusted_setup.txt

# Set execute permissions for scripts
RUN chmod +x /opt/besu/bin/besu-hive.sh /hive-bin/enode.sh
Expand Down
Loading