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

Sync stable cadence branch with master #4715

Merged
merged 597 commits into from
Sep 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
597 commits
Select commit Hold shift + click to select a range
d64cdeb
fixes all mesh engine tests
yhassanzadeh13 Aug 31, 2023
36f203f
fixes all echo engine tests
yhassanzadeh13 Aug 31, 2023
7a71ed6
fixes all unicast authorization tests
yhassanzadeh13 Aug 31, 2023
5584d0d
deletes middleware package entirely
yhassanzadeh13 Aug 31, 2023
4b1d2cc
lint fix
yhassanzadeh13 Aug 31, 2023
bc25e34
Merge pull request #4652 from onflow/yahya/6857-bft-testing-ci-fix-2
yhassanzadeh13 Aug 31, 2023
f1f4022
Merge pull request #4590 from onflow/misha/6812-alsp-engine-spam-dete…
gomisha Aug 31, 2023
bbde45e
removes middleware keyword
yhassanzadeh13 Aug 31, 2023
f283a97
Merge remote-tracking branch 'origin/master' into yahya/6851-refactor…
yhassanzadeh13 Aug 31, 2023
74d7e84
fixes merge errors
yhassanzadeh13 Aug 31, 2023
2d1cc37
Merge remote-tracking branch 'origin/master' into yahya/6851-refactor…
yhassanzadeh13 Aug 31, 2023
49b6587
fixes the exposable lock with network
yhassanzadeh13 Aug 31, 2023
1f2840e
refactors all slashing violation consumers
yhassanzadeh13 Aug 31, 2023
85ab266
[Benchnet] Small improvements to the loader to support exec data testing
peterargue Aug 31, 2023
34dcfc0
fixes TestCreateStream_WithDefaultUnicast
yhassanzadeh13 Aug 31, 2023
6e11157
expose query executor and remove default config
Aug 31, 2023
32c5011
explain script execution interface
Aug 31, 2023
5fc0cc3
fixes panic in observer
yhassanzadeh13 Aug 31, 2023
b265179
changes middleware interface to be ready-done-aware instead of a comp…
yhassanzadeh13 Aug 31, 2023
41d4a46
temp; experimentally removing the skipped tests
yhassanzadeh13 Aug 31, 2023
23b2605
Apply suggestions from code review
peterargue Aug 31, 2023
d25656d
Merge branch 'master' into khalil/6819-simplify-rpc-inspector-validation
kc1116 Aug 31, 2023
81c3a13
Documentation updates from review
peterargue Aug 31, 2023
9c5b9f1
Merge branch 'master' into refactor-libp2p-node
franklywatson Aug 31, 2023
4ee5bd4
Revert "temp; experimentally removing the skipped tests"
yhassanzadeh13 Aug 31, 2023
5475b83
Merge branch 'master' into 4585-add-caching-tx-results
franklywatson 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
0c90626
Add a NO-OP implementation of ReadRandom on facadeEnvironment
m-Peter Sep 1, 2023
c07a915
remove closer
Sep 1, 2023
2bb964e
Merge remote-tracking branch 'origin/gregor/register-storage' into gr…
Sep 1, 2023
eeeef3a
Merge pull request #4678 from onflow/add-noop-read-random
janezpodhostnik Sep 1, 2023
000c041
Merge branch 'master' into yahya/6851-refactoring-middleware-part-2
yhassanzadeh13 Sep 1, 2023
d45b01a
Upgrade cadence and change to ReadRandom
janezpodhostnik Sep 1, 2023
ac879c7
Merge pull request #4644 from onflow/janez/pass-zerolog-by-value
janezpodhostnik Sep 1, 2023
3a55308
Merge branch 'master' into 4585-add-caching-tx-results
nozim Sep 1, 2023
8162166
sub package test in listTargetPackages()
gomisha Sep 1, 2023
2cf194c
sub package test in listOtherPackages()
gomisha Sep 1, 2023
ad9872d
split up network tests to network/test network/p2p
gomisha Sep 1, 2023
59272f7
Merge branch 'master' into petera/udpate-bn2-deprecated-args
peterargue Sep 1, 2023
05d817b
Merge branch 'master' into 4585-add-caching-tx-results
franklywatson Sep 1, 2023
adcf3ec
Merge pull request #4619 from onflow/petera/udpate-bn2-deprecated-args
peterargue Sep 1, 2023
cd214c2
Merge branch 'master' into petera/update-localnet-metrics
peterargue Sep 1, 2023
ab28bd5
Merge branch 'master' into petera/benchmark-loader-improvements
peterargue Sep 1, 2023
615fd8a
Merge branch 'master' into petera/make-rest-timeouts-configurable-1
peterargue Sep 1, 2023
5c6bc1f
Merge branch 'master' into petera/explicitly-check-header-exists-en-rpc
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
yhassanzadeh13 Sep 1, 2023
666c1f9
Merge branch 'master' into khalil/6819-simplify-rpc-inspector-validation
kc1116 Sep 1, 2023
3272ab6
Merge branch 'master' into yahya/6851-refactoring-middleware-part-2
yhassanzadeh13 Sep 1, 2023
310dac3
Merge pull request #4612 from onflow/petera/make-rest-timeouts-config…
peterargue Sep 1, 2023
d9ef5ca
Merge pull request #4488 from onflow/petera/explicitly-check-header-e…
peterargue Sep 1, 2023
aaf6223
fix lint erro
peterargue Sep 1, 2023
d659d4b
flaky test CI - split up network tests to network/test network/p2p
gomisha Sep 1, 2023
055c10e
Merge branch 'master' into yahya/6851-refactoring-middleware-part-2
yhassanzadeh13 Sep 1, 2023
86bc8c9
more sub packages testing
gomisha Sep 1, 2023
65be1dc
Merge branch 'master' into misha/ci-sub-package-support
gomisha Sep 1, 2023
1a40b99
Merge branch 'master' into 4585-add-caching-tx-results
nozim Sep 2, 2023
5c8aec0
Fix goimports
nozim Sep 2, 2023
95a5e91
Merge branch 'master' into refactor-libp2p-node
nozim Sep 2, 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
yhassanzadeh13 Sep 5, 2023
6f28106
Update network/test/network_test.go
yhassanzadeh13 Sep 5, 2023
3dd4578
removes dead comment
yhassanzadeh13 Sep 5, 2023
80668e0
Merge remote-tracking branch 'origin/yahya/6851-refactoring-middlewar…
yhassanzadeh13 Sep 5, 2023
6a1e097
Update network/test/network_test.go
yhassanzadeh13 Sep 5, 2023
1c4fd72
Merge pull request #4668 from onflow/gregor/script-execution/script-e…
sideninja Sep 5, 2023
24e2b24
ports in the missing parts from master
yhassanzadeh13 Sep 5, 2023
d287a92
Merge remote-tracking branch 'origin/yahya/6851-refactoring-middlewar…
yhassanzadeh13 Sep 5, 2023
69b4339
Remove unused CallAvailableNode types and add godoc for it's parameters
nozim Sep 5, 2023
54fd79a
add ExecDataHeavyLoadType to initialization
peterargue Sep 5, 2023
352e982
Merge branch 'master' into yahya/6851-refactoring-middleware-part-2
yhassanzadeh13 Sep 5, 2023
56d08fa
Merge pull request #4672 from onflow/petera/update-localnet-metrics
peterargue Sep 5, 2023
b58079b
Merge branch 'master' into leo/log-num-txs
zhangchiqing Sep 5, 2023
7347a32
Merge branch 'master' into 4585-add-caching-tx-results
nozim Sep 5, 2023
4da0222
Merge branch 'master' into 4585-add-caching-tx-results
franklywatson Sep 5, 2023
d2b0826
Fix linter errors
nozim Sep 5, 2023
8d40d75
Merge branch 'master' into yahya/6851-refactoring-middleware-part-2
yhassanzadeh13 Sep 5, 2023
3cc4c32
Merge pull request #4598 from nozim/4585-add-caching-tx-results
franklywatson Sep 5, 2023
eb18ad4
Merge branch 'master' into refactor-libp2p-node
franklywatson Sep 5, 2023
817908e
Merge branch 'master' into refactor-libp2p-node
franklywatson Sep 5, 2023
70e4913
Merge branch 'master' into misha/ci-sub-package-support
gomisha Sep 6, 2023
789c662
updated subpackage test, docs
gomisha Sep 6, 2023
74fc6c6
Merge pull request #4680 from onflow/misha/ci-sub-package-support
gomisha Sep 6, 2023
efb122d
refresh interface chnages
koko1123 Sep 6, 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
63c63a6
Merge branch 'master' into refactor-libp2p-node
franklywatson Sep 6, 2023
4bdfa46
Update network/internal/p2pfixtures/fixtures.go
yhassanzadeh13 Sep 6, 2023
7787ca1
Merge branch 'master' into yahya/6851-refactoring-middleware-part-2
yhassanzadeh13 Sep 6, 2023
af0b381
Merge pull request #4630 from nozim/refactor-libp2p-node
yhassanzadeh13 Sep 6, 2023
5a047eb
Update network/p2p/p2pnode/libp2pNode.go
yhassanzadeh13 Sep 6, 2023
7c13338
Adding an array of state lists
Jul 21, 2023
3b5cc0f
Improved comments
Aug 4, 2023
21129fe
Applied minor comments
Aug 25, 2023
5b90375
Merge remote-tracking branch 'origin/master' into yahya/6851-refactor…
yhassanzadeh13 Sep 6, 2023
04e8919
re-generates mocks
yhassanzadeh13 Sep 6, 2023
6eb91a9
moves read subscription to the internal package
yhassanzadeh13 Sep 6, 2023
24cbe58
renames network to engine registry
yhassanzadeh13 Sep 6, 2023
3bcada5
renames
yhassanzadeh13 Sep 6, 2023
104ca4f
Merge pull request #4599 from Build-Squad/boriskozlov/array-of-lists-…
franklywatson Sep 6, 2023
c9e10ee
renames adapter to conduit adapter
yhassanzadeh13 Sep 6, 2023
6c01ff5
cleans up middleware and dead codes
yhassanzadeh13 Sep 6, 2023
dbc13f5
Update network/alsp/manager/manager.go
yhassanzadeh13 Sep 6, 2023
717f854
updates documentation of network
yhassanzadeh13 Sep 6, 2023
721e3ad
Merge remote-tracking branch 'origin/yahya/6851-refactoring-middlewar…
yhassanzadeh13 Sep 6, 2023
c794995
[Access] Refactor backend to return an error
peterargue Sep 6, 2023
eb615ba
renames UnderlayNetwork to NetworkUnderlay
yhassanzadeh13 Sep 6, 2023
740673c
Merge branch 'master' into yahya/6851-refactoring-middleware-part-2
yhassanzadeh13 Sep 6, 2023
a662694
renames connect to peer method
yhassanzadeh13 Sep 6, 2023
5c7a8d2
renames middleware to network underlay
yhassanzadeh13 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…
yhassanzadeh13 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…
sideninja 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
5620174
correct tests and implementation
koko1123 Sep 7, 2023
85b8997
Merge branch 'master' into amlandeep/create-base-pebble-storage
koko1123 Sep 7, 2023
04fd9cf
Merge pull request #4586 from onflow/petera/execution-data-verification
peterargue Sep 7, 2023
b1f6f96
fix lint
koko1123 Sep 7, 2023
894e5fc
Merge branch 'master' into petera/refactor-rpc-backend
peterargue Sep 7, 2023
7e9a55d
upgrade unit test coverage of control message validation consumer
kc1116 Sep 7, 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
dbafba6
[Verification] Fix service events verification for exec data
peterargue Sep 8, 2023
cdd6b1a
Merge branch 'master' into amlandeep/create-base-pebble-storage
koko1123 Sep 11, 2023
984b740
update godoc
kc1116 Sep 11, 2023
83bc1d7
Update network/p2p/inspector/validation/control_message_validation_in…
kc1116 Sep 11, 2023
43cb7fb
Update config/default-config.yml
kc1116 Sep 11, 2023
c8b7c4e
Update network/p2p/pubsub.go
kc1116 Sep 11, 2023
8055eb1
Update network/p2p/pubsub.go
kc1116 Sep 11, 2023
479aa47
Update control_message_validation_inspector.go
kc1116 Sep 11, 2023
fef5143
Merge branch 'khalil/6819-simplify-rpc-inspector-validation' of githu…
kc1116 Sep 11, 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
yhassanzadeh13 Sep 11, 2023
1256dda
Merge remote-tracking branch 'origin/master' into yahya/6869-fix-peer…
yhassanzadeh13 Sep 11, 2023
c16be25
moves to p2plogging and write tests
yhassanzadeh13 Sep 11, 2023
e4fbb5a
adds ejection test
yhassanzadeh13 Sep 11, 2023
30d9c3d
adds test peer id logging
yhassanzadeh13 Sep 11, 2023
9801580
remove unneeded chunkverifier change and test cleanup event passing
peterargue Sep 11, 2023
89fe774
Merge branch 'master' into petera/fix-service-event-exec-data-verific…
peterargue Sep 11, 2023
8f35c02
adds benchmarking
yhassanzadeh13 Sep 11, 2023
64ece62
rename RPCControlTracking -> RpcControlTracking
kc1116 Sep 11, 2023
d5552d8
Update network/p2p/p2pconf/gossipsub_rpc_inspectors.go
kc1116 Sep 11, 2023
feb7780
Update network/p2p/p2pconf/gossipsub_rpc_inspectors.go
kc1116 Sep 11, 2023
6009189
Update network/p2p/p2pconf/gossipsub_rpc_inspectors.go
kc1116 Sep 11, 2023
7dc3c4e
Update network/p2p/inspector/validation/control_message_validation_in…
kc1116 Sep 11, 2023
d41913e
replaces all String() instances with p2plogging.PeerID
yhassanzadeh13 Sep 11, 2023
abc2e47
skips benchmarking
yhassanzadeh13 Sep 11, 2023
82c2eb2
remove Fatal level logs
kc1116 Sep 11, 2023
ff46672
log warning for unstaked peer
kc1116 Sep 11, 2023
596981d
Update network/p2p/consumers.go
kc1116 Sep 11, 2023
3b137f3
Update network/p2p/consumers.go
kc1116 Sep 11, 2023
9bf850c
Update network/p2p/consumers.go
kc1116 Sep 11, 2023
39a7069
update scoring test
kc1116 Sep 11, 2023
fca6fb6
Merge branch 'khalil/6819-simplify-rpc-inspector-validation' of githu…
kc1116 Sep 11, 2023
4b90950
Merge branch 'master' of github.com:onflow/flow-go into khalil/6819-s…
kc1116 Sep 11, 2023
92b4933
wip fixing import cycles
yhassanzadeh13 Sep 11, 2023
11a741a
wip fixing import cycles
yhassanzadeh13 Sep 11, 2023
d227c9c
Revert "wip fixing import cycles"
yhassanzadeh13 Sep 11, 2023
4fc6d8f
Revert "wip fixing import cycles"
yhassanzadeh13 Sep 11, 2023
2b995d4
replaces herocache with lru
yhassanzadeh13 Sep 11, 2023
c364f54
fixes tests
yhassanzadeh13 Sep 11, 2023
1a5b376
adds a todo
yhassanzadeh13 Sep 11, 2023
661f278
Update network/p2p/p2plogging/internal/peerIdCache.go
yhassanzadeh13 Sep 11, 2023
20c50ca
returns an error for initializing cache
yhassanzadeh13 Sep 11, 2023
712e4c9
Merge remote-tracking branch 'origin/yahya/6869-fix-peer-id-logging' …
yhassanzadeh13 Sep 11, 2023
7e885c0
Update gossip_sub_rpc_inspector_suite_factory_func.go
kc1116 Sep 11, 2023
22a9246
Merge pull request #4702 from onflow/yahya/6869-fix-peer-id-logging
yhassanzadeh13 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
4f8c74e
changes per suggestions
koko1123 Sep 12, 2023
d907e08
update docs and remove sentinel error on LatestHeight and FirstHeight
koko1123 Sep 12, 2023
06f519b
Merge branch 'master' into amlandeep/create-base-pebble-storage
koko1123 Sep 12, 2023
26724d1
fix spamIHaveBrokenPromise
kc1116 Sep 12, 2023
cc0d585
Merge branch 'master' of github.com:onflow/flow-go into khalil/6819-s…
kc1116 Sep 12, 2023
cd8f467
lint + docs
koko1123 Sep 12, 2023
f95ec79
updated docs
koko1123 Sep 12, 2023
01562da
Merge branch 'master' into gregor/register-storage
koko1123 Sep 12, 2023
7c1a860
add stash before base branch checkout
koko1123 Sep 12, 2023
a699151
add explainer comment
koko1123 Sep 12, 2023
9194f74
Merge branch 'master' into petera/fix-service-event-exec-data-verific…
peterargue Sep 12, 2023
17d8008
Merge branch 'master' into petera/refactor-rpc-backend
peterargue Sep 12, 2023
b5fb16d
Merge pull request #4656 from onflow/gregor/register-storage
koko1123 Sep 12, 2023
9e416a6
fix test
kc1116 Sep 13, 2023
2bdb75b
Update control_message_validation_inspector.go
kc1116 Sep 13, 2023
a85341d
Merge pull request #4642 from onflow/khalil/6819-simplify-rpc-inspect…
kc1116 Sep 13, 2023
7b0f0bd
add panic on unimplemented
koko1123 Sep 13, 2023
7a35e4b
resolve conflicts with master
koko1123 Sep 13, 2023
b7e9c9a
Merge branch 'master' into amlandeep/create-base-pebble-storage
koko1123 Sep 13, 2023
4c51203
Merge branch 'master' of github.com:onflow/flow-go into khalil/contro…
kc1116 Sep 13, 2023
40352fd
infer n from len(topics)
kc1116 Sep 13, 2023
2fe0d81
Remove outdated benchstat test
koko1123 Sep 13, 2023
afe1110
Merge pull request #4671 from onflow/amlandeep/create-base-pebble-sto…
koko1123 Sep 13, 2023
41d8cf9
resolve merge conflict with master
koko1123 Sep 13, 2023
e0e0e64
add cache miss check size
kc1116 Sep 13, 2023
a64c6fc
Merge pull request #4711 from onflow/amlandeep/remove-benchstat-ci
koko1123 Sep 13, 2023
b3c8840
remove mock LastHighestIHaveRPCSize where not needed
kc1116 Sep 13, 2023
4835164
Update network/p2p/inspector/validation/errors_test.go
kc1116 Sep 13, 2023
383a455
Update network/p2p/inspector/validation/errors_test.go
kc1116 Sep 13, 2023
8f042e5
Merge branch 'khalil/control-message-validation-unit-test' of github.…
kc1116 Sep 13, 2023
20af7f1
ensure lens greater and less than config max sample
kc1116 Sep 13, 2023
6248c8d
remove comment
kc1116 Sep 13, 2023
efa84a6
rename checkNotifFunc -> checkNotificationFunc
kc1116 Sep 13, 2023
7f232ad
Update control_message_validation_inspector_test.go
kc1116 Sep 13, 2023
1b102b6
Merge branch 'master' of github.com:onflow/flow-go into khalil/contro…
kc1116 Sep 13, 2023
fccaccf
Update network/p2p/inspector/validation/errors_test.go
kc1116 Sep 13, 2023
6b0fddb
Update validation_inspector_test.go
kc1116 Sep 13, 2023
4465081
Merge branch 'khalil/control-message-validation-unit-test' of github.…
kc1116 Sep 13, 2023
4514c43
Merge branch 'master' into petera/refactor-rpc-backend
peterargue Sep 13, 2023
1b64d4b
Merge branch 'master' into petera/fix-service-event-exec-data-verific…
peterargue Sep 13, 2023
171a9f9
Merge pull request #4695 from onflow/khalil/control-message-validatio…
kc1116 Sep 14, 2023
e0cbfd9
upgrade cadence version
janezpodhostnik Sep 14, 2023
3b06a02
Merge pull request #4698 from onflow/petera/fix-service-event-exec-da…
peterargue Sep 14, 2023
ec512fc
Merge pull request #4688 from onflow/petera/refactor-rpc-backend
peterargue Sep 14, 2023
6d16a34
change to tagged cadence version
janezpodhostnik Sep 14, 2023
923ce52
Merge branch 'master' into janez/upgrade-cadence-and-change-to-read-r…
janezpodhostnik Sep 14, 2023
3d4c31f
Merge pull request #4679 from onflow/janez/upgrade-cadence-and-change…
janezpodhostnik Sep 14, 2023
f2f686e
Merge branch 'feature/stable-cadence' of https://github.com/onflow/fl…
SupunS Sep 14, 2023
91b67e3
Update to correct deps
SupunS Sep 14, 2023
c9d7b9d
Update event size assertion
SupunS Sep 15, 2023
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
  •  
  •  
  •  
99 changes: 0 additions & 99 deletions .github/workflows/bench.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
cache: true
- name: Set Test Matrix
id: set-test-matrix
run: go run utils/test_matrix/test_matrix.go access admin cmd consensus engine fvm ledger module network utils
run: go run utils/test_matrix/test_matrix.go admin cmd consensus engine fvm ledger module network/test network/p2p utils

unit-test:
name: Unit Tests (${{ matrix.targets.name }})
Expand All @@ -118,7 +118,7 @@ jobs:
with:
go-version: ${{ env.GO_VERSION }}
cache: true
- name: Setup tests (${{ matrix.targets.name }}
- name: Setup tests (${{ matrix.targets.name }})
run: VERBOSE=1 make -e GO_TEST_PACKAGES="${{ matrix.targets.packages }}" install-tools
- name: Run tests (${{ matrix.targets.name }})
uses: nick-fields/retry@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/flaky-test-monitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
cache: true
- name: Set Test Matrix
id: set-test-matrix
run: go run utils/test_matrix/test_matrix.go admin cmd consensus engine fvm ledger module network utils
run: go run utils/test_matrix/test_matrix.go admin cmd consensus engine fvm ledger module network/test network/p2p utils

unit-test:
name: Unit Tests (${{ matrix.targets.name }})
Expand Down
2 changes: 1 addition & 1 deletion CodingConventions.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ happy path is either
Therefore, changing the set of specified sentinel errors is generally considered a breaking API change.


2. **All errors beyond the specified, benign sentinel errors ere considered unexpected failures, i.e. a symptom for potential state corruption.**
2. **All errors beyond the specified, benign sentinel errors are considered unexpected failures, i.e. a symptom of potential state corruption.**
* We employ a fundamental principle of [High Assurance Software Engineering](https://www.researchgate.net/publication/228563190_High_Assurance_Software_Development),
where we treat everything beyond the known benign errors as critical failures. In unexpected failure cases, we assume that the vertex's in-memory state has been
broken and proper functioning is no longer guaranteed. The only safe route of recovery is to restart the vertex from a previously persisted, safe state.
Expand Down
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ go-math-rand-check:
# `exclude` should only specify non production code (test, bench..).
# If this check fails, try updating your code by using:
# - "crypto/rand" or "flow-go/utils/rand" for non-deterministic randomness
# - "flow-go/crypto/random" for deterministic randomness
# - "flow-go/crypto/random" for deterministic randomness
grep --include=\*.go \
--exclude=*test* --exclude=*helper* --exclude=*example* --exclude=*fixture* --exclude=*benchmark* --exclude=*profiler* \
--exclude-dir=*test* --exclude-dir=*helper* --exclude-dir=*example* --exclude-dir=*fixture* --exclude-dir=*benchmark* --exclude-dir=*profiler* -rnw '"math/rand"'; \
Expand Down Expand Up @@ -152,14 +152,15 @@ generate-mocks: install-mock-generators
mockery --name '(Connector|PingInfoProvider)' --dir=network/p2p --case=underscore --output="./network/mocknetwork" --outpkg="mocknetwork"
mockgen -destination=storage/mocks/storage.go -package=mocks github.com/onflow/flow-go/storage Blocks,Headers,Payloads,Collections,Commits,Events,ServiceEvents,TransactionResults
mockgen -destination=module/mocks/network.go -package=mocks github.com/onflow/flow-go/module Local,Requester
mockgen -destination=network/mocknetwork/mock_network.go -package=mocknetwork github.com/onflow/flow-go/network Network
mockgen -destination=network/mocknetwork/mock_network.go -package=mocknetwork github.com/onflow/flow-go/network EngineRegistry
mockery --name='.*' --dir=integration/benchmark/mocksiface --case=underscore --output="integration/benchmark/mock" --outpkg="mock"
mockery --name=ExecutionDataStore --dir=module/executiondatasync/execution_data --case=underscore --output="./module/executiondatasync/execution_data/mock" --outpkg="mock"
mockery --name=Downloader --dir=module/executiondatasync/execution_data --case=underscore --output="./module/executiondatasync/execution_data/mock" --outpkg="mock"
mockery --name 'ExecutionDataRequester' --dir=module/state_synchronization --case=underscore --output="./module/state_synchronization/mock" --outpkg="state_synchronization"
mockery --name 'ExecutionState' --dir=engine/execution/state --case=underscore --output="engine/execution/state/mock" --outpkg="mock"
mockery --name 'BlockComputer' --dir=engine/execution/computation/computer --case=underscore --output="engine/execution/computation/computer/mock" --outpkg="mock"
mockery --name 'ComputationManager' --dir=engine/execution/computation --case=underscore --output="engine/execution/computation/mock" --outpkg="mock"
mockery --name 'Executor' --dir=engine/execution/computation/query --case=underscore --output="engine/execution/computation/query/mock" --outpkg="mock"
mockery --name 'EpochComponentsFactory' --dir=engine/collection/epochmgr --case=underscore --output="engine/collection/epochmgr/mock" --outpkg="mock"
mockery --name 'Backend' --dir=engine/collection/rpc --case=underscore --output="engine/collection/rpc/mock" --outpkg="mock"
mockery --name 'ProviderEngine' --dir=engine/execution/provider --case=underscore --output="engine/execution/provider/mock" --outpkg="mock"
Expand Down Expand Up @@ -194,6 +195,8 @@ generate-mocks: install-mock-generators
mockery --name 'API' --dir="./engine/protocol" --case=underscore --output="./engine/protocol/mock" --outpkg="mock"
mockery --name '.*' --dir="./engine/access/state_stream" --case=underscore --output="./engine/access/state_stream/mock" --outpkg="mock"
mockery --name 'ConnectionFactory' --dir="./engine/access/rpc/connection" --case=underscore --output="./engine/access/rpc/connection/mock" --outpkg="mock"
mockery --name 'Communicator' --dir="./engine/access/rpc/backend" --case=underscore --output="./engine/access/rpc/backend/mock" --outpkg="mock"

mockery --name '.*' --dir=model/fingerprint --case=underscore --output="./model/fingerprint/mock" --outpkg="mock"
mockery --name 'ExecForkActor' --structname 'ExecForkActorMock' --dir=module/mempool/consensus/mock/ --case=underscore --output="./module/mempool/consensus/mock/" --outpkg="mock"
mockery --name '.*' --dir=engine/verification/fetcher/ --case=underscore --output="./engine/verification/fetcher/mock" --outpkg="mockfetcher"
Expand Down
Loading
Loading