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

FLIP 204: Add TargetDuration to Epoch models and API #4987 #5038

Merged

Conversation

jordanschalm
Copy link
Member

@jordanschalm jordanschalm commented Nov 20, 2023

Add additional field from EpochSetup event which is needed to compute steady-state optimal view time, corresponding to onflow/flow-core-contracts#396.

gomisha and others added 9 commits November 9, 2023 16:37
[CI][Testing] Add BuildJet CI runners for unit tests, integration tests; cache Docker images
…nflow/flow-go into feature/flip-204-epoch-target-end-time
got this error:
```
go: module github.com/onflow/flow-core-contracts@9e8417b found (v0.0.0-20231120143830-9e8417b56122), but does not contain package github.com/onflow/flow-core-contracts/lib/go/templates
```

Maybe because templates did not change since previous version?
Copy link
Member

@durkmurder durkmurder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A clean PR, good job!

jordanschalm added a commit that referenced this pull request Nov 22, 2023
Copy link
Member

@AlexHentschel AlexHentschel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

state/protocol/inmem/convert.go Outdated Show resolved Hide resolved
Co-authored-by: Alexander Hentschel <alex.hentschel@axiomzen.co>
@codecov-commenter
Copy link

codecov-commenter commented Nov 23, 2023

Codecov Report

Attention: 24 lines in your changes are missing coverage. Please review.

Comparison is base (2c0621f) 56.11% compared to head (f2834e5) 56.06%.
Report is 1 commits behind head on feature/flip-204-epoch-target-end-time.

Files Patch % Lines
model/convert/service_event.go 46.15% 12 Missing and 2 partials ⚠️
state/protocol/inmem/convert.go 25.00% 4 Missing and 2 partials ⚠️
utils/unittest/execution_state.go 0.00% 2 Missing ⚠️
utils/unittest/service_events_fixtures.go 90.00% 2 Missing ⚠️
Additional details and impacted files
@@                            Coverage Diff                             @@
##           feature/flip-204-epoch-target-end-time    #5038      +/-   ##
==========================================================================
- Coverage                                   56.11%   56.06%   -0.05%     
==========================================================================
  Files                                         957      965       +8     
  Lines                                       89274    89746     +472     
==========================================================================
+ Hits                                        50095    50318     +223     
- Misses                                      35427    35666     +239     
- Partials                                     3752     3762      +10     
Flag Coverage Δ
unittests 56.06% <62.50%> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jordanschalm jordanschalm merged commit 445e0ab into feature/flip-204-epoch-target-end-time Nov 23, 2023
54 checks passed
@jordanschalm jordanschalm deleted the jordan/4945-target-duration branch November 23, 2023 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants