Skip to content

[WIP] chore: upgrade getrandom, rand & remove old getrandom#872

Draft
ANISH-SR wants to merge 1 commit intocelestiaorg:mainfrom
ANISH-SR:upgrade-deps-782
Draft

[WIP] chore: upgrade getrandom, rand & remove old getrandom#872
ANISH-SR wants to merge 1 commit intocelestiaorg:mainfrom
ANISH-SR:upgrade-deps-782

Conversation

@ANISH-SR
Copy link
Contributor

@ANISH-SR ANISH-SR commented Jan 10, 2026

Summary of Changes

  • All direct uses now point to getrandom 0.3.4 via the getrandom_03 workspace alias, and rand is centralized in the workspace.
  • There are no explicit getrandom = "0.2" entries in any Cargo.toml.
  • Current tendermint/rand versions still depend on getrandom 0.2; bumping them alone won’t eliminate it.

Resolves #782

Signed-off-by: ANISH-SR <rawatanish08@gmail.com>
@ANISH-SR ANISH-SR changed the title choreupgrade getrandom, rand & remove old getrandom chore: upgrade getrandom, rand & remove old getrandom Jan 10, 2026
@ANISH-SR ANISH-SR changed the title chore: upgrade getrandom, rand & remove old getrandom [WIP] chore: upgrade getrandom, rand & remove old getrandom Jan 10, 2026
@ANISH-SR ANISH-SR marked this pull request as draft January 10, 2026 12:46
@oblique
Copy link
Contributor

oblique commented Jan 11, 2026

We still need getrandom v0.2 because a dependency of tendermint is using it. If we remove it from our Cargo.toml then WASM builds will fail. In order to keep only v0.3, the v0.2 should not be anywhere in the dependency tree.

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.

Update getrandom and remove getrandom 0.2

2 participants