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

Added MaxStateSyncDataLength with hardfork #792

Merged
merged 8 commits into from
Mar 16, 2022

Conversation

0xKrishna
Copy link
Contributor

No description provided.

@linear
Copy link

linear bot commented Mar 15, 2022

POS-258 Adding Spans in Heimdall

This might need a hardfork of heimdall

@codecov-commenter
Copy link

codecov-commenter commented Mar 15, 2022

Codecov Report

Merging #792 (3f6e232) into arpit/pos-258 (dd204f9) will decrease coverage by 0.15%.
The diff coverage is 6.25%.

@@                Coverage Diff                @@
##           arpit/pos-258     #792      +/-   ##
=================================================
- Coverage          72.89%   72.73%   -0.16%     
=================================================
  Files                 49       49              
  Lines               3508     3517       +9     
=================================================
+ Hits                2557     2558       +1     
- Misses               723      730       +7     
- Partials             228      229       +1     
Impacted Files Coverage Δ
clerk/side_handler.go 68.68% <6.25%> (-5.76%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dd204f9...3f6e232. Read the comment docs.

Copy link
Member

@vcastellm vcastellm left a comment

Choose a reason for hiding this comment

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

LGTM Where SpanOverrideBlockHeight is defined?

@0xKrishna
Copy link
Contributor Author

LGTM Where SpanOverrideBlockHeight is defined?

In https://github.com/maticnetwork/heimdall/pull/791/files

@0xKrishna 0xKrishna requested review from vcastellm and jdkanani March 15, 2022 11:06
@0xKrishna 0xKrishna requested review from temaniarpit27 and ssandeep and removed request for vcastellm March 15, 2022 11:53
@jdkanani jdkanani requested a review from anilcse March 16, 2022 13:25
Copy link
Contributor

@anilcse anilcse left a comment

Choose a reason for hiding this comment

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

Lgtm

return 0
}

return response.Height
Copy link
Contributor

Choose a reason for hiding this comment

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

Just wanted to double confirm if this returns latest height. Are we missing any checks around this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, Using this API for the height
https://heimdall.api.matic.network/checkpoints/count

@temaniarpit27 temaniarpit27 merged commit 88b983f into arpit/pos-258 Mar 16, 2022
@temaniarpit27 temaniarpit27 deleted the krishna/pos-258 branch March 16, 2022 16:19
temaniarpit27 added a commit that referenced this pull request Mar 16, 2022
* add begin blocker

* height moved to file

* 50k to 100k

* remove check

* Revert "remove check"

This reverts commit d2a4f13.

* review comments

* minor changes

* Update mumbai.toml

* Added MaxStateSyncDataLength with hardfork (#792)

* Added MaxStateSyncDataLength with hardfork

* formatted if-else

* update variable name

* Added block check in bridge

* fix height issue in clerk cli and rest

Co-authored-by: Krishna Upadhyaya <KRISHNAU1604@GMAIL.COM>
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.

7 participants