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] merge master to BLST feature branch #4264

Merged
merged 1,264 commits into from
May 3, 2023
Merged
Changes from 1 commit
Commits
Show all changes
1264 commits
Select commit Hold shift + click to select a range
ac630c8
Apply suggestions from code review
durkmurder Apr 5, 2023
ac9319d
Apply suggestions from PR review.
durkmurder Apr 5, 2023
d5068d6
Apply suggestions from PR review
durkmurder Apr 5, 2023
c539928
Merge #4149
bors[bot] Apr 5, 2023
dd4c28f
Updated SkipNewProposalsThreshold to be compared only with views
durkmurder Apr 5, 2023
018512f
Merge #4118
bors[bot] Apr 5, 2023
d8940e1
Merge branch 'master' into jordan/existence-check-snapshot
jordanschalm Apr 5, 2023
8ce7cb1
Merge #4156
bors[bot] Apr 5, 2023
dcb617f
Merge #4146
bors[bot] Apr 5, 2023
ca65c0f
Merge branch 'master' into custom-runtime-pool-with-given-config
m-Peter Apr 5, 2023
db09caa
configure exec data dir on ANs in integration tests
peterargue Apr 5, 2023
8080657
Merge #4126
bors[bot] Apr 5, 2023
a540a1b
Merge #4093
bors[bot] Apr 5, 2023
4a248f5
Clean up script query executor delta usage
pattyshack Mar 30, 2023
7aae6a2
Merge #4130
bors[bot] Apr 5, 2023
35a4b4b
Remove delta view usage in fvm/ tests
pattyshack Apr 3, 2023
67e39d2
Remove bad test
pattyshack Apr 4, 2023
c271a58
Merge #4150 #4160
bors[bot] Apr 5, 2023
0d96d5a
clean up engine/execution/state tests delta usage
pattyshack Apr 5, 2023
a0592a8
cleanup stop control
janezpodhostnik Apr 5, 2023
e7eaca0
fix system contract variable name inconsistency
janezpodhostnik Apr 5, 2023
23f0bf2
Merge branch 'master' into add-contour-ingress-support
sjonpaulbrown Apr 5, 2023
6ed6e31
Apply suggestions from code review
Apr 5, 2023
b8f54ac
Apply suggestions from code review
Apr 5, 2023
a5c9312
moved the CertifiedBlock to the `flow` package
Apr 5, 2023
c1cf338
Merge branch 'master' into alex/PaceMaker_constructor_supports_recove…
Apr 5, 2023
d7f182b
• optimized ingestion of optional TCs and QCs within PaceMaker constr…
Apr 6, 2023
d31bb6c
Merge branch 'alex/PaceMaker_constructor_supports_recovery-qc-tc' int…
Apr 6, 2023
abf832a
wip
Apr 6, 2023
0d09d10
Added id and height of latest finalized block to access node query in…
Guitarheroua Apr 6, 2023
0d14707
Merge branch 'master' into guitarheroua/2906-add-latest-block-height-…
Guitarheroua Apr 6, 2023
12a5787
Merge pull request #4158 from onflow/add-contour-ingress-support
sjonpaulbrown Apr 6, 2023
b7dc662
Fixed issue with incorrect observer logs
Guitarheroua Apr 6, 2023
74bc924
[Access] Add streaming API for BlockExecutionData
peterargue Dec 13, 2022
1ece986
add stream events API
peterargue Dec 19, 2022
9533dd3
fix lint error
peterargue Dec 19, 2022
77ac214
adjust logging, fix lint error
peterargue Dec 21, 2022
7060f34
update mods
peterargue Dec 21, 2022
48a7745
fix merge conflict
peterargue Jan 26, 2023
41465ba
update to update version of onflow/flow
peterargue Jan 26, 2023
564878e
use distributor pattern for updates
peterargue Feb 10, 2023
a9e954a
remove id cache, begin switching to herocache
peterargue Mar 24, 2023
9492364
update protobuf version
peterargue Mar 24, 2023
fed5a87
Add unit tests
peterargue Mar 25, 2023
7c15e5e
remove local go mod replace
peterargue Mar 25, 2023
34eecaf
fix lint
peterargue Mar 27, 2023
c087dbe
configure apis to use herocache
peterargue Mar 27, 2023
3d53738
apply review feedback
peterargue Mar 28, 2023
7eca379
add tests for event filter, add support for filtering by event names
peterargue Mar 28, 2023
e0fcdbd
update to new version of protobuf that supports event name filters
peterargue Mar 28, 2023
3d2870a
cleanup tests
peterargue Mar 28, 2023
e6ce7c4
make tidy
peterargue Mar 28, 2023
c5373df
fix bug in contract filter, and add validators
peterargue Mar 29, 2023
cfb00ce
Add a small buffer to subscription channels
peterargue Mar 29, 2023
e770234
revert change to add event name filter
peterargue Mar 30, 2023
681be16
remove unused LastBlockID from execdata distributor
peterargue Mar 30, 2023
88e3725
cleanup logging and add more unittests
peterargue Mar 30, 2023
91f3419
add tests for broadcaster
peterargue Mar 30, 2023
709aa24
fix lint
peterargue Mar 30, 2023
0a5c5db
increase timeouts due to failures in ci
peterargue Mar 30, 2023
facf63f
allow only one of start blockID/height
peterargue Apr 6, 2023
cbb9016
refactor logProgress
zhangchiqing Apr 4, 2023
d87ae06
Misc. delta view cleanup
pattyshack Apr 6, 2023
ddcd4a6
applied review suggestion:
Apr 6, 2023
1983729
added constructor for CertifiedBlock that enforces consistency requir…
Apr 6, 2023
fc448af
remove unnecessary new lines
Apr 6, 2023
a5de94e
Merge #4155
bors[bot] Apr 6, 2023
96bfb29
limit the number of filter elements
peterargue Apr 6, 2023
5b32e36
Merge #4159
bors[bot] Apr 6, 2023
7addd0f
[Testing] Cleanup integration test port handling
peterargue Mar 29, 2023
6463ebb
fix lint errors
peterargue Mar 29, 2023
3aa81df
add admin client, and refactor admin server tests to use it
peterargue Apr 3, 2023
17e674c
use container port as port name, use admin server for healthchecks
peterargue Apr 3, 2023
fa27f63
fix admin healthcheck, refactor blocktest
peterargue Apr 3, 2023
09a6773
remove access specific SupportsUnstakedNodes
peterargue Apr 3, 2023
2360511
cleanup observer tests
peterargue Apr 4, 2023
a4e2147
cleanup comments and merge exposePort/bindPort
peterargue Apr 5, 2023
f4e2e92
refactor test directories with fewer mounts and post test cleanup
peterargue Apr 5, 2023
764c013
make observer config more consistent with nodes/consensus followers
peterargue Apr 5, 2023
aaf4a6c
remove unused error response
peterargue Apr 5, 2023
548cbdd
updates from code review
peterargue Apr 6, 2023
b545af3
add missing flags to observer
peterargue Apr 6, 2023
8fc4a6b
Merge #4129
bors[bot] Apr 6, 2023
148394b
update to merged version of protobuf
peterargue Apr 7, 2023
648dfdf
fix observer port allocation
peterargue Apr 7, 2023
4452791
Merge branch 'master' into alex/use_qc_of_uncertified_block_optimization
Apr 7, 2023
76f0f11
wip
Apr 7, 2023
c3ab0d5
Added tests for finalized block height in responses.
Guitarheroua Apr 7, 2023
c7d0a2c
Merge #4163
bors[bot] Apr 10, 2023
1e128bb
Update flow-emulator version to head
pattyshack Apr 5, 2023
f0487f4
Merge branch 'master' into guitarheroua/3040-observer-node-logs-as-no…
Guitarheroua Apr 10, 2023
857f733
Merge #4175
bors[bot] Apr 10, 2023
5c83d67
Merge #4166
bors[bot] Apr 10, 2023
10204df
Merge #4178
bors[bot] Apr 10, 2023
a492016
Clean up emulator dead code
pattyshack Mar 24, 2023
808249f
rename RunV2 to Run
pattyshack Apr 10, 2023
81cd1cb
apply review feedback
peterargue Apr 10, 2023
7b6f213
[Testing] Cleanup integration test port handling
peterargue Mar 29, 2023
539de08
[Localnet] Refactor localnet to clean up port allocation
peterargue Apr 4, 2023
6179371
fix merge conflict, rename allocator to ports
peterargue Apr 5, 2023
090111d
add some more method comments
peterargue Apr 5, 2023
3026c73
fix rebase conflict
peterargue Apr 7, 2023
ee65539
Add comments for portConfig
peterargue Apr 10, 2023
e961761
check rand error in tests
Apr 10, 2023
e1f8404
Merge pull request #4161 from onflow/petera/refactor-localnet-bootstrap
peterargue Apr 10, 2023
7d086e0
Merge branch 'master' into tarak/randomness-part5-ledger
tarakby Apr 10, 2023
bceb10b
Merge #4112
bors[bot] Apr 10, 2023
c095197
update cluster config constraints
jordanschalm Apr 10, 2023
1221bea
fix localnet test
peterargue Apr 10, 2023
05a8cdf
cleanup
Apr 10, 2023
b93fee7
Merge #4121
bors[bot] Apr 10, 2023
0230922
add global stream limit
peterargue Apr 10, 2023
5ce102b
Merge branch 'master' into petera/streaming-execution-data-api
peterargue Apr 10, 2023
2f89541
Fix merge conflict
peterargue Apr 10, 2023
bc11d79
Merge #3723
bors[bot] Apr 10, 2023
8aadfe1
Forks2: updated and extended goDoc
Apr 11, 2023
7c5e57c
first mature implementation of Forks2
Apr 11, 2023
8e19c6b
starting to work on tests
Apr 11, 2023
d803d75
updating tests continued
Apr 11, 2023
f035c93
updated notation for tests to reduce ambiguity
Apr 11, 2023
49fbf36
updated existing tests for Forks2
Apr 11, 2023
d3f5354
Fixed broken access unit tests
Guitarheroua Apr 11, 2023
e508092
extended test to also include `AddCertifiedBlock`
Apr 11, 2023
6d06253
extended unit tests for Forks2 to logic for adding CertifiedBlocks
Apr 11, 2023
e7d7cf2
Added documentation
Guitarheroua Apr 11, 2023
95a00e9
Added protobuf flow changes.
Guitarheroua Apr 11, 2023
0bea053
Added new commit hash of protobuf flow.
Guitarheroua Apr 11, 2023
e90e3ae
Update Makefile
gomisha Apr 10, 2023
fae1b9b
Update finalize.go
gomisha Apr 10, 2023
268715a
Update finalize.go
gomisha Apr 10, 2023
de0138e
Update Makefile
gomisha Apr 10, 2023
1d6ab8f
Update Makefile
gomisha Apr 10, 2023
fe5f715
Update Makefile
gomisha Apr 10, 2023
8f560c8
Update Makefile
gomisha Apr 11, 2023
c7cc0c2
Update Makefile
gomisha Apr 11, 2023
bb153e0
Misc state/view usage cleanup
pattyshack Apr 11, 2023
0b531f4
Apply suggestions from code review
Apr 11, 2023
4c70d56
removed method `NewestView` from Forks2, as it will no longer be need…
Apr 11, 2023
7490ce7
Merge #4177
bors[bot] Apr 11, 2023
11ddea9
[Access] Fix execution data cache in state stream api
peterargue Apr 12, 2023
94832ec
remove unused testing arguments
peterargue Apr 12, 2023
2231c4a
• removed `Unvalidated` methods;
Apr 12, 2023
813a818
updated Forks such that internal finality proof is updated _first_ be…
Apr 12, 2023
8b243be
godoc polish
Apr 12, 2023
f0c0e20
Merge #4171
bors[bot] Apr 12, 2023
2dde9fd
Merge #4195
bors[bot] Apr 12, 2023
a16142d
Merge #4183 #4184
bors[bot] Apr 12, 2023
f6bcbd2
Simplify transaction preprocessing
pattyshack Apr 12, 2023
308f506
Merge #4165
bors[bot] Apr 12, 2023
82a2b6e
update to Cadence v0.38.1
turbolent Apr 12, 2023
5ad98b8
mv fvm/derived fvm/storage/derived
pattyshack Apr 10, 2023
89be2ae
Merge #4168 #4179
bors[bot] Apr 12, 2023
316adbd
Replace delta view with spockState and storageState
pattyshack Apr 10, 2023
7f8a7a8
Merge #4182
bors[bot] Apr 12, 2023
747b575
Merge #4201
bors[bot] Apr 12, 2023
9024f61
Apply suggestions from code review
Apr 12, 2023
b2f43b7
substantially extended tests:
Apr 13, 2023
1306e52
Merge #4190
bors[bot] Apr 13, 2023
28dbd55
PR Remarks. Make changes due to extension and renaming in protobuf
Guitarheroua Apr 13, 2023
1b2802f
Linted
Guitarheroua Apr 13, 2023
66f991a
Merge branch 'master' into guitarheroua/2906-add-latest-block-height-…
Guitarheroua Apr 13, 2023
55f5744
Merge #4200
bors[bot] Apr 13, 2023
2e6eee0
Change execution state to use storage snapshot as input
pattyshack Apr 13, 2023
1dfae8b
Merge branch 'master' into guitarheroua/2906-add-latest-block-height-…
Guitarheroua Apr 13, 2023
ea88fef
fix read leaf nodes
zhangchiqing Mar 30, 2023
02932e0
Merge pull request #4212 from onflow/leo/fix-read-leaf-nodes
zhangchiqing Apr 13, 2023
3b3faf3
Merge branch 'master' into guitarheroua/2906-add-latest-block-height-…
Guitarheroua Apr 13, 2023
227da0d
add archive-address flag
zhangchiqing Apr 12, 2023
9df8c25
fix tests
zhangchiqing Apr 12, 2023
060ea7c
fix
zhangchiqing Apr 12, 2023
32a9ecd
update config
zhangchiqing Apr 12, 2023
e53d7bc
address review comments
zhangchiqing Apr 12, 2023
cd83d75
Add version beacon service event model
janezpodhostnik Apr 13, 2023
4ddd512
fix lint
zhangchiqing Apr 14, 2023
b290f2b
fix observer builder
zhangchiqing Apr 14, 2023
1f9eddc
Merge pull request #4199 from onflow/leo/4186-add-archive-address-flag
zhangchiqing Apr 14, 2023
b9ed952
[CI] Enable builds using private repos
peterargue Apr 14, 2023
2b9bcea
log a warning if caching exec data fails
peterargue Apr 14, 2023
bdaa257
address exec data cache feedback
peterargue Apr 14, 2023
36126a8
Update README.md
jordanschalm Apr 15, 2023
aca82ad
Merge #4209
bors[bot] Apr 17, 2023
c19e014
Refactor service event marshalling
janezpodhostnik Apr 14, 2023
2a5d321
Merge #4220
bors[bot] Apr 17, 2023
f8df5de
Separate integration test for version upgrades
janezpodhostnik Apr 6, 2023
0e88ebc
Merge #4172
bors[bot] Apr 17, 2023
775a071
update github.com/onflow/flow-core-contracts/lib/go/contracts to v0.12.0
Apr 17, 2023
549279f
Merge #4210
bors[bot] Apr 17, 2023
a9993fa
Merge #4197 #4224
bors[bot] Apr 17, 2023
9ab3410
Add InterimReadSet method to transaction state.
pattyshack Apr 13, 2023
9b96251
Merge #4221
bors[bot] Apr 17, 2023
d5616e2
fix cleaner interval units bug
jordanschalm Apr 17, 2023
703110b
Merge branch 'master' into guitarheroua/2906-add-latest-block-height-…
Guitarheroua Apr 18, 2023
87299a7
update in insecure and integration contracts to v0.12.0
Apr 18, 2023
5cdbd12
[Exec] Break computationResults into sub types (#4078)
ramtinms Apr 18, 2023
703d16a
Add register id sets intersection function
pattyshack Apr 18, 2023
71e5f8f
Merge #4232
bors[bot] Apr 19, 2023
159ce81
update epoch integration test
jordanschalm Apr 19, 2023
ec298fc
Merge branch 'gregor/update-core-contract-v0.12.0' of github.com:onfl…
jordanschalm Apr 19, 2023
32521d0
Fix bootstrap hash
janezpodhostnik Apr 19, 2023
26f824a
Merge #4227
bors[bot] Apr 19, 2023
c8c4941
Add version beacon contract
janezpodhostnik Apr 17, 2023
f840202
Replace RetryableError with RetryableConflictError
pattyshack Apr 19, 2023
e1fa8db
Fix integration tests
janezpodhostnik Apr 18, 2023
72e9990
upgrade emulator
janezpodhostnik Apr 19, 2023
e81806c
Merge #4226
bors[bot] Apr 19, 2023
eba51b2
Added Node ID. Fixed PR remarks.
Guitarheroua Apr 20, 2023
c8fc04c
fix scripts
zhangchiqing Apr 18, 2023
483d79f
fix typo
zhangchiqing Apr 18, 2023
6e70cd6
fix archive flag
zhangchiqing Apr 18, 2023
fd41a34
Change derived snapshot read transaction commit behavior
pattyshack Apr 20, 2023
872ace7
Merge #4241
bors[bot] Apr 21, 2023
adc35ca
Merge #4238 #4252
bors[bot] Apr 21, 2023
d7d90a8
mv fvm/state fvm/storage/state
pattyshack Apr 19, 2023
d04bcb2
Merge #4242
bors[bot] Apr 21, 2023
dd684ee
Simplify snapshot read transactions
pattyshack Apr 21, 2023
d802cde
Merge branch 'master' into tarak/crypto-bump-relic
tarakby Apr 21, 2023
eec71fe
Merge #4113
bors[bot] Apr 21, 2023
a0722fc
Merge #4251
bors[bot] Apr 24, 2023
439e04f
Merge #4255
bors[bot] Apr 24, 2023
558c149
merge master into feature branch
Apr 24, 2023
0a2e943
add replaces to test using latest crypto package
Apr 24, 2023
7bd182a
temp update to makefile to setup crypto with replace statement
Apr 25, 2023
9ae8df2
mod tidy
Apr 25, 2023
662dfcf
Merge branch 'master' into guitarheroua/2906-add-latest-block-height-…
Guitarheroua Apr 25, 2023
853129c
Pass NodeId to rpc engine.
Guitarheroua Apr 25, 2023
edc7ff2
linted
Guitarheroua Apr 25, 2023
85c6446
Fixed protobuf commit hash
Guitarheroua Apr 25, 2023
f50ad89
Merge branch 'master' into guitarheroua/2906-add-latest-block-height-…
Guitarheroua Apr 25, 2023
7b22f9c
Merge #4223
bors[bot] Apr 25, 2023
2fb816c
enable membership check in G2 to fix FVM test
Apr 25, 2023
6225294
[Spam Prevention] Implements skeleton of application-layer feedback (…
yhassanzadeh13 Apr 26, 2023
54b92e6
fix E2 infinity set and check to be based on projective Z
Apr 26, 2023
b4cd5b7
Merge branch 'master' into guitarheroua/2906-add-latest-block-height-…
Guitarheroua Apr 26, 2023
e3c720f
[Exec] change requirements for chunk data pack requests (#4005)
ramtinms Apr 26, 2023
58a8224
Merge branch 'master' into guitarheroua/2906-add-latest-block-height-…
Guitarheroua Apr 26, 2023
e96e016
make tidy
Guitarheroua Apr 26, 2023
33ba1d4
Fixed final remarks in tests.
Guitarheroua Apr 26, 2023
f387ce9
fix warning
Apr 26, 2023
cbe51a3
disable thread SAN
Apr 26, 2023
be727d8
add SIGILL handler
Apr 26, 2023
1e6e1f8
Fixed broken unit tests.
Guitarheroua Apr 26, 2023
6bd85a7
fix blst_cgo_init
Apr 26, 2023
2a88409
Merge #4191
bors[bot] Apr 27, 2023
76fcc73
disable ADX instructions in BlST by default as a temp measure
Apr 27, 2023
5ef7a60
Merge #4185
bors[bot] Apr 27, 2023
e617a99
[ALSP] Implementation of Metrics Collection for Misbehavior Reporting…
yhassanzadeh13 Apr 27, 2023
e07178d
merge latest master changes
Apr 27, 2023
2a851b5
uncomment DKG tests
Apr 28, 2023
26e5636
more logging in FeldmanVSSQ when shares aren't matching computed keys…
Apr 29, 2023
bbd3c74
fix a bug when zeroring a buffer that is not a multiple of 8 bytes wi…
May 2, 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
Apply suggestions from PR review
  • Loading branch information
durkmurder committed Apr 5, 2023
commit d5068d6794ecd0c63f36e6e94341256decf6ae33
10 changes: 4 additions & 6 deletions state/protocol/badger/mutator.go
Original file line number Diff line number Diff line change
Expand Up @@ -848,12 +848,10 @@ func (m *FollowerState) epochTransitionMetricsAndEventsOnBlockFinalized(block *f
return
}

// epochPhaseMetricsAndEventsOnBlockFinalized determines metrics to update
// and protocol events to emit, if this block is the first of a new epoch phase.
//
// Protocol events and metric updates happen when we finalize the block at
// which a service event causing an epoch phase change comes into effect.
// See handleEpochServiceEvents for details.
// epochPhaseMetricsAndEventsOnBlockFinalized determines metrics to update and protocol
// events to emit. Service Events embedded into an execution result take effect, when the
// execution result's _seal is finalized_ (i.e. when the block holding a seal for the
// result is finalized). See also handleEpochServiceEvents for further details. Example:
//
// Convention:
//
Expand Down