Skip to content

Commit

Permalink
Migrate from @sunodo/cli to @cartesi/cli (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
endersonmaia authored May 3, 2024
1 parent 4093a8a commit cb58a31
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
.sunodo
.cartesi
frontend
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.sunodo
.sunodo.env
.cartesi
.cartesi.env
frontend/node_modules/**
frontend/.next/**
frontend/src/hooks/contracts.tsx
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ EOF
# runtime stage: produces final image that will be executed
FROM --platform=linux/riscv64 riscv64/ubuntu:22.04

LABEL io.sunodo.sdk_version=0.4.0
LABEL io.cartesi.sdk_version=0.6.0
LABEL io.cartesi.rollups.ram_size=128Mi
LABEL io.cartesi.rollups.data_size=128Mb

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
all: bounties test-image image

image:
sunodo build
cartesi build

bounties:
$(MAKE) -C tests/bounties
Expand All @@ -13,7 +13,7 @@ test:
docker run -v $(shell pwd):/mnt --rm -it bugless-test-image lua5.4 tests/tests.lua

run:
sunodo run
cartesi run

run-frontend-dev:
cd frontend && pnpm dev
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ To help you figure out which dependencies you actually need, here is a table of
| `go` | | | | | ☑️ | ☑️ | |
| `jq` | | | | | ☑️ | | |
| `pnpm` | | | | | | | ☑️ |
| `sunodo` | | ☑️ | | ☑️ | | | |
| `cartesi` | | ☑️ | | ☑️ | | | |

## Presentation

Expand All @@ -43,13 +43,13 @@ make slides
### Building the machine image

```sh
sunodo build
cartesi build
```

### Running the Cartesi Node

```
sunodo run
cartesi run
```

## Building bounties
Expand Down
2 changes: 1 addition & 1 deletion cloud/bug-less-validator.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# syntax=docker.io/docker/dockerfile:1
FROM cartesi/rollups-node:1.3.0
COPY .sunodo/image /usr/share/cartesi/snapshot
COPY .cartesi/image /usr/share/cartesi/snapshot
2 changes: 1 addition & 1 deletion cloud/bug-less-validator.Dockerfile.dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
**/*.*
!.sunodo
!.cartesi
2 changes: 1 addition & 1 deletion tests/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM sunodo/sdk:0.4.0
FROM cartesi/sdk:0.6.0

RUN apt-get update
RUN apt-get install -y build-essential luarocks lua5.4-dev git
Expand Down
2 changes: 1 addition & 1 deletion tests/tests.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ local config = {
DAPP_ADDRESS = "0x7122cd1221c20892234186facfe8615e6743ab02",
}

local machine_config = ".sunodo/image"
local machine_config = ".cartesi/image"
local machine_runtime_config = { skip_root_hash_check = true }
local machine_remote_protocol = "jsonrpc"

Expand Down

0 comments on commit cb58a31

Please sign in to comment.