Skip to content
Merged

LEP 5 #103

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
26 changes: 18 additions & 8 deletions .github/actions/setup-go/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: Setup Go from go.mod
description: Detect the Go toolchain version from go.mod and install it with caching enabled
inputs:
version:
description: "Go version to use (overrides go.mod detection)"
required: false
default: ""
outputs:
version:
description: Detected Go version
Expand All @@ -13,15 +18,20 @@ runs:
run: |
set -euo pipefail

VERSION=""
TOOLCHAIN_VERSION=$(grep -E '^toolchain go[0-9]+\.[0-9]+(\.[0-9]+)?$' go.mod | cut -d ' ' -f 2 | sed 's/^go//' || true)
if [ -n "$TOOLCHAIN_VERSION" ]; then
VERSION="$TOOLCHAIN_VERSION"
echo "Detected toolchain directive: go$VERSION"
if [ -n "${{ inputs.version }}" ]; then
VERSION="${{ inputs.version }}"
echo "Using provided version: go$VERSION"
else
VERSION=$(grep -E '^go [0-9]+\.[0-9]+(\.[0-9]+)?$' go.mod | cut -d ' ' -f 2 || true)
if [ -n "$VERSION" ]; then
echo "Detected go directive: $VERSION"
VERSION=""
TOOLCHAIN_VERSION=$(grep -E '^toolchain go[0-9]+\.[0-9]+(\.[0-9]+)?$' go.mod | cut -d ' ' -f 2 | sed 's/^go//' || true)
if [ -n "$TOOLCHAIN_VERSION" ]; then
VERSION="$TOOLCHAIN_VERSION"
echo "Detected toolchain directive: go$VERSION"
else
VERSION=$(grep -E '^go [0-9]+\.[0-9]+(\.[0-9]+)?$' go.mod | cut -d ' ' -f 2 || true)
if [ -n "$VERSION" ]; then
echo "Detected go directive: $VERSION"
fi
fi
fi

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:
- name: Setup Go
id: setup-go
uses: ./.github/actions/setup-go
with:
version: "1.25.6"

- name: Prepare Build Variables
id: vars
Expand Down
15 changes: 15 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,18 @@ build/

*.swagger.json



.roo/
.roomodes
docs/context.json
docs/requirements.json
docs/decisions.md
docs/human-playbook.md
docs/new-feature*
plans/
CLAUDE.md
.claude/
.codex
.agents
AGENTS.md
1 change: 1 addition & 0 deletions app/proto_bridge.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ func init() {
// Lumera module enums.
protobridge.RegisterEnum("lumera.action.v1.ActionType", actiontypes.ActionType_value)
protobridge.RegisterEnum("lumera.action.v1.ActionState", actiontypes.ActionState_value)
protobridge.RegisterEnum("lumera.action.v1.HashAlgo", actiontypes.HashAlgo_value)
protobridge.RegisterEnum("lumera.supernode.v1.SuperNodeState", supernodetypes.SuperNodeState_value)
}
2 changes: 1 addition & 1 deletion devnet/config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
"account_balance": "10000000ulume"
},
"hermes": {
"enabled": true
"enabled": false
}
}
6 changes: 3 additions & 3 deletions devnet/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.25.5
replace (
// Local development - uncomment these for local testing
// Comment lines with github.com/LumeraProtocol/ before releasing
// github.com/LumeraProtocol/lumera => ..
// github.com/LumeraProtocol/lumera => ..
//github.com/LumeraProtocol/sdk-go => ../../sdk-go
github.com/envoyproxy/protoc-gen-validate => github.com/bufbuild/protoc-gen-validate v1.3.0
github.com/lyft/protoc-gen-validate => github.com/envoyproxy/protoc-gen-validate v1.3.0
Expand All @@ -19,9 +19,11 @@ require (
github.com/LumeraProtocol/lumera v1.10.0
github.com/LumeraProtocol/sdk-go v1.0.8
github.com/cosmos/cosmos-sdk v0.53.5
github.com/cosmos/gogoproto v1.7.2
github.com/cosmos/ibc-go/v10 v10.5.0
github.com/stretchr/testify v1.11.1
go.uber.org/zap v1.27.0
google.golang.org/grpc v1.77.0
gopkg.in/yaml.v2 v2.4.0
)

Expand Down Expand Up @@ -65,7 +67,6 @@ require (
github.com/cosmos/cosmos-proto v1.0.0-beta.5 // indirect
github.com/cosmos/go-bip39 v1.0.0 // indirect
github.com/cosmos/gogogateway v1.2.0 // indirect
github.com/cosmos/gogoproto v1.7.2 // indirect
github.com/cosmos/iavl v1.2.6 // indirect
github.com/cosmos/ics23/go v0.11.0 // indirect
github.com/cosmos/ledger-cosmos-go v0.16.0 // indirect
Expand Down Expand Up @@ -179,7 +180,6 @@ require (
google.golang.org/genproto v0.0.0-20250603155806-513f23925822 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20251022142026-3a174f9686a8 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20251022142026-3a174f9686a8 // indirect
google.golang.org/grpc v1.77.0 // indirect
google.golang.org/protobuf v1.36.11 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
gotest.tools/v3 v3.5.2 // indirect
Expand Down
2 changes: 0 additions & 2 deletions devnet/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,6 @@ github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.50
github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.50.0 h1:ig/FpDD2JofP/NExKQUbn7uOSZzJAQqogfqluZK4ed4=
github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.50.0/go.mod h1:otE2jQekW/PqXk1Awf5lmfokJx4uwuqcj1ab5SpGeW0=
github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0=
github.com/LumeraProtocol/lumera v1.10.0 h1:IIuvqlFNUPoSkTJ3DoKDNHtr3E0+8GmE4CiNbgTzI2s=
github.com/LumeraProtocol/lumera v1.10.0/go.mod h1:p2sZZG3bLzSBdaW883qjuU3DXXY4NJzTTwLywr8uI0w=
github.com/LumeraProtocol/rq-go v0.2.1 h1:8B3UzRChLsGMmvZ+UVbJsJj6JZzL9P9iYxbdUwGsQI4=
github.com/LumeraProtocol/rq-go v0.2.1/go.mod h1:APnKCZRh1Es2Vtrd2w4kCLgAyaL5Bqrkz/BURoRJ+O8=
github.com/LumeraProtocol/sdk-go v1.0.8 h1:8M4QgrrmblDM42ABaKxFfjeF9/xtTHDkRwTYHEbtrSk=
Expand Down
Loading
Loading