Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Default owners for all files
* @scasplte2
# OttoBot-AI fork — no external approval required for iteration
* @ottobot-ai
18 changes: 6 additions & 12 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
## Changes
-
## Description
<!-- Brief description of changes -->

## Type
- [ ] Bug fix
- [ ] New feature
- [ ] Infrastructure/config change
- [ ] Documentation
## Related Issues
<!-- Link to related issues: Closes #123 -->

## Testing
- [ ] Tested locally
## Checklist
- [ ] Tests pass locally
- [ ] CI passes

## Deployment Notes
<!-- Any special steps needed after merge? -->
8 changes: 4 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ jobs:
fetch-tags: true

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4

- name: Log in to Container Registry
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:

- name: Extract metadata
id: meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
Expand All @@ -104,7 +104,7 @@ jobs:
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' || github.event.release.tag_name != '' }}

- name: Build and push
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: .
push: true
Expand Down
15 changes: 14 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,19 @@ jobs:
done
ls -la tessellation/docker/jars/

# Pre-stage snapshot-streaming JAR from GitHub Releases to avoid building from source.
# The snapshot-streaming develop branch targets an older tessellation SDK version and
# will fail to compile when overridden to match the running cluster's tessellation version.
# By pre-staging the JAR, build-snapshot-streaming.sh skips the sbt assembly entirely.
- name: Download snapshot-streaming JAR
run: |
SS_JAR_URL=$(curl -sf https://api.github.com/repos/Constellation-Labs/snapshot-streaming/releases/latest \
| jq -r '.assets[] | select(.name | endswith(".jar")) | .browser_download_url')
SS_JAR_DEST="tessellation/docker/snapshot-streaming/snapshot-streaming.jar"
echo "Downloading snapshot-streaming JAR: $SS_JAR_URL"
curl -fL "$SS_JAR_URL" -o "$SS_JAR_DEST"
echo "✓ snapshot-streaming.jar ($(stat -c%s "$SS_JAR_DEST") bytes)"

# Start cluster with SKIP_ASSEMBLY since all JARs are pre-staged in docker/jars/.
# --hypergraph-release sets TESSELLATION_VERSION for the Docker image tag.
- name: Start cluster
Expand Down Expand Up @@ -231,7 +244,7 @@ jobs:

- name: Upload node logs
if: failure() || cancelled()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: e2e-logs-${{ github.run_number }}
path: /tmp/ci-logs/
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.7.11"
".": "0.7.13"
}
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## [0.7.13](https://github.com/scasplte2/ottochain/compare/v0.7.12...v0.7.13) (2026-03-13)


### Bug Fixes

* **docker:** pass --l0-token-identifier to ML0 validators ([#145](https://github.com/scasplte2/ottochain/issues/145)) ([d899c73](https://github.com/scasplte2/ottochain/commit/d899c735284cfe8c14ce913a0e8d3e226ff0c70b))

## [0.7.12](https://github.com/scasplte2/ottochain/compare/v0.7.11...v0.7.12) (2026-03-11)


### Bug Fixes

* don't pass --l0-token-identifier to ML0 ([#136](https://github.com/scasplte2/ottochain/issues/136)) ([7217607](https://github.com/scasplte2/ottochain/commit/721760702016d445a567d4052f23ffb4b0c301b7))

## [0.7.11](https://github.com/scasplte2/ottochain/compare/v0.7.10...v0.7.11) (2026-03-01)


Expand Down
23 changes: 1 addition & 22 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -79,29 +79,8 @@ lazy val buildInfoSettings = Seq(
lazy val root = (project in file("."))
.settings(
name := "ottochain"
).aggregate(proto, models, sharedData, currencyL0, currencyL1, dataL1)
).aggregate(models, sharedData, currencyL0, currencyL1, dataL1)

lazy val proto = (project in file("modules/proto"))
.dependsOn(models)
.settings(
commonSettings,
commonTestSettings,
name := "ottochain-proto",
Compile / PB.targets := Seq(
scalapb.gen(flatPackage = true) -> (Compile / sourceManaged).value / "scalapb",
scalapb.validate.gen() -> (Compile / sourceManaged).value / "scalapb"
),
Compile / PB.protoSources := Seq(
(Compile / sourceDirectory).value / "protobuf"
),
libraryDependencies ++= Seq(
Libraries.scalapbRuntime,
Libraries.scalapbRuntime % "protobuf",
Libraries.scalapbValidateCore,
Libraries.scalapbValidateCore % "protobuf",
Libraries.scalapbCirce
)
)

lazy val models = (project in file("modules/models"))
.settings(
Expand Down
8 changes: 7 additions & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,14 @@ case "${LAYER,,}" in
fi

# Token ID for metagraph layers
# ML0 run-genesis does NOT accept --l0-token-identifier, but run-validator REQUIRES it.
# CL1/DL1 always need it.
if [ -n "${CL_TOKEN_ID}" ]; then
ARGS="${ARGS} --l0-token-identifier ${CL_TOKEN_ID}"
if [ "${LAYER,,}" = "ml0" ] && [ "${RUN_MODE}" = "run-genesis" ]; then
echo "Skipping --l0-token-identifier for ML0 genesis mode"
else
ARGS="${ARGS} --l0-token-identifier ${CL_TOKEN_ID}"
fi
fi
;;
esac
Expand Down
37 changes: 0 additions & 37 deletions modules/proto/src/main/protobuf/ottochain/v1/common.proto

This file was deleted.

91 changes: 0 additions & 91 deletions modules/proto/src/main/protobuf/ottochain/v1/fiber.proto

This file was deleted.

76 changes: 0 additions & 76 deletions modules/proto/src/main/protobuf/ottochain/v1/messages.proto

This file was deleted.

Loading
Loading