Skip to content

Sync simplex updates - #5778

Open
jadalsmail wants to merge 7 commits into
masterfrom
sync-simplex-updates
Open

Sync simplex updates#5778
jadalsmail wants to merge 7 commits into
masterfrom
sync-simplex-updates

Conversation

@jadalsmail

Copy link
Copy Markdown
Collaborator

Why this should be merged

this PR syncs the latest simplex commit with avalanchgo.

How this works

How this was tested

Need to be documented in RELEASES.md?

@jadalsmail
jadalsmail requested review from a team as code owners August 5, 2026 20:24
Comment thread simplex/engine.go
vm block.ChainVM

epoch *simplex.Epoch
epoch *simplexepoch.Epoch

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We should not be using the epoch object directly anymore.

Please take a look at the new API in the top level simplex package:

https://github.com/ava-labs/Simplex/blob/main/instance_test.go

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Comment thread simplex/qc.go
}
blsSigs = append(blsSigs, sig)
}
if len(blsSigs) == 0 {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why though? isn't (nil, nil) a valid input?

Comment thread simplex/qc.go
sig: aggregatedSig,
}, nil
}
func (*SignatureAggregator) AppendSignatures(existing []byte, sigs ...[]byte) ([]byte, error) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This function isn't tested

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.

2 participants