terence
1c9ded4684
Remove blind field from block type ( #13389 )
...
* Init
* Init
* Fix tests
2023-12-29 21:28:19 +00:00
Nishant Das
233f4d99a2
Update Libp2p To v0.32.1 and Go to v1.21.5 ( #13304 )
...
* update libp2p
* fix tests
* fix tests
* fix build
* update to go v1.21
* workflow
* workflow again
* update ci
* update golangci
* disable quic
2023-12-21 16:09:54 +00:00
Nishant Das
eb713d1177
Refactor Network Config Into Main Config ( #13364 )
...
* change parameters to main config
* add more changes
* change to accepted format
* fix changes in config
* gaz
* fix test
* fix test again
2023-12-19 14:59:30 +00:00
Nishant Das
b45a6664be
Enable Deneb For E2E Scenario Tests ( #13317 )
...
* fix all cases
* update web3signer
* current progress
* fix it finally
* push it back to capella
* remove hard-coded forks
* fix failing tests
* gaz
* fix dumb bug
* fix bad test setup
* change back
2023-12-16 11:37:44 +00:00
Preston Van Loon
db096488b0
fixing sa4006 ( #13350 )
2023-12-15 16:49:27 +00:00
Nishant Das
590317553c
Support New Subnet Backbone ( #13179 )
...
* add in changes
* fix it up
* fix test
* gaz
* lint
* add back
* fix tests
* fix it
* fix tests
* add lib
* fix it
2023-12-08 04:07:48 +00:00
Nishant Das
e1a3852f08
push up the defaults ( #13278 )
2023-12-06 16:46:46 +00:00
Nishant Das
ca36634de6
Improve Gossipsub Rejection Metric ( #13236 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-11-30 10:16:26 +00:00
Nishant Das
1c35b66132
Add Gossipsub Queue Flag ( #13237 )
...
* add it
* remove var
* fix tests
* terence's comments
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-11-30 14:22:59 +08:00
Nishant Das
9f41375550
remove subscriber checker ( #13234 )
2023-11-29 10:11:10 +08:00
Nishant Das
52f1b3f958
add in changes ( #13226 )
2023-11-28 22:12:13 +08:00
terence
6c85587d14
Update broadcast method to use BlobSidecar
instead of SingedBlobSidecar
( #13221 )
...
* Update broadcast method to use BlobSidecar instead of SingedBlobSidecar
* Fix test
2023-11-24 07:18:00 +00:00
kasey
1123df7432
Verified roblobs ( #13190 )
...
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-11-21 18:44:38 +00:00
Terence
57eda1de63
Add RO blob sidecar ( #13144 )
2023-11-01 10:03:49 -07:00
terencechain
76fec1799e
Replace Empty Slice Literals with Nil Slices ( #13093 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-23 16:36:11 +00:00
Delweng
29f8880638
beacon-node/rpc: fix go test datarace ( #13018 )
...
* beacon-chain/p2p: ust atomic.Bool instead of bool
Signed-off-by: jsvisa <delweng@gmail.com>
* beacon-chain/p2p,rpc: read mock.BroadcastMessages with lock
Signed-off-by: jsvisa <delweng@gmail.com>
* beacon-chain/p2p,rpc: read attestation with lock
Signed-off-by: jsvisa <delweng@gmail.com>
* beacon-chain/rpc: fix typo
Signed-off-by: jsvisa <delweng@gmail.com>
* beacon-chain/p2p: typo
Signed-off-by: jsvisa <delweng@gmail.com>
---------
Signed-off-by: jsvisa <delweng@gmail.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-10-22 15:12:55 +00:00
Delweng
71b08a50b7
beacon-chain/sync: fix some datarace in go test ( #13039 )
...
* beacon-chain/sync: adjust dataflow incase of datarace
Signed-off-by: jsvisa <delweng@gmail.com>
* beacon-chain/p2p: use atomic..Bool instead of bool
Signed-off-by: jsvisa <delweng@gmail.com>
* beacon-chain/sync: use channel to control concurrent
Signed-off-by: jsvisa <delweng@gmail.com>
* Revert "beacon-chain/sync: use channel to control concurrent"
This reverts commit 500d5b1ecdeef175e3a5970867d8176abd0763d7.
Signed-off-by: jsvisa <delweng@gmail.com>
* Revert "beacon-chain/sync: adjust dataflow incase of datarace"
This reverts commit 0c819e96cafb89ccba314ca98a8a0fdfcbb70b8c.
Signed-off-by: jsvisa <delweng@gmail.com>
* beacon-chain/sync: waitForChain is invoked inside registerHandlers
Signed-off-by: jsvisa <delweng@gmail.com>
* beacon-chain/sync: no need to registerHandler for waitForChainStart testcase
Signed-off-by: jsvisa <delweng@gmail.com>
* beacon-chain/sync: set p2p.Digest before goroutine
Signed-off-by: jsvisa <delweng@gmail.com>
---------
Signed-off-by: jsvisa <delweng@gmail.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-10-17 17:30:10 +00:00
terencechain
f49b2b9657
Update gossip_scoring_params.go ( #12732 )
2023-08-31 08:41:57 -05:00
james-prysm
a41c01cb5e
migrating get blob from eip4844 and deneb-integration ( #12603 )
2023-08-31 08:41:57 -05:00
terencechain
03fb7ed20c
fix: devnet6 interop issues ( #12545 )
2023-08-31 08:41:57 -05:00
kasey
87cd96afd3
BlobSidecarsByRoot ( #12420 )
...
* BlobSidecarsByRoot RPC handler
* BlobSidecarsByRange rpc handler (#12499 )
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
---------
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
2023-08-31 08:41:57 -05:00
terencechain
5b1634b335
Update ProposeBeaconBlock
Prysm RPC for Deneb (Non builder) ( #12495 )
2023-08-31 08:41:57 -05:00
terencechain
c03571138c
P2P: broadcast blob ( #12419 )
2023-08-31 08:41:57 -05:00
terencechain
e3ac8b7745
Add Blob Gossip ( #12413 )
2023-08-31 08:41:57 -05:00
Simon
cec32cb996
Append Dynamic Addinng Trusted Peer Apis ( #12531 )
...
* Append Dynamic Addinng Trusted Peer Apis
* Append unit tests for Dynamic Addinng Trusted Peer Apis
* Update beacon-chain/p2p/peers/peerdata/store.go
* Update beacon-chain/p2p/peers/peerdata/store_test.go
* Update beacon-chain/p2p/peers/peerdata/store_test.go
* Update beacon-chain/p2p/peers/peerdata/store_test.go
* Update beacon-chain/p2p/peers/status.go
* Update beacon-chain/p2p/peers/status_test.go
* Update beacon-chain/p2p/peers/status_test.go
* Update beacon-chain/rpc/eth/node/handlers.go
* Update beacon-chain/rpc/eth/node/handlers.go
* Update beacon-chain/rpc/eth/node/handlers.go
* Update beacon-chain/rpc/eth/node/handlers.go
* Move trusted peer apis from rpc/eth/v1/node to rpc/prysm/node; move peersToWatch into ensurePeerConnections function;
* Update beacon-chain/rpc/prysm/node/server.go
* Update beacon-chain/rpc/prysm/node/server.go
* fix go lint problem
* p2p/watch_peers.go: trusted peer makes AddrInfo structure by itself instead of using MakePeer().
p2p/service.go: add connectWithAllTrustedPeers function, before connectWithPeer, add trusted peer info into peer status.
p2p/peers/status.go: trusted peers are not included, when pruning outdated and disconnected peers.
* use readlock for GetTrustedPeers and IsTrustedPeers
---------
Co-authored-by: simon <sunminghui2@huawei.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2023-07-11 09:26:08 +00:00
Nishant Das
d5057cfb42
Add the Ability for Prysm To Handle Trusted Peers ( #12492 )
...
* add all changes
* add to peers to watch
* add tests
* Update beacon-chain/p2p/peers/peerdata/store_test.go
* radek's review
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-06-12 14:47:52 +00:00
Nishant Das
c1391f0de3
Always Favour Yamux for Multiplexing ( #12502 )
2023-06-08 04:02:46 +00:00
Preston Van Loon
1ffc92999f
p2p: Check peer threshold is met before giving up on ctx deadline ( #12446 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-05-28 13:24:59 +00:00
Preston Van Loon
cfa64ae013
Restore disable-peer-scorer flag ( #12386 )
...
* Revert "Make Peer Scorer Permanent Default (#12138 )"
This reverts commit 4d28d69fd9
.
* make peer scoring flag warning scary
2023-05-23 13:53:02 +00:00
Nishant Das
51bde7a845
disable it ( #12438 )
2023-05-22 19:18:13 +08:00
Simon
3ef3e1d13b
fix-subnets-oom ( #12388 )
...
fix-subnets-oom, close iterator after using it
2023-05-12 07:52:17 -05:00
Nick Sullivan
5c00fcb84f
Fix numerous spelling error and typos in the log messages, comments, and documentation. ( #12385 )
...
* Minor typos and spelling fixes (comments, logs, & docs only, no code changes)
* Fix seplling in log message
* Additional spelling tweaks based on review from @prestonvanloon
2023-05-11 20:45:43 +00:00
Raul Jordan
6f383f272a
Do Not Panic on Broadcasting Nil Object ( #12369 )
2023-05-07 05:00:30 +00:00
kasey
918129cf36
Replace statefeed Initialize ( #12285 )
...
* refactor initialization to blocking startup method
* require genesisSetter in blockchain, fix tests
* work-around gazelle weirdness
* fix dep gazelle ignores
* only call SetGenesis once
* fix typo
* validator test setup and fix to return right error
* move waitForChainStart to Start
* wire up sync Service.genesisWaiter
* fix p2p genesisWaiter plumbing
* remove extra clock type, integrate into genesis
and rename
* use time.Now when no Nower is specified
* remove unused ClockSetter
* simplify rpc context checking
* fix typo
* use clock everywhere in sync; [32]byte val root
* don't use DeepEqual to compare [32]byte and []byte
* don't use clock in init sync, not wired up yet
* use clock waiter in blockchain as well
* use cancelable contexts in tests with goroutines
* missed a reference to WithClockSetter
* Update beacon-chain/startup/genesis.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update beacon-chain/blockchain/service_test.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* more clear docs
* doc for NewClock
* move clock typedef to more logical file name
* adding documentation
* gaz
* fixes for capella
* reducing test raciness
* fix races in committee cache tests
* lint
* add tests on Duration slot math helper
* startup package test coverage
* fix bad merge
* set non-zero genesis time in tests that call Start
* happy deepsource, happy me-epsource
* replace Synced event with channel
* remove unused error
* remove accidental wip commit
* gaz!
* remove unused event constants
* remove sync statefeed subscription to fix deadlock
* remove state notifier
* fix build
---------
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: nisdas <nishdas93@gmail.com>
2023-05-03 04:34:01 +00:00
Justin Traglia
9f7711e74a
Enable misspell linter & fix findings ( #12272 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-04-14 10:03:11 +00:00
Nishant Das
17cfc60bdd
Enable Static Peer ID ( #12220 )
...
* static peer id
* kasey's review
2023-04-01 00:00:11 +00:00
Nishant Das
76c729f9fa
Add Pubsub Metrics Tracer ( #12178 )
...
* add tracer
* gaz
* preston's review
* preston's review
2023-03-24 12:36:10 +08:00
terencechain
d17996f8b0
Update to V4
🚀 ( #12134 )
...
* Update V3 from V4
* Fix build v3 -> v4
* Update ssz
* Update beacon_chain.pb.go
* Fix formatter import
* Update update-mockgen.sh comment to v4
* Fix conflicts. Pass build and tests
* Fix test
2023-03-17 18:52:56 +00:00
Nishant Das
4d28d69fd9
Make Peer Scorer Permanent Default ( #12138 )
...
* add changes
* gaz
* fix
2023-03-16 18:52:49 +08:00
Nishant Das
4f38ba38b7
Update Libp2p ( #12096 )
...
* update deps
* add preston's fix
* fix build
* gaz
* test fixes
2023-03-08 23:52:51 +08:00
Nishant Das
8d82ca08ab
Allow Testing Of Withdrawals On E2E Mainnet ( #12027 )
2023-02-23 12:04:53 +01:00
Pedro Gomes
094ff877f6
Fix NPE, ensure the listener is available ( #11946 )
...
* Fix NPE, ensure the listener is available
* Added test
---------
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2023-02-22 06:53:09 +00:00
terencechain
d4f3257f60
Rename block interfaces ( #11975 )
2023-02-09 10:23:32 +01:00
Potuz
c2194c57b7
Rate limit broadcasting of BLS changes at the fork and at RPC endpoint ( #11936 )
2023-01-31 09:31:22 -08:00
Potuz
56907bb2c6
Randomize bls changes at fork ( #11923 )
...
* Rate Limit broadcasting of BLS changes
* Rate limit BLS changes broadcasting
* random
* linting
* mock test
Co-authored-by: terencechain <terence@prysmaticlabs.com>
2023-01-26 23:13:28 +00:00
Radosław Kapka
77d3ccb9ad
Clean up state types ( #11916 )
...
* Clean up state types
* rename package
2023-01-26 14:40:12 +00:00
Patrice Vignola
83f48350b2
Fix a bunch of deepsource warnings ( #11814 )
2022-12-22 09:20:10 +00:00
Nishant Das
faf16f9e56
Allow Nodes Running Via VPNs To Make Successful Dials ( #11599 )
...
* fix it
* fix dialer for now
* fix build
* fix test
* fix to v0.24.0
* fix gaz
* fix build
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2022-12-06 14:54:45 +00:00
Ye Ding
e49d8f2162
Fix a race condition during initialization ( #11444 ) ( #11698 )
...
* Fix a race condition during initialization (#11444 )
* Fix tests
* Add more test cases
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2022-11-29 18:24:50 +00:00
Nishant Das
a23a5052bc
Add Gossip Handler For BLS To Execution Changes ( #11690 )
2022-11-26 11:07:05 -08:00