Skip to content

[fix][fiscobcos][offchain] stabilize account and native provider loading#79

Open
fengjy73 wants to merge 1 commit into
AntChainOpenLabs:mainfrom
fengjy73:fix/fiscobcos-offchain-runtime
Open

[fix][fiscobcos][offchain] stabilize account and native provider loading#79
fengjy73 wants to merge 1 commit into
AntChainOpenLabs:mainfrom
fengjy73:fix/fiscobcos-offchain-runtime

Conversation

@fengjy73

@fengjy73 fengjy73 commented Jun 4, 2026

Copy link
Copy Markdown
Contributor
  • Add privateKey to FISCOBCOSConfig.
  • Prefer the configured private key when creating the BBC transaction keypair, with optional 0x prefix support.
  • Handle native crypto initialization failures explicitly and restore thread interrupt state.
  • Support optional provider library loading via fiscobcos.providers.lib or FISCOBCOS_PROVIDERS_LIB.
  • Guard provider library loading so it only runs once across BBC instances.
  • Use stable ABI constants: AuthMsg.ABI, SDPMsg.ABI, and PtcHub.ABI.
  • Use AuthMsg.ABI consistently for event decoding and recvPkgFromRelayer.
  • Release FISCO resources on shutdown with client.stop(), client.destroy(), and sdk.stopAll().

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.

1 participant