Skip to content

feat(accounts): add lazy fast-signable pools - #216

Open
dankrad wants to merge 5 commits into
mainfrom
feat/fast-signable-pools
Open

dankrad wants to merge 5 commits into
mainfrom
feat/fast-signable-pools

Conversation

@dankrad

@dankrad dankrad commented Sep 17, 2026

Copy link
Copy Markdown

Summary

  • add lazily derived fast_signable account pools that can span billions of funded addresses without eager allocation
  • expose the same deterministic range as a destination address pool
  • derive signers on selection using keccak256(keccak256(seed) || be64(index) || "sk")
  • update account consumers to support eager and lazy pools
  • pin the first derived addresses to Tempo state-bloat fixtures

Used by

Validation

  • cargo test -p txgen-core accounts
  • parsed the new Tempo payment preset
  • generated 100 signed setup/workload transactions from it

dankrad and others added 3 commits July 14, 2026 15:51
sk_i = keccak256(keccak256(seed) || be64(i) || "sk"); signers derive on
pick instead of eagerly, so a pool can span the whole bloated state.
Same derivation available as an address pool for recipients. Matches
tempo generate-state-bloat --keccak-signable byte-for-byte.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant