Skip to content

Refactor Execution Cycle #5356

@s8sato

Description

@s8sato

Last updated: May 26, 2025

Roadmap to resolve critical bugs and implement key features.

Cluster A: Triggers

flowchart BT
  classDef bug fill:#8c4351,fill-opacity:0.5
  classDef optim fill:#A8C686,fill-opacity:0.5
  classDef feature fill:#166775,fill-opacity:0.5
  %% classDef security fill:#E8B3C1,fill-opacity:0.5

  B((bug)):::bug
  P((optim)):::optim
  F((feature)):::feature
  %% S((security)):::security
  A>api-changes]

  %% #RXC(#5356 Refactor execution cycle)
  #TXF(#1177 Transaction fees):::feature
  #SED(#5440 Trigger Safety 3: Economic deterrence):::feature
  #SAI(#5441 Trigger Safety 2-B: Authority inheritance):::bug
  #SEP>#5439 Trigger Safety 2-A: Event subscription permissions]:::feature
  #RTX>#4968 Record trigger executions]:::feature
  %% #TBE(#5232 Trigger for batched events):::bug
  #PTT(#4937 Per-transaction triggers):::bug
  #GXC(#5355 Generic structure through execution cycle)

  #RTX --> #TXF
  %% #WXE .->|?| #TXF
  #SED --> #TXF
  #PTT --> #SAI
  #GXC --> #SEP
  #GXC .->|API change| #RTX
  #PTT --> #RTX
  %% #PTT --> #TBE
  %% #XRD .-> |?| #PTT
  %% #WXE .-> |?| #PTT
  %% #GXC --> |Phase 2| #PTT

Loading

Cluster B: Data integrity & Wasm modules

flowchart BT
  classDef bug fill:#8c4351,fill-opacity:0.5
  classDef optim fill:#A8C686,fill-opacity:0.5
  classDef feature fill:#166775,fill-opacity:0.5
  %% classDef security fill:#E8B3C1,fill-opacity:0.5

  B((bug)):::bug
  P((optim)):::optim
  F((feature)):::feature
  %% S((security)):::security
  A>api-changes]

  %% #RXC(#5356 Refactor execution cycle)
  #TXF(#1177 Transaction fees):::feature
  #SEP>#5439 Trigger Safety 2-A: Event subscription permissions]:::feature
  #QPM>#5338 Query permissions]:::feature
  #TXQ(#5171 Transactional queries):::bug
  #LFC(#4756 Reduce FFI calls):::optim
  #WIO(#5358 Simplify WasmInstruction I/O)
  #MDX(#5357 Modularize Executor)
  #RDB(#4672 Data integrity):::bug
  #RGP>#5359 Registrable permissions]:::feature
  #RGW>#5147 Registrable Wasm instructions]:::feature
  #NSI>#5361 Namespace dimension vs. lightweight IDs]:::optim
  #GRR(#5360 Grant/Revoke rules):::bug
  #RID(#5034 Redundant IDs):::optim
  #MST(#5229 Multisig tables):::bug
  %% #WXE(#5362 Wasm executable should declare the union of possible events)
  #GXC(#5355 Generic structure through execution cycle)

  #WIO --> #TXF
  #MDX --> #QPM
  #GXC --> #QPM
  #WIO --> #TXQ
  #MDX --> #SEP
  #WIO --> #LFC
  #MDX --> #WIO
  #RGW --> #MDX
  #RGP --> #MDX
  %% #WXE .-> |?| #WIO
  #GXC --> #WIO
  #RGW --> #RDB
  #RGP --> #RDB
  #GRR --> #RDB
  #RID --> #RDB
  #MST --> #RDB
  #NSI --> #RDB
  #GXC --> #SEP
  #GXC --> #RDB
  #GXC --> #RGP
  #GXC --> #GRR
  %% #GXC --> #WXE

Loading

Printable PDF

Previous version
flowchart BT
  classDef bug fill:#8c4351,fill-opacity:0.5
  classDef optim fill:#A8C686,fill-opacity:0.5
  classDef feature fill:#166775,fill-opacity:0.5

  B((bug)):::bug
  P((optim)):::optim
  F((feature)):::feature

  %% #REC(#5356 Refactor execution cycle)
  #TXF(#1177 Transaction fees):::feature
  #INT(#4968 Internal transactions):::feature
  #FTC(#5232 Fix triggering conditions):::bug
  #TPT(#4937 Trigger per transaction):::bug
  #PMQ(#5338 Permissions for queries):::feature
  #TXQ(#5171 Transactional queries):::bug
  %% #XPP(#0000 Exclude user-defined logic from prediction paths)
  #LFC(#4756 Reduce FFI calls):::optim
  #XRD(#5357 Executor roles deconstruction)
  #WFS(#5358 Wasm FFI simplification)
  #RDB(#4672 RDB-like World):::bug
  #RPM(#5359 Registrable permissions)
  #CWX(#5147 Registrable executables)
  #GRR(#5360 Grant/Revoke rules):::bug
  #RID(#5034 Redundant IDs):::optim
  #MST(#5229 Multisig tables):::bug
  #NSI(#5361 Namespace dimension vs. lightweight IDs):::optim
  #WXE(#5362 Wasm executable should declare the union of possible events)
  #GXC(#5355 Generic structure through execution cycle)

  #INT .->|?| #TXF
  #WXE .->|?| #TXF
  #TPT --> #INT
  #TPT --> #FTC
  %% #XPP --> #TPT
  #XRD .-> |?| #TPT
  #WXE .-> |?| #TPT
  #GXC --> |Phase 2| #TPT
  #XRD --> #PMQ
  #GXC --> #PMQ
  #WFS --> #TXQ
  %% #XRD --> #XPP
  #XRD --> #LFC
  #WFS --> #LFC
  #WFS --> #XRD
  #CWX --> #XRD
  #RPM --> #XRD
  #WXE .-> |?| #WFS
  #GXC --> #WFS
  #CWX --> #RDB
  #RPM --> #RDB
  #GRR --> #RDB
  #RID --> #RDB
  #MST --> #RDB
  #NSI --> #RDB
  #GXC --> #RDB
  #GXC --> #RPM
  #GXC --> #GRR
  #GXC --> #WXE

Loading

Printable PDF

Relevant Issues

Sub-issues

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingEnhancementNew feature or requestExecutorOptimizationSomething isn't working as well as it shouldPerformancenon-functionalRefactorImprovement to overall code qualityapi-changesChanges in the API for client libraries

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions