Skip to content

Conversation

@rpanic
Copy link
Member

@rpanic rpanic commented Apr 3, 2025

Based on #297

Closes #80

This PR changes the module defintions for all ModuleContainers:
Previously, the API was:

AppChain.from({
   modules: { SampleModule },
   config: { SampleModules: {} }
})

However, the config option was almost never used, being deprecated for quite a while already, and therefore ending up to be unnecessary boilerplate for the module configuration.

This PR removes these options and only allows a single record to be passed in, laying out the modules.
AppChain.from({ SampleModule })

rpanic added 18 commits April 3, 2025 14:41
# Conflicts:
#	packages/indexer/src/Indexer.ts
#	packages/persistance/test-integration/utils.ts
#	packages/sdk/src/appChain/AppChain.ts
#	packages/sdk/src/query/StateServiceQueryModule.ts
#	packages/sequencer/src/sequencer/builder/SequencerModule.ts
#	packages/sequencer/src/sequencer/executor/Sequencer.ts
#	packages/sequencer/test-integration/workers/workers-proven.test.ts
#	packages/sequencer/test/integration/BlockProduction.test.ts
#	packages/sequencer/test/integration/Proven.test.ts
#	packages/sequencer/test/settlement/Settlement.ts
# Conflicts:
#	packages/common/src/config/ModuleContainer.ts
#	packages/sdk/src/transaction/InMemoryTransactionSender.ts
@rpanic rpanic changed the base branch from develop to refactor/appchain-seperation October 30, 2025 14:28
@rpanic rpanic changed the base branch from refactor/appchain-seperation to develop October 30, 2025 14:30
@rpanic rpanic merged commit 939db5c into develop Oct 30, 2025
5 checks passed
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.

Seperate User interfaces from AppChain composability layer

2 participants