Skip to content

Enable Cubist Signer integration #3965

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

Merged
merged 72 commits into from
Jul 25, 2025
Merged

Enable Cubist Signer integration #3965

merged 72 commits into from
Jul 25, 2025

Conversation

geoff-vball
Copy link
Contributor

@geoff-vball geoff-vball commented May 15, 2025

Why this should be merged

The enables the rpc-signer configuration.

This is based off of this old PR.

How this works

I moved the instantiation of the signer from the config package to node.New() where we instantiate everything else that needs filesystem/networking. This way we don't need to propagate cleanup all over the place.

I also opted for a Shutdown() method on bls.Signer, which is how the other resources attached to node are managed. Currently, resources are not shutdown if we fail in another part of node.New(), but this is how the rest of the resources are also managed.

Out of scope for this PR, but we may want to consider some sort of registry of cleanup/shutdown functions that can be unwound whenever we fail.

How this was tested

Unit tests

Need to be documented in RELEASES.md?

Yes?

richardpringle and others added 30 commits March 12, 2025 14:05
The code was changed without changing the behaviour. Instead of
`os.Stat`ing the file, we just try to read the file (which returned the
same error type).
Prior to this, we were checking if the file existed before attempting to
readd it. It was unnecessary and the logic has been removed.
@geoff-vball geoff-vball requested a review from joshua-kim July 15, 2025 20:59
Signed-off-by: Joshua Kim <[email protected]>
Signed-off-by: Joshua Kim <[email protected]>
Signed-off-by: Joshua Kim <[email protected]>
geoff-vball and others added 4 commits July 16, 2025 14:47
Co-authored-by: Stephen Buttolph <[email protected]>
Signed-off-by: Geoff Stuart <[email protected]>
Co-authored-by: Stephen Buttolph <[email protected]>
Signed-off-by: Geoff Stuart <[email protected]>
Co-authored-by: Stephen Buttolph <[email protected]>
Signed-off-by: Geoff Stuart <[email protected]>
Copy link
Contributor

@StephenButtolph StephenButtolph left a comment

Choose a reason for hiding this comment

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

I don't think it's much easier to make this code better without re-writing the node package... so lgtm (modulo the one comment)

@StephenButtolph StephenButtolph added this pull request to the merge queue Jul 25, 2025
Merged via the queue into master with commit b1433fd Jul 25, 2025
29 checks passed
@StephenButtolph StephenButtolph deleted the signers-config-wip branch July 25, 2025 19:05
@github-project-automation github-project-automation bot moved this from In Progress 🏗️ to Done 🎉 in avalanchego Jul 25, 2025
joshua-kim added a commit that referenced this pull request Jul 30, 2025
commit 45df9e6
Author: Jonathan Oppenheimer <[email protected]>
Date:   Tue Jul 29 15:44:08 2025 -0400

    chore: Update header year to 2025 (#4140)

commit dca17fd
Author: Stephen Buttolph <[email protected]>
Date:   Tue Jul 29 15:41:14 2025 -0400

    Remove gitignore line that ignores the `database/dbtest` package (#4142)

commit 6e56650
Author: aaronbuchwald <[email protected]>
Date:   Tue Jul 29 14:29:42 2025 -0400

    Remove flaky dial throttler tests (#4139)

commit 577820e
Author: aaronbuchwald <[email protected]>
Date:   Tue Jul 29 13:25:27 2025 -0400

    Add runner input to run c-chain reexecution benchmark on arbitrary target (#4121)

    Signed-off-by: aaronbuchwald <[email protected]>
    Co-authored-by: Copilot <[email protected]>

commit d5cdc50
Author: Stephen Buttolph <[email protected]>
Date:   Tue Jul 29 13:24:13 2025 -0400

    With golangci-lint v2.2.2 using http.NewRequest is discouraged (#4136)

commit d9d6f59
Author: aaronbuchwald <[email protected]>
Date:   Tue Jul 29 11:49:26 2025 -0400

    Remove external-data-json-path from benchmark push step (#4134)

commit 0c62370
Author: aaronbuchwald <[email protected]>
Date:   Mon Jul 28 14:12:02 2025 -0400

    Split action benchmark comparison and push to gh-pages (#4130)

commit b1433fd
Author: Geoff Stuart <[email protected]>
Date:   Fri Jul 25 14:50:16 2025 -0400

    Enable Cubist Signer integration (#3965)

    Signed-off-by: Geoff Stuart <[email protected]>
    Signed-off-by: Joshua Kim <[email protected]>
    Co-authored-by: Richard Pringle <[email protected]>
    Co-authored-by: Joshua Kim <[email protected]>
    Co-authored-by: Stephen Buttolph <[email protected]>

commit 44c79a8
Author: rodrigo <[email protected]>
Date:   Fri Jul 25 10:52:17 2025 -0400

    refactor: remove load 1.0  (#4112)

commit e658cf4
Author: jishudashu <[email protected]>
Date:   Fri Jul 25 22:50:43 2025 +0800

    refactor: use maps.Copy for cleaner map handling (#4119)

    Signed-off-by: jishudashu <[email protected]>

commit 0980edf
Author: aaronbuchwald <[email protected]>
Date:   Thu Jul 24 16:13:30 2025 -0400

    Update codeowners of reexecution changes (#4116)

commit 44b1e6c
Author: Sam Liokumovich <[email protected]>
Date:   Thu Jul 24 16:00:45 2025 -0400

    Simplex QuorumCertificate and BLS aggregator (#4091)

commit 5af69e6
Author: rodrigo <[email protected]>
Date:   Thu Jul 24 13:17:48 2025 -0400

    ci: remove load 1.0 (#4106)

commit 12b75d4
Author: aaronbuchwald <[email protected]>
Date:   Wed Jul 23 13:01:42 2025 -0400

    Add step to push benchmark results to gh-pages (#4103)

    Signed-off-by: aaronbuchwald <[email protected]>

commit c712437
Author: Sam Liokumovich <[email protected]>
Date:   Wed Jul 23 11:33:29 2025 -0400

    Remove Stale References of the toEngine Channel (#4101)

Signed-off-by: Joshua Kim <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

6 participants