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

[Crypto] update BLST version #4693

Merged
merged 223 commits into from
Sep 13, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
223 commits
Select commit Hold shift + click to select a range
0038a1f
adjust block execution time buckets
zhangchiqing Jun 22, 2023
5193b7b
[State Sync] Add Execution Data ID Verification
peterargue Jul 28, 2023
829eaa6
undo method name change
peterargue Jul 28, 2023
56ea4fd
remove untracked export_report.json
peterargue Jul 28, 2023
3040ae1
add calculate tests, and fix duplicate update convert
peterargue Aug 9, 2023
9bc2df7
revert empty trie update change and fix tests
peterargue Aug 10, 2023
1996d8c
fix max message size error
peterargue Aug 11, 2023
a796c53
renames a method
thep2p Aug 22, 2023
ae3e9d8
develops open protected stream logic
thep2p Aug 22, 2023
df35fca
migrates the logic of stream creation to libp2p
thep2p Aug 23, 2023
da2085c
replaces send direct in network with open protected stream
thep2p Aug 23, 2023
d88a0b5
wip refactoring middleware tests
thep2p Aug 23, 2023
c20fbeb
adds updatable identity provider to network fixtures
thep2p Aug 24, 2023
6c98e30
wip fixes middleware tests
thep2p Aug 24, 2023
cf81e76
fixes tests echo and ping
thep2p Aug 24, 2023
04d7ec1
fixes all tests in middleware test suite
thep2p Aug 24, 2023
b2fadda
cleans up the overlay from middleware
thep2p Aug 25, 2023
b3868e9
define register index store interface
Aug 23, 2023
0bddab7
add register interface comments
Aug 25, 2023
fe920e3
fix lint imports
Aug 25, 2023
75a0217
Merge branch 'master' into petera/execution-data-verification
peterargue Aug 28, 2023
b048e99
moves set violation consumer to midddleware logic
thep2p Aug 28, 2023
182d491
fixes TestNetworkPassesReportedMisbehavior
thep2p Aug 28, 2023
3edcba0
removes set slashing violation consumer off the middleware
thep2p Aug 28, 2023
f1a65b8
fixes TestUnicastAuthorization_EjectedPeer
thep2p Aug 28, 2023
c0b9632
fixes TestUnicastAuthorization_EjectedPeer
thep2p Aug 28, 2023
0dd523f
fixes TestUnicastAuthorization_UnknownMsgCode
thep2p Aug 28, 2023
6dae80a
fixes TestUnicastAuthorization_WrongMsgCode
thep2p Aug 28, 2023
89d91af
Update storage/register.go
devbugging Aug 29, 2023
049cb0e
extend error case comment
Aug 29, 2023
025d29f
rename to plural
Aug 29, 2023
ec9f052
make register write idempotent
Aug 29, 2023
34aa1e7
fix typo
omahs Aug 29, 2023
8dfdd22
fix typos
omahs Aug 29, 2023
8cacc17
fix typo
omahs Aug 29, 2023
c94c1d9
fixes TestUnicastAuthorization_PublicChannel
thep2p Aug 29, 2023
11aed1e
fixes TestUnicastAuthorization_ReceiverHasNoSubscription
thep2p Aug 29, 2023
0c671c9
fixes TestUnicastAuthorization_PublicChannel
thep2p Aug 29, 2023
40874fa
fixes TestUnicastAuthorization_ReceiverHasSubscription
thep2p Aug 29, 2023
143aec5
cleans up middleware from the unicast authorization tests
thep2p Aug 29, 2023
d0cf848
removes send direct from middleware interface
thep2p Aug 29, 2023
1a906fe
fixes TestConnGater
thep2p Aug 29, 2023
75384e7
wip replacing create stream with open protected stream
thep2p Aug 29, 2023
aee14a6
fixes TestStreamClosing
thep2p Aug 29, 2023
6380b6a
fixes TestCrosstalkPreventionOnNetworkKeyChange
thep2p Aug 29, 2023
9c92615
refactors fixtures with open protected stream
thep2p Aug 29, 2023
e9ae29a
fixes TestFindPeerWithDHT
thep2p Aug 29, 2023
8cd91a2
refactors fixtures with open protected stream
thep2p Aug 29, 2023
3aff329
refactors libp2p stream tests
thep2p Aug 29, 2023
832a23a
fixes TestCreateStream_FallBack
thep2p Aug 29, 2023
78aef2c
fixes TestCreateStreamIsConcurrencySafe
thep2p Aug 29, 2023
f1e09dd
fixes TestNoBackoffWhenCreatingStream
thep2p Aug 29, 2023
1264e92
fixes TestCreateStreamTimeoutWithUnresponsiveNode
thep2p Aug 29, 2023
44f22e6
fixes TestCreateStreamIsConcurrent
thep2p Aug 29, 2023
a8e2547
fixes TestCreateStreamIsConcurrent
thep2p Aug 29, 2023
cf07f4d
fixes TestOneToOneCrosstalkPrevention
thep2p Aug 29, 2023
771c92b
fixes testOneToOneMessagingFails
thep2p Aug 29, 2023
1db8652
removes create stream from libp2p interface
thep2p Aug 29, 2023
37af406
adds ID to libp2p node interface
thep2p Aug 29, 2023
c190fb9
replaces Host().ID() with ID()
thep2p Aug 29, 2023
0ab2088
renames add peer
thep2p Aug 29, 2023
67b5cc4
Merge remote-tracking branch 'origin/master' into yahya/6851-refactor…
thep2p Aug 29, 2023
7b204d0
fixes merge issues
thep2p Aug 29, 2023
374408a
fixes merge issues
thep2p Aug 29, 2023
d8c9149
fixes mocks
thep2p Aug 29, 2023
24c7c32
fixes tests
thep2p Aug 29, 2023
c5a1ce2
lint fix
thep2p Aug 29, 2023
e8b0e7b
lint fix
thep2p Aug 29, 2023
f2e8d4e
fixes tests issues
thep2p Aug 29, 2023
cd3aeb7
fixes a test
thep2p Aug 29, 2023
71d0f66
fixes lint issues
thep2p Aug 29, 2023
0c5b76f
fixes lint issue
thep2p Aug 29, 2023
0df643c
fixes lint issues
thep2p Aug 29, 2023
7c78493
Merge branch 'master' into petera/execution-data-verification
peterargue Aug 29, 2023
33fdd53
Update storage/registers.go
devbugging Aug 30, 2023
7b05d17
fixes middleware tests
thep2p Aug 30, 2023
d1bdd4f
Revert "fixes middleware tests"
thep2p Aug 30, 2023
141ccb8
moves read subscription to a separate package
thep2p Aug 30, 2023
20abebf
merges middleware with network
thep2p Aug 30, 2023
c64ba46
wires in the network parameters
thep2p Aug 30, 2023
5db1406
removes middleware factory from observer builder
thep2p Aug 30, 2023
4f1916f
refactors all builders with new network
thep2p Aug 30, 2023
b9d3c37
moves network to p2pnet
thep2p Aug 30, 2023
26631ad
fixes all manager tests
thep2p Aug 30, 2023
a962b70
wip
thep2p Aug 30, 2023
cf577b6
fixes TestUnicastRateLimit_Messages
thep2p Aug 30, 2023
2b82487
fixes build issue with access node
thep2p Aug 31, 2023
e1dd46c
re-generates mocks
thep2p Aug 31, 2023
8abea8b
fixes all middleware tests
thep2p Aug 31, 2023
c4f4e4d
fixes BlobServiceTestSuite
thep2p Aug 31, 2023
d64cdeb
fixes all mesh engine tests
thep2p Aug 31, 2023
36f203f
fixes all echo engine tests
thep2p Aug 31, 2023
7a71ed6
fixes all unicast authorization tests
thep2p Aug 31, 2023
5584d0d
deletes middleware package entirely
thep2p Aug 31, 2023
4b1d2cc
lint fix
thep2p Aug 31, 2023
bbde45e
removes middleware keyword
thep2p Aug 31, 2023
f283a97
Merge remote-tracking branch 'origin/master' into yahya/6851-refactor…
thep2p Aug 31, 2023
74d7e84
fixes merge errors
thep2p Aug 31, 2023
2d1cc37
Merge remote-tracking branch 'origin/master' into yahya/6851-refactor…
thep2p Aug 31, 2023
49b6587
fixes the exposable lock with network
thep2p Aug 31, 2023
1f2840e
refactors all slashing violation consumers
thep2p Aug 31, 2023
85ab266
[Benchnet] Small improvements to the loader to support exec data testing
peterargue Aug 31, 2023
34dcfc0
fixes TestCreateStream_WithDefaultUnicast
thep2p Aug 31, 2023
5fc0cc3
fixes panic in observer
thep2p Aug 31, 2023
b265179
changes middleware interface to be ready-done-aware instead of a comp…
thep2p Aug 31, 2023
41d4a46
temp; experimentally removing the skipped tests
thep2p Aug 31, 2023
23b2605
Apply suggestions from code review
peterargue Aug 31, 2023
81c3a13
Documentation updates from review
peterargue Aug 31, 2023
4ee5bd4
Revert "temp; experimentally removing the skipped tests"
thep2p Aug 31, 2023
e7a00d3
extended goDoc of BlockExecutionDataRoot
Sep 1, 2023
efc5407
update more comments
peterargue Sep 1, 2023
56774a1
convert ChunkFault to an error type
peterargue Sep 1, 2023
a240f20
fix verification of collections for system transactions
peterargue Sep 1, 2023
c07a915
remove closer
Sep 1, 2023
2bb964e
Merge remote-tracking branch 'origin/gregor/register-storage' into gr…
Sep 1, 2023
000c041
Merge branch 'master' into yahya/6851-refactoring-middleware-part-2
thep2p Sep 1, 2023
ab28bd5
Merge branch 'master' into petera/benchmark-loader-improvements
peterargue Sep 1, 2023
a02e004
Merge branch 'master' into petera/execution-data-verification
peterargue Sep 1, 2023
fdee525
Merge branch 'master' into yahya/6851-refactoring-middleware-part-2
thep2p Sep 1, 2023
3272ab6
Merge branch 'master' into yahya/6851-refactoring-middleware-part-2
thep2p Sep 1, 2023
aaf6223
fix lint erro
peterargue Sep 1, 2023
055c10e
Merge branch 'master' into yahya/6851-refactoring-middleware-part-2
thep2p Sep 1, 2023
bb2b470
add set last height and last height getter methods
Sep 4, 2023
d064a94
remove set last as it's encapsulated in store
Sep 4, 2023
79d6a67
rename
Sep 4, 2023
85301be
add first height
Sep 4, 2023
9cbb653
log num txs and state changed in block executed log
zhangchiqing Sep 4, 2023
2a27beb
update interface
Sep 5, 2023
981d34f
add index to register types
Sep 5, 2023
ae7c01f
update mocks for registers
Sep 5, 2023
59d6ed9
add height index
Sep 5, 2023
29f338c
compose with height
Sep 5, 2023
54c3f55
removes capturing loop variable from test utils
thep2p Sep 5, 2023
6f28106
Update network/test/network_test.go
thep2p Sep 5, 2023
3dd4578
removes dead comment
thep2p Sep 5, 2023
80668e0
Merge remote-tracking branch 'origin/yahya/6851-refactoring-middlewar…
thep2p Sep 5, 2023
6a1e097
Update network/test/network_test.go
thep2p Sep 5, 2023
24e2b24
ports in the missing parts from master
thep2p Sep 5, 2023
d287a92
Merge remote-tracking branch 'origin/yahya/6851-refactoring-middlewar…
thep2p Sep 5, 2023
54fd79a
add ExecDataHeavyLoadType to initialization
peterargue Sep 5, 2023
352e982
Merge branch 'master' into yahya/6851-refactoring-middleware-part-2
thep2p Sep 5, 2023
b58079b
Merge branch 'master' into leo/log-num-txs
zhangchiqing Sep 5, 2023
8d40d75
Merge branch 'master' into yahya/6851-refactoring-middleware-part-2
thep2p Sep 5, 2023
2903497
move script execution interface and compose it
Sep 6, 2023
23a9350
Merge branch 'master' into petera/benchmark-loader-improvements
peterargue Sep 6, 2023
4bdfa46
Update network/internal/p2pfixtures/fixtures.go
thep2p Sep 6, 2023
7787ca1
Merge branch 'master' into yahya/6851-refactoring-middleware-part-2
thep2p Sep 6, 2023
5a047eb
Update network/p2p/p2pnode/libp2pNode.go
thep2p Sep 6, 2023
5b90375
Merge remote-tracking branch 'origin/master' into yahya/6851-refactor…
thep2p Sep 6, 2023
04e8919
re-generates mocks
thep2p Sep 6, 2023
6eb91a9
moves read subscription to the internal package
thep2p Sep 6, 2023
24cbe58
renames network to engine registry
thep2p Sep 6, 2023
3bcada5
renames
thep2p Sep 6, 2023
c9e10ee
renames adapter to conduit adapter
thep2p Sep 6, 2023
6c01ff5
cleans up middleware and dead codes
thep2p Sep 6, 2023
dbc13f5
Update network/alsp/manager/manager.go
thep2p Sep 6, 2023
717f854
updates documentation of network
thep2p Sep 6, 2023
721e3ad
Merge remote-tracking branch 'origin/yahya/6851-refactoring-middlewar…
thep2p Sep 6, 2023
eb615ba
renames UnderlayNetwork to NetworkUnderlay
thep2p Sep 6, 2023
740673c
Merge branch 'master' into yahya/6851-refactoring-middleware-part-2
thep2p Sep 6, 2023
a662694
renames connect to peer method
thep2p Sep 6, 2023
5c7a8d2
renames middleware to network underlay
thep2p Sep 6, 2023
0817a78
clean up ingestione engine by removing unused dependencies
zhangchiqing Sep 6, 2023
698d641
Merge pull request #4664 from onflow/yahya/6851-refactoring-middlewar…
thep2p Sep 6, 2023
8a2ac78
Merge branch 'master' into petera/execution-data-verification
peterargue Sep 6, 2023
dd1aa2f
updates from review
peterargue Sep 6, 2023
740495b
Merge pull request #4675 from onflow/petera/benchmark-loader-improvem…
peterargue Sep 7, 2023
6c10061
Merge pull request #4685 from onflow/gregor/script-execution/script-e…
devbugging Sep 7, 2023
f1cb8d2
handle new faults in engine and improve tests
peterargue Sep 7, 2023
535fd29
add cmd checkpoint trie stats
zhangchiqing Aug 15, 2023
7637e79
Apply suggestions from code review
zhangchiqing Aug 17, 2023
6d0f839
fix linting
zhangchiqing Aug 17, 2023
b91ac2f
fix lint
zhangchiqing Sep 7, 2023
e77e13f
refactor and improve verifier engine tests
peterargue Sep 7, 2023
4f645b1
add missing ok check
peterargue Sep 7, 2023
cafa893
address review comments
zhangchiqing Sep 7, 2023
3636ed7
Merge branch 'master' into leo/log-num-txs
zhangchiqing Sep 7, 2023
74be0fb
Merge pull request #4683 from onflow/leo/log-num-txs
zhangchiqing Sep 7, 2023
d1776c8
more clarifications to BLST version update README
Sep 7, 2023
ecf7021
update BLST source to v0.3.11
Sep 7, 2023
04fd9cf
Merge pull request #4586 from onflow/petera/execution-data-verification
peterargue Sep 7, 2023
3d062fc
Merge branch 'feature/blst-based-crypto' into tarak/blst-update-blst
Sep 7, 2023
241798f
clean up assembly files include in cgo compilations
Sep 8, 2023
3bea523
update internal/blst files
Sep 8, 2023
c292bc4
fix a readme typo
Sep 8, 2023
57e4bda
update changes acording to comments
Sep 8, 2023
e5c2d0a
Merge pull request #4689 from onflow/leo/cleanup-ingestion-engine
zhangchiqing Sep 8, 2023
2d3c54c
fix linting
zhangchiqing Sep 8, 2023
3e11d63
Merge branch 'master' into leo/cmd-checkpoint-trie-stats
zhangchiqing Sep 8, 2023
72a4072
Merge branch 'master' into leo/adjust-metrics-buckets
zhangchiqing Sep 8, 2023
c3900d0
Merge pull request #4636 from onflow/leo/cmd-checkpoint-trie-stats
zhangchiqing Sep 8, 2023
0d09d55
tmp tmate to debug
Sep 9, 2023
f37e24e
Merge branch 'master' into patch-1
franklywatson Sep 11, 2023
bb33513
Merge pull request #4662 from omahs/patch-1
franklywatson Sep 11, 2023
c79f19c
adds peer.ID cache
thep2p Sep 11, 2023
1256dda
Merge remote-tracking branch 'origin/master' into yahya/6869-fix-peer…
thep2p Sep 11, 2023
c16be25
moves to p2plogging and write tests
thep2p Sep 11, 2023
e4fbb5a
adds ejection test
thep2p Sep 11, 2023
30d9c3d
adds test peer id logging
thep2p Sep 11, 2023
8f35c02
adds benchmarking
thep2p Sep 11, 2023
d41913e
replaces all String() instances with p2plogging.PeerID
thep2p Sep 11, 2023
abc2e47
skips benchmarking
thep2p Sep 11, 2023
92b4933
wip fixing import cycles
thep2p Sep 11, 2023
11a741a
wip fixing import cycles
thep2p Sep 11, 2023
d227c9c
Revert "wip fixing import cycles"
thep2p Sep 11, 2023
4fc6d8f
Revert "wip fixing import cycles"
thep2p Sep 11, 2023
2b995d4
replaces herocache with lru
thep2p Sep 11, 2023
c364f54
fixes tests
thep2p Sep 11, 2023
1a5b376
adds a todo
thep2p Sep 11, 2023
661f278
Update network/p2p/p2plogging/internal/peerIdCache.go
thep2p Sep 11, 2023
20c50ca
returns an error for initializing cache
thep2p Sep 11, 2023
712e4c9
Merge remote-tracking branch 'origin/yahya/6869-fix-peer-id-logging' …
thep2p Sep 11, 2023
22a9246
Merge pull request #4702 from onflow/yahya/6869-fix-peer-id-logging
thep2p Sep 12, 2023
ec8e1c4
Merge branch 'master' into leo/adjust-metrics-buckets
zhangchiqing Sep 12, 2023
0648496
Merge pull request #4505 from onflow/leo/adjust-metrics-buckets
zhangchiqing Sep 12, 2023
f56bbd7
chnages per suggestion
koko1123 Sep 12, 2023
77aa7e6
add mocks
koko1123 Sep 12, 2023
dce50f9
make start up node time larger to accommodate failing TestClusterSwit…
Sep 12, 2023
d907e08
update docs and remove sentinel error on LatestHeight and FirstHeight
koko1123 Sep 12, 2023
f95ec79
updated docs
koko1123 Sep 12, 2023
01562da
Merge branch 'master' into gregor/register-storage
koko1123 Sep 12, 2023
b5fb16d
Merge pull request #4656 from onflow/gregor/register-storage
koko1123 Sep 12, 2023
633f152
merge master branch
Sep 13, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
renames a method
  • Loading branch information
thep2p committed Aug 22, 2023
commit a796c53a046428350548828f04f4776923c3d40a
2 changes: 1 addition & 1 deletion network/p2p/mock/unicast_manager.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion network/p2p/p2pnode/libp2pNode.go
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ func (n *Node) Host() host.Host {

// WithDefaultUnicastProtocol overrides the default handler of the unicast manager and registers all preferred protocols.
func (n *Node) WithDefaultUnicastProtocol(defaultHandler libp2pnet.StreamHandler, preferred []protocols.ProtocolName) error {
n.uniMgr.WithDefaultHandler(defaultHandler)
n.uniMgr.SetDefaultHandler(defaultHandler)
for _, p := range preferred {
err := n.uniMgr.Register(p)
if err != nil {
Expand Down
4 changes: 2 additions & 2 deletions network/p2p/unicast/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ func NewUnicastManager(logger zerolog.Logger,
}
}

// WithDefaultHandler sets the default stream handler for this unicast manager. The default handler is utilized
// SetDefaultHandler sets the default stream handler for this unicast manager. The default handler is utilized
// as the core handler for other unicast protocols, e.g., compressions.
func (m *Manager) WithDefaultHandler(defaultHandler libp2pnet.StreamHandler) {
func (m *Manager) SetDefaultHandler(defaultHandler libp2pnet.StreamHandler) {
defaultProtocolID := protocols.FlowProtocolID(m.sporkId)
if len(m.protocols) > 0 {
panic("default handler must be set only once before any unicast registration")
Expand Down
2 changes: 1 addition & 1 deletion network/p2p/unicast_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
type UnicastManager interface {
// WithDefaultHandler sets the default stream handler for this unicast manager. The default handler is utilized
// as the core handler for other unicast protocols, e.g., compressions.
WithDefaultHandler(defaultHandler libp2pnet.StreamHandler)
SetDefaultHandler(defaultHandler libp2pnet.StreamHandler)
// Register registers given protocol name as preferred unicast. Each invocation of register prioritizes the current protocol
// over previously registered ones.
// All errors returned from this function can be considered benign.
Expand Down