fix(CI): update ci and matic-cli config #1571
Merged
kamuikatsurgi merged 1 commit intoavalkov/span-store-bor-without-heimdallfrom Jun 11, 2025
Merged
fix(CI): update ci and matic-cli config #1571kamuikatsurgi merged 1 commit intoavalkov/span-store-bor-without-heimdallfrom
kamuikatsurgi merged 1 commit intoavalkov/span-store-bor-without-heimdallfrom
Conversation
982f6f8
into
avalkov/span-store-bor-without-heimdall
2 of 7 checks passed
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes the
ci.ymlandmatic-cli-config.ymlfiles.