Skip to content

go/registry/api: Improve VerifyRuntime function signature and test suite#6512

Merged
martintomazic merged 7 commits intomasterfrom
martin/trivial/clean-test-verify-runtime
Apr 23, 2026
Merged

go/registry/api: Improve VerifyRuntime function signature and test suite#6512
martintomazic merged 7 commits intomasterfrom
martin/trivial/clean-test-verify-runtime

Conversation

@martintomazic
Copy link
Copy Markdown
Contributor

Trivial

Doing this here to avoid clutter of #6474 and further duplication of code in the test suite.

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 22, 2026

Deploy Preview for oasisprotocol-oasis-core canceled.

Name Link
🔨 Latest commit de23626
🔍 Latest deploy log https://app.netlify.com/projects/oasisprotocol-oasis-core/deploys/69e92cf2e75fa500082b5ad0

Comment thread go/registry/api/api.go
isSanityCheck bool,
now beacon.EpochTime,
isFeatureVersion242 bool,
opts VerifyRuntimeOptions,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

NIT: technically an API change, but don't think this was ever meant as an API/there are downstream users of this function...

@martintomazic martintomazic force-pushed the martin/trivial/clean-test-verify-runtime branch 5 times, most recently from 5b94b98 to 29c6c9d Compare April 22, 2026 19:32
@martintomazic martintomazic changed the title go/registry/api: Improve TestVerifyRuntime test suite and signature go/registry/api: Improve TestVerifyRuntime function and test suite Apr 22, 2026
@martintomazic martintomazic changed the title go/registry/api: Improve TestVerifyRuntime function and test suite go/registry/api: Improve VerifyRuntime function signature and test suite Apr 22, 2026
@martintomazic martintomazic force-pushed the martin/trivial/clean-test-verify-runtime branch from 29c6c9d to de23626 Compare April 22, 2026 20:17
@martintomazic martintomazic marked this pull request as ready for review April 22, 2026 21:10
@martintomazic martintomazic merged commit 364bff9 into master Apr 23, 2026
5 checks passed
@martintomazic martintomazic deleted the martin/trivial/clean-test-verify-runtime branch April 23, 2026 06:46
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