Skip to content

fix(CI): update ci and matic-cli config #1571

Merged
kamuikatsurgi merged 1 commit intoavalkov/span-store-bor-without-heimdallfrom
krishang/fix-ci
Jun 11, 2025
Merged

fix(CI): update ci and matic-cli config #1571
kamuikatsurgi merged 1 commit intoavalkov/span-store-bor-without-heimdallfrom
krishang/fix-ci

Conversation

@kamuikatsurgi
Copy link
Copy Markdown
Member

Description

Fixes the ci.yml and matic-cli-config.yml files.

@kamuikatsurgi kamuikatsurgi merged commit 982f6f8 into avalkov/span-store-bor-without-heimdall Jun 11, 2025
2 of 7 checks passed
@kamuikatsurgi kamuikatsurgi deleted the krishang/fix-ci branch June 11, 2025 11:50
pratikspatil024 added a commit that referenced this pull request Jun 18, 2025
* cmd,consensus/bor,eth,internal,tests: init heimdall-v2 integration

* cmd,consensus/bor,eth,internal: refactor and todo comments

* go mod tidy

* update cosmos-sdk/client/v2

* consensus/bor: fix setting of proto message value to correct type

* Fix milestone response

* Latest milestone response fixes

* Milestone custom unmarshal

* Fix milestone parsing

* Fix milestone parsing

* Fix milestone no-ack parsing

* Fix milestone no-ack parsing

* Remove log

* Test fixes

* checkpoint: fix response

* Custom unmarshaling for checkpoint

* Fix fetching milestone by id

* Fix milestone count response

* Fix checkpoint responses

* Remove FetchMilestoneByID

* Fix MinimalVal

* consensus/bor: add page param to state sync fetch url

* consensus/bor: fix state sync url

* consensus/bor: add debug log for state sync

* consensus/bor: minor change to fetchStateSyncEventsFormat

* consensus/bor: fix state sync event record decoding

* update heimdall-v2 commit

* consensus/bor: remove debug print logs

* consensus/bor: fix fetching list of state sync

* consensus/bor: remove unused const

* Fast consensus

* Disable milestone lock

This is to unblock an issue where more than one milestone are proposed at the same time.

* Modify docker file to access private repo

* Only apply early block announcement to primary block producer

* Remove milestone no-ack fetching

* Find and insert whitelisted chain on new milestone

* dependencies

* update CI

* integration tests update

* milestone ws connection & handler refactor

* logs to validate

* more logs

* more lgos

* more logs

* remove deadline

* connection recover and logs to validate

* small make fixes

* remove logs

* refactor on retry mechanism

* empty ws addree by default

* install solc-select on e2e ci tests

* Bor without heimdall

* bor nil check

* Bor without heimdall

* chore: add removePrefix

* Milestone using gRPC

* Checkpoint using gRPC

* Span and State Sync using gRPC

* Minor nit

* Change milestone log to Debug

* fix milestone count, remove Span, and lint fixes

* fix FetchMilestone func

* Bor without heimdall

* remove extra line to fix lint

* Handle race condition cases - requesting heimdallv2 via v1 client

* fix: generate-mocks and test

* chore: comment out Span in heimdallapp

* minor chores

* address govuln check

* Return empty state sync events on error

* Increase milestone ticker

* Parse API server url and set tendermint RPC port

* fix nil pointer dereference on DoCall

* Continue even if we cannot fetch state sync events

* fix: metrics

* address comments

* chore: remove .EXPECT().Span from tests

* chore: fix test warnings

* fix: Bor-HV2 tests

* Bor without heimdall

* fix mocks

* Fix checkpoint v2 and milestone v2 responses

* Use proper url to fetch halt height

* Fix checkpoint and milestone v2 response

* Add debug logs

* Remove debug logs

* Set HF is approaching to true

* Debug logging

* Use correct latest span url

* If HF is approaching dont request v1 span with retry

* Fix querying latest stored span

* Add logs

* Correctly calculate self committed span start and end blocks

* Fix self committing of span start block

* Fix halt height types

* Halt height monitor fixes

* Fetch halt height every 5 seconds

* Fix heimdall halt height monitor

* Remove halt height monitor

* Dont panic if span not stored

* Retry until span is available in v1

* Enable self committing of spans for heimdallv2

* Dont retry indefinetely GetSpanV2

* Fix span length calculation

* Cleanup

* gRPC client to support heimdall v1 and v2

* Fix tests

* Fixing comments

* Fixing comments

* Remover bor without heimdall changes

* Uncomment fake miner

* Bor without heimdall

* Add GetStartBlockHeimdallSpanID endpoint

* Dont use websocket connection if it failed to connect

* Fix storing start block original span id

* Store IsHeimdallV2 in persistent storage

* Fix go.mod

* update APIs / bump v2

* Fix go.mod

* Use chainparams to detect hv1 and hv2

* Fix test

* Add missing func

* Audit report improvements

* Fix storing version flag

* Fix matic-cli-config

* Move bor span self commit logic to the span store

* Retry with backoff - detect if heimdall version changed

* Fix panics

* Fix return

* Fix tests

* Span start and end block calculation fixes

* fix: ci.yml and matic-cli config (#1571)

* Fix CI comments

* Update CI go version

* Remove alias

* Fix comment

* Fix wrong comments

* Remove unused url

* Added panic for not implemented running of heimdall from bor

* Handle error on SetReadDeadline

* Added error handling and falling back to HTTP for ws milestones fetching

* Added retrying if subscribeAndHandleMilestone fails

* Remove unused fnName parameter from retryHeimdallHandler

* Remove unused function

* Remove unused function

* Fix imports ordering

* Updated heimdallv2 dependency version and added total difficulty to milestone

* Fix typo

* Fix tests

* Fix tests

* Fix tests

* Fix tests

* Fix milestones and checkpoints count

* Fix tests

* Fix tests

* Fix TestInsertingSpanSizeBlocks

* Fix TestSimulatedBackend

* Fix lint and tests

* Fix TestSimulatedBackend

* Fix lint

* Cleanup logs

* Fix tests

* Turn serve warning to debug

* Increase testGenerateBlockAndImport timeout

---------

Co-authored-by: Raneet Debnath <raneetdebnath10@gmail.com>
Co-authored-by: Pratik Patil <pratikspatil024@gmail.com>
Co-authored-by: Raneet Debnath <35629432+Raneet10@users.noreply.github.com>
Co-authored-by: Jerry <jerrycgh@gmail.com>
Co-authored-by: marcello33 <marcelloardizzone@hotmail.it>
Co-authored-by: Lucca Martins <lucca_martins30@yahoo.com.br>
Co-authored-by: kamuikatsurgi <shahkrishang11@gmail.com>
Co-authored-by: Krishang Shah <109511742+kamuikatsurgi@users.noreply.github.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.

1 participant