Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional espresso-dev-node to cartesi run #80

Open
wants to merge 1 commit into
base: feature/add-espresso-dev-node-to-sdk
Choose a base branch
from

Conversation

endersonmaia
Copy link
Contributor

@endersonmaia endersonmaia commented Sep 30, 2024

Depends on: #81

A new minor version cartesi/sdk should be released before merging this PR.


This pull request includes several updates to the @cartesi/cli package, focusing on adding a new feature and updating dependencies. The most important changes include adding the --enable-espresso flag to the cartesi run command, updating Docker Compose configurations to use newer images, and adding support for the Espresso development node.

New Feature:

  • Added --enable-espresso flag to enable the Espresso development node in the cartesi run command (apps/cli/src/commands/run.ts). [1] [2]

Dependency Updates:

  • Updated Docker Compose configurations to use cartesi/sdk:0.11.0 instead of cartesi/sdk:0.10.0 (apps/cli/src/node/docker-compose-anvil.yaml, apps/cli/src/node/docker-compose-bundler.yaml, apps/cli/src/node/docker-compose-paymaster.yaml, packages/mock-verifying-paymaster/docker-compose.yaml). [1] [2] [3] [4] [5] [6]
  • Updated PostgreSQL image to postgres:16-alpine in Docker Compose configurations (apps/cli/src/node/docker-compose-database.yaml, apps/cli/src/node/docker-compose-explorer.yaml). [1] [2]

Support for Espresso Development Node:

  • Added Docker Compose configuration for the Espresso development node (apps/cli/src/node/docker-compose-espresso.yaml).

Documentation:

  • Added a changeset file to document the addition of the --enable-espresso flag (.changeset/fresh-mangos-wink.md).

Copy link

changeset-bot bot commented Sep 30, 2024

🦋 Changeset detected

Latest commit: f95e3df

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@cartesi/cli Minor
@cartesi/sdk Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@endersonmaia
Copy link
Contributor Author

It's possible to start testing with:

cartesi-dev --disable-bundler --disable-explorer --enable-espresso --verbose

.changeset/odd-phones-grab.md Outdated Show resolved Hide resolved
apps/cli/src/node/docker-compose-database.yaml Outdated Show resolved Hide resolved
apps/cli/src/node/docker-compose-espresso.yaml Outdated Show resolved Hide resolved
espresso-notes.md Outdated Show resolved Hide resolved
@endersonmaia endersonmaia force-pushed the feature/add-espresso-dev-node branch 2 times, most recently from 8754fce to 09cd9a7 Compare October 1, 2024 17:04
With that option you can start a espresso-dev-node integrated into the
cartesi development environment.
@endersonmaia endersonmaia changed the base branch from main to feature/add-espresso-dev-node-to-sdk October 1, 2024 17:06
@endersonmaia endersonmaia self-assigned this Oct 1, 2024
@endersonmaia endersonmaia marked this pull request as ready for review October 1, 2024 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants