Skip to content

Commit

Permalink
update submodules and docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferret-san committed Dec 12, 2024
1 parent d5acba1 commit 7a41c98
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
[submodule "contracts"]
path = contracts
url = https://github.com/celestiaorg/nitro-contracts.git
branch = contracts-v1.2.1
[submodule "arbitrator/wasm-testsuite/testsuite"]
path = arbitrator/wasm-testsuite/testsuite
url = https://github.com/WebAssembly/testsuite.git
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ COPY ./scripts/download-machine.sh .
RUN ./download-machine.sh consensus-v30 0xb0de9cb89e4d944ae6023a3b62276e54804c242fd8c4c2d8e6cc4450f5fa8b1b && true
RUN ./download-machine.sh consensus-v31 0x260f5fa5c3176a856893642e149cf128b5a8de9f828afec8d11184415dd8dc69
RUN ./download-machine.sh consensus-v32 0x184884e1eb9fefdc158f6c8ac912bb183bf3cf83f0090317e0bc4ac5860baa39
RUN ./download-machine.sh v3.2.1-rc.1 0xe81f986823a85105c5fd91bb53b4493d38c0c26652d23f76a7405ac889908287 celestiaorg

FROM golang:1.21.10-bookworm AS node-builder
WORKDIR /workspace
Expand Down
2 changes: 1 addition & 1 deletion contracts
2 changes: 1 addition & 1 deletion nitro-testnode
3 changes: 2 additions & 1 deletion scripts/download-machine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ mkdir "$2"
ln -sfT "$2" latest
cd "$2"
echo "$2" > module-root.txt
url_base="https://github.com/OffchainLabs/nitro/releases/download/$1"
url_org="${3:-OffchainLabs}"
url_base="https://github.com/$url_org/nitro/releases/download/$1"
wget "$url_base/machine.wavm.br"

status_code="$(curl -LI "$url_base/replay.wasm" -so /dev/null -w '%{http_code}')"
Expand Down

0 comments on commit 7a41c98

Please sign in to comment.