Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Commit

Permalink
chore(arbitration): update machine version
Browse files Browse the repository at this point in the history
  • Loading branch information
GCdePaula committed Aug 21, 2023
1 parent 4874b06 commit 96393c9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
7 changes: 5 additions & 2 deletions onchain/permissionless-arbitration/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
FROM --platform=linux/amd64 diegonehab/machine-emulator
RUN apt-get -y update; apt-get -y install curl
FROM cartesi/machine-emulator:main

USER 0
RUN apt-get -y update; apt-get -y install curl git
RUN curl -sSL https://github.com/foundry-rs/foundry/releases/download/nightly/foundry_nightly_linux_$(dpkg --print-architecture).tar.gz | \
tar -zx -C /usr/local/bin

ADD foundry.toml ./project/
ADD lib ./project/lib/
ADD src ./project/src/
WORKDIR "./project"
RUN forge --version
RUN forge build

ADD ./offchain/ ./offchain/
Expand Down
7 changes: 7 additions & 0 deletions onchain/permissionless-arbitration/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Permissionless Arbitration (NxN) Lua prototype Node

## Run example

```
docker build -t nxn_playground:latest . && docker run --rm nxn_playground:latest
```
7 changes: 0 additions & 7 deletions onchain/permissionless-arbitration/offchain/README.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cartesi-machine \
--no-root-flash-drive \
--rom-image="./bins/bootstrap.bin" \
--ram-image="./bins/rv64ui-p-addi.bin" \
--uarch-ram-image="/opt/cartesi/share/images/uarch-ram.bin" \
--uarch-ram-image="/usr/share/cartesi-machine/uarch/uarch-ram.bin" \
--uarch-ram-length=0x1000000 \
--max-mcycle=0 \
--store="simple-program"

0 comments on commit 96393c9

Please sign in to comment.