Skip to content

add override.jenner flag - #133

Merged
zlacfzy merged 1 commit into
mainfrom
cas20-local-cluster
Sep 15, 2026
Merged

zlacfzy merged 1 commit into
mainfrom
cas20-local-cluster

Conversation

@zlacfzy

@zlacfzy zlacfzy commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Description

Pass --override.jenner ${LastHardforkTime} in bsc_cluster.sh and bsc_fullnode.sh, and move --override.pasteur to ${PassedForkTime} now that Jenner is the last fork, so the local cluster starts past pasteur, crosses Jenner ten seconds after it starts, and a fullnode syncing from it shares the chain config. Pairs with bnb-chain/bsc#3813, now on develop.

Rationale

The generated genesis carries no jennerTime, so without the override a Jenner build never crosses the fork and CAS20 (BEP-702) stays unreachable on the local cluster. Nothing else is pre-seeded: the fork plants the registry sentinels, and the activation admin is appointed the way it is on mainnet, through a GovHub proposal — the cluster's two-minute vote and one-minute timelock make that path testable end to end.

Example

bash bsc_cluster.sh reset

Changes

  • bsc_cluster.sh +2 -1, bsc_fullnode.sh +1 -1.

🤖 Generated with Claude Code

@hashdit-bot

hashdit-bot Bot commented Sep 15, 2026

Copy link
Copy Markdown

Pull Request Review

This PR updates the local BSC cluster to cross the Jenner fork and seeds the CAS20 ActivationRegistry admin in genesis while leaving feature switches disabled. It also adds CAS20 smoke and governance end-to-end scripts covering activation, token creation, policy behavior, ABI edge cases, and governance-based admin appointment.

Sensitive Content

Blockchain Address:

  • 0xbcdd0d2cda5f6423e57b6a4dcd75decbe31aecf0 (Ethereum account) in cas20_gov_e2e.sh — Local validator account used to submit governance transactions through an unlocked RPC account.
  • 0x04d63aBCd2b9b1baa327f2Dda0f873F197ccd186 (Ethereum account) in cas20_smoke.sh — Expected INIT_HOLDER and CAS20 activation admin address.
  • 0x04d63aBCd2b9b1baa327f2Dda0f873F197ccd186 (Ethereum account) in cas20_smoke2.sh — INIT_HOLDER account used as token administrator and policy caller.

Private Key / Seed Phrase / Mnemonic / Secret Material:

  • 59ba...10e8 (Ethereum Private Key) in cas20_smoke.sh — Hardcoded fallback value for INIT_HOLDER_PRV, used by cast to sign transactions.
  • 59ba...10e8 (Ethereum Private Key) in cas20_smoke2.sh — Hardcoded fallback value for INIT_HOLDER_PRV, used by cast to sign transactions.

Security Issues

No serious security issues detected.


Generated by Hashdit Bot. This tool can absolutely NOT replace manual audits.

@zlacfzy
zlacfzy force-pushed the cas20-local-cluster branch from 88f4a40 to 7d6a999 Compare September 15, 2026 07:41
@zlacfzy zlacfzy changed the title bring the local cluster across Jenner and add CAS20 smoke tests bring the local cluster across Jenner with a CAS20 activation admin Sep 15, 2026
@hashdit-bot

hashdit-bot Bot commented Sep 15, 2026

Copy link
Copy Markdown

Pull Request Review

This PR updates the local BSC cluster to cross the Jenner fork by passing the Jenner override timestamp when starting nodes. It also adds a genesis-seeding utility that installs the local CAS20 ActivationRegistry sentinel and assigns the configured INIT_HOLDER as its admin while leaving feature switches closed for smoke testing.

Sensitive Content

No sensitive content detected.

Security Issues

No serious security issues detected.


Generated by Hashdit Bot. This tool can absolutely NOT replace manual audits.

@zlacfzy
zlacfzy force-pushed the cas20-local-cluster branch from 7d6a999 to a1901ee Compare September 15, 2026 07:43
@hashdit-bot

hashdit-bot Bot commented Sep 15, 2026

Copy link
Copy Markdown

Pull Request Review

This PR updates the local BSC cluster startup to activate the Jenner fork at the configured last-hardfork time. It also modifies genesis generation to install the CAS20 ActivationRegistry sentinel code and seed its admin storage slot from INIT_HOLDER, while leaving feature activation disabled for fork testing.

Sensitive Content

No sensitive content detected.

Security Issues

No serious security issues detected.


Generated by Hashdit Bot. This tool can absolutely NOT replace manual audits.

@zlacfzy
zlacfzy force-pushed the cas20-local-cluster branch from a1901ee to fe2a69f Compare September 15, 2026 07:50
@zlacfzy zlacfzy changed the title bring the local cluster across Jenner with a CAS20 activation admin add override.jenner flag Sep 15, 2026
@hashdit-bot

hashdit-bot Bot commented Sep 15, 2026

Copy link
Copy Markdown

Pull Request Review

This PR updates the local BNB Smart Chain cluster startup command to pass the Jenner hard-fork override at LastHardforkTime, allowing the cluster to cross the fork during local testing. Although the PR description also discusses seeding a CAS20 ActivationRegistry admin in genesis, the provided diff only adds the Jenner command-line flag.

Sensitive Content

No sensitive content detected.

Security Issues

No serious security issues detected.


Generated by Hashdit Bot. This tool can absolutely NOT replace manual audits.

@zlacfzy
zlacfzy force-pushed the cas20-local-cluster branch from fe2a69f to 5f9adba Compare September 15, 2026 07:53
@hashdit-bot

hashdit-bot Bot commented Sep 15, 2026

Copy link
Copy Markdown

Pull Request Review

This PR updates the BSC local-cluster startup script to pass --override.jenner ${LastHardforkTime} to every started node. This schedules Jenner activation alongside the existing Pasteur override, allowing local end-to-end testing of Jenner-dependent functionality such as CAS20 (BEP-702).

Sensitive Content

No sensitive content detected.

Security Issues

No serious security issues detected.


Generated by Hashdit Bot. This tool can absolutely NOT replace manual audits.

@zlacfzy
zlacfzy force-pushed the cas20-local-cluster branch from 5f9adba to b899022 Compare September 15, 2026 07:53
@hashdit-bot

hashdit-bot Bot commented Sep 15, 2026

Copy link
Copy Markdown

Pull Request Review

This PR updates the BSC local cluster and full-node startup scripts to pass the Jenner hardfork activation time through --override.jenner ${LastHardforkTime}. This keeps validator and full-node chain configurations aligned and allows the local network to activate Jenner shortly after startup.

Sensitive Content

No sensitive content detected.

Security Issues

No serious security issues detected.


Generated by Hashdit Bot. This tool can absolutely NOT replace manual audits.

The generated genesis carries no jennerTime, so without the override a
Jenner build never crosses the fork and CAS20 (BEP-702) stays unreachable
on the local cluster. Jenner is now the last fork, so pasteur moves to
PassedForkTime like every fork before it. The fullnode script gets the
same flags so a node syncing from the cluster shares its chain config.
Activation itself is left to the designed path: GovHub appoints the
admin, the admin opens the features.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@zlacfzy
zlacfzy force-pushed the cas20-local-cluster branch from b899022 to 7a6d00e Compare September 15, 2026 07:55
@hashdit-bot

hashdit-bot Bot commented Sep 15, 2026

Copy link
Copy Markdown

Pull Request Review

This PR updates the BSC local cluster and full-node startup scripts to activate Pasteur at the previously passed fork time and schedule Jenner at the latest hardfork time. This ensures the local cluster crosses the Jenner fork shortly after startup and that attached full nodes use matching chain configuration.

Sensitive Content

No sensitive content detected.

Security Issues

No serious security issues detected.


Generated by Hashdit Bot. This tool can absolutely NOT replace manual audits.

@zlacfzy
zlacfzy merged commit 292c259 into main Sep 15, 2026
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.

3 participants