Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
f6d3963
ci: update Unified CI configuration (#78)
web3-bot Jul 19, 2023
ea9d6f6
Remove autobump and update version.json (#122)
xinaxu Jul 26, 2023
c0418e0
chore(version): update for v0.3.0
hannahhoward Aug 25, 2023
6a8a07d
Fix version file not matching latest release
masih Sep 5, 2023
805b6cc
Update version.json to v0.4.0 (#279)
xinaxu Sep 8, 2023
7dd5129
Update version to v0.4.1 (#288)
xinaxu Sep 8, 2023
8b10f7d
Bump version to v0.5.0 (#343)
xinaxu Sep 21, 2023
40ef30a
new version (#380)
gammazero Oct 12, 2023
b8d961e
Update version.json to v0.5.2 (#390)
xinaxu Oct 17, 2023
add3d0a
Update version.json to v0.5.3 (#397)
xinaxu Oct 19, 2023
969cf0a
Update version.json (#400)
xinaxu Oct 23, 2023
551729c
Update version.json to v0.5.5 (#403)
xinaxu Oct 24, 2023
ffefcab
Update version (#407)
gammazero Oct 27, 2023
8d5ea7e
Update version.json to v0.5.7 (#409)
xinaxu Oct 31, 2023
5e6c594
Update version (#414)
gammazero Nov 3, 2023
1ee41a4
New release version (#422)
gammazero Nov 9, 2023
613ff66
Update version.json to 0.5.10 (#424)
xinaxu Nov 17, 2023
7a35cb3
Update version.json (#426)
xinaxu Dec 6, 2023
4bb7719
bump version to v0.5.12 (#429)
xinaxu Feb 7, 2024
1828b63
Bump version to v0.5.13 (#432)
xinaxu Mar 7, 2024
d375d4c
Update version.json (#435)
xinaxu Apr 29, 2024
151fcc3
Update version.json to v0.5.15 (#442)
ianconsolata Jul 24, 2024
64bc3ff
Bump version.json to 0.5.16 (#445)
ianconsolata Jul 27, 2024
1e85520
v0.5.17 release
parkan Feb 14, 2025
731aeab
retry workflow
parkan Feb 14, 2025
9763d50
Add create wallet handler, cmd, and API #469
zachfedor Apr 4, 2025
c6af3e0
Run linter
zachfedor Apr 4, 2025
ed03f56
Refactor create wallet handler for offline key generation
zachfedor Apr 23, 2025
c77c8ff
Run fmt
zachfedor Apr 23, 2025
709f193
Generate swagger docs
zachfedor Apr 24, 2025
85a32d9
Create versioned migration process
zachfedor May 12, 2025
4dc7e2b
Fix versioned migration schemas
zachfedor May 20, 2025
cae1b8f
Generate docs
zachfedor May 20, 2025
792cb49
feat: add `admin migrate which` command
zachfedor May 22, 2025
9b3f238
fix: tests
zachfedor Jun 6, 2025
805d936
feat: better documentation of create cmd
zachfedor Jun 6, 2025
83ffe52
fix: lint errors
zachfedor Jun 6, 2025
b5df6ce
Update generated storage types file
zachfedor Jun 6, 2025
1e5c54c
Restore wallet creation functionality (recovered from closed PR #496)
Jun 14, 2025
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
11 changes: 11 additions & 0 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# File managed by web3-bot. DO NOT EDIT.
# See https://github.com/protocol/.github/ for details.

name: Automerge
on: [ pull_request ]

jobs:
automerge:
uses: protocol/.github/.github/workflows/automerge.yml@master
with:
job: 'automerge'
64 changes: 62 additions & 2 deletions .github/workflows/go-check.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# File managed by web3-bot. DO NOT EDIT.
# See https://github.com/protocol/.github/ for details.

name: Go Checks

on:
Expand All @@ -14,5 +17,62 @@ concurrency:
cancel-in-progress: true

jobs:
go-check:
uses: ipdxco/unified-github-workflows/.github/workflows/go-check.yml@v1.0.22
unit:
runs-on: ubuntu-latest
name: All
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- id: config
uses: protocol/.github/.github/actions/read-config@master
- uses: actions/setup-go@v3
with:
go-version: 1.20.x
- name: Run repo-specific setup
uses: ./.github/actions/go-check-setup
if: hashFiles('./.github/actions/go-check-setup') != ''
- name: Install staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@4970552d932f48b71485287748246cf3237cebdf # 2023.1 (v0.4.0)
- name: Check that go.mod is tidy
uses: protocol/multiple-go-modules@v1.2
with:
run: |
go mod tidy
if [[ -n $(git ls-files --other --exclude-standard --directory -- go.sum) ]]; then
echo "go.sum was added by go mod tidy"
exit 1
fi
git diff --exit-code -- go.sum go.mod
- name: gofmt
if: success() || failure() # run this step even if the previous one failed
run: |
out=$(gofmt -s -l .)
if [[ -n "$out" ]]; then
echo $out | awk '{print "::error file=" $0 ",line=0,col=0::File is not gofmt-ed."}'
exit 1
fi
- name: go vet
if: success() || failure()
uses: protocol/multiple-go-modules@v1.2
with:
run: go vet ./...
- name: staticcheck
if: success() || failure()
uses: protocol/multiple-go-modules@v1.2
with:
run: |
set -o pipefail
staticcheck ./... | sed -e 's@\(.*\)\.go@./\1.go@g'
- name: go generate
uses: protocol/multiple-go-modules@v1.2
if: (success() || failure()) && fromJSON(steps.config.outputs.json).gogenerate == true
with:
run: |
git clean -fd
go generate -x ./...
if ! $(git add . && git diff-index HEAD --exit-code --quiet); then
echo "go generate caused changes to the repository:"
git status --short
exit 1
fi
65 changes: 63 additions & 2 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# File managed by web3-bot. DO NOT EDIT.
# See https://github.com/protocol/.github/ for details.

name: Go Test

on:
Expand All @@ -14,5 +17,63 @@ concurrency:
cancel-in-progress: true

jobs:
go-test:
uses: ipdxco/unified-github-workflows/.github/workflows/go-test.yml@v1.0
unit:
strategy:
fail-fast: false
matrix:
os: [ "ubuntu", "windows", "macos" ]
go: ["1.19.x", "1.20.x"]
env:
COVERAGES: ""
runs-on: ${{ fromJSON(vars[format('UCI_GO_TEST_RUNNER_{0}', matrix.os)] || format('"{0}-latest"', matrix.os)) }}
name: ${{ matrix.os }} (go ${{ matrix.go }})
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- id: config
uses: protocol/.github/.github/actions/read-config@master
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Go information
run: |
go version
go env
- name: Use msys2 on windows
if: matrix.os == 'windows'
shell: bash
run: echo "C:/msys64/usr/bin" >> $GITHUB_PATH
- name: Run repo-specific setup
uses: ./.github/actions/go-test-setup
if: hashFiles('./.github/actions/go-test-setup') != ''
- name: Run tests
if: contains(fromJSON(steps.config.outputs.json).skipOSes, matrix.os) == false
uses: protocol/multiple-go-modules@v1.2
with:
run: go test -v -shuffle=on -coverprofile=module-coverage.txt -coverpkg=./... ./...
- name: Run tests (32 bit)
if: matrix.os != 'macos' &&
fromJSON(steps.config.outputs.json).skip32bit != true &&
contains(fromJSON(steps.config.outputs.json).skipOSes, matrix.os) == false
uses: protocol/multiple-go-modules@v1.2
env:
GOARCH: 386
with:
run: |
export "PATH=$PATH_386:$PATH"
go test -v -shuffle=on ./...
- name: Run tests with race detector
if: matrix.os == 'ubuntu' &&
contains(fromJSON(steps.config.outputs.json).skipOSes, matrix.os) == false
uses: protocol/multiple-go-modules@v1.2
with:
run: go test -v -race ./...
- name: Collect coverage files
shell: bash
run: echo "COVERAGES=$(find . -type f -name 'module-coverage.txt' | tr -s '\n' ',' | sed 's/,$//')" >> $GITHUB_ENV
- name: Upload coverage to Codecov
uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1
with:
files: '${{ env.COVERAGES }}'
env_vars: OS=${{ matrix.os }}, GO=${{ matrix.go }}
7 changes: 6 additions & 1 deletion .github/workflows/release-check.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# File managed by web3-bot. DO NOT EDIT.
# See https://github.com/protocol/.github/ for details.

name: Release Checker

on:
Expand All @@ -16,4 +19,6 @@ concurrency:

jobs:
release-check:
uses: ipdxco/unified-github-workflows/.github/workflows/release-check.yml@v0.0
uses: protocol/.github/.github/workflows/release-check.yml@master
with:
go-version: 1.20.x
5 changes: 4 additions & 1 deletion .github/workflows/releaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# File managed by web3-bot. DO NOT EDIT.
# See https://github.com/protocol/.github/ for details.

name: Releaser

on:
Expand All @@ -14,4 +17,4 @@ concurrency:

jobs:
releaser:
uses: ipdxco/unified-github-workflows/.github/workflows/releaser.yml@v1.0
uses: protocol/.github/.github/workflows/releaser.yml@master
5 changes: 4 additions & 1 deletion .github/workflows/tagpush.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# File managed by web3-bot. DO NOT EDIT.
# See https://github.com/protocol/.github/ for details.

name: Tag Push Checker

on:
Expand All @@ -15,4 +18,4 @@ concurrency:

jobs:
releaser:
uses: ipdxco/unified-github-workflows/.github/workflows/tagpush.yml@v0.0
uses: protocol/.github/.github/workflows/tagpush.yml@master
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ require (
github.com/rjNemo/underscore v0.5.0
github.com/robfig/cron/v3 v3.0.1
github.com/sashabaranov/go-openai v1.14.1
github.com/shirou/gopsutil/v3 v3.23.3 // indirect
github.com/stretchr/testify v1.10.0
github.com/swaggo/echo-swagger v1.4.0
github.com/swaggo/swag v1.16.1
Expand Down Expand Up @@ -309,7 +310,6 @@ require (
github.com/rfjakob/eme v1.1.2 // indirect
github.com/rogpeppe/go-internal v1.11.0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/shirou/gopsutil/v3 v3.23.3 // indirect
github.com/shoenig/go-m1cpu v0.1.4 // indirect
github.com/sirupsen/logrus v1.9.0 // indirect
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 // indirect
Expand Down
3 changes: 3 additions & 0 deletions version.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"version": "v0.2.33"
}
Loading