diff --git a/.github/workflows/examples-console.yml b/.github/workflows/examples-console.yml index e974aad7..07085759 100644 --- a/.github/workflows/examples-console.yml +++ b/.github/workflows/examples-console.yml @@ -20,7 +20,7 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@5c56cd6c9dc07901af25baab6f2b0d9f3b7c3018 with: - version: v1.45.2 + version: v1.56.2 working-directory: examples/console skip-go-installation: true diff --git a/.github/workflows/sdk.yml b/.github/workflows/sdk.yml index f4ecd184..055a79ff 100644 --- a/.github/workflows/sdk.yml +++ b/.github/workflows/sdk.yml @@ -20,7 +20,7 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@5c56cd6c9dc07901af25baab6f2b0d9f3b7c3018 with: - version: v1.45.2 + version: v1.56.2 working-directory: sdk skip-go-installation: true @@ -57,7 +57,7 @@ jobs: runs-on: ubuntu-latest steps: - name: "Stellar Quickstart: Run" - run: docker run -d -p 8000:8000 --name stellar stellar/quickstart --standalone --enable-core-artificially-accelerate-time-for-testing + run: docker run -d -p 8000:8000 --name stellar stellar/quickstart --local - name: "Stellar Quickstart: Wait for Ready" run: while ! [ "$(curl -s --fail localhost:8000 | jq '.history_latest_ledger')" -gt 0 ]; do echo waiting; sleep 1; done - name: "Stellar Quickstart: Details" diff --git a/README.md b/README.md index 939b6dd6..0092f6a4 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ More details in the [README](https://github.com/stellar/starlight/tree/main/exam ## Get involved -- [Discord](https://discord.gg/xGWRjyNzQh) +- [Discord](https://discord.gg/stellardev) - [Discussions](https://github.com/stellar/starlight/discussions) - [Demos](https://github.com/stellar/starlight/discussions/categories/demos) - [Getting Started](Getting%20Started.md) diff --git a/examples/console/stats.go b/examples/console/stats.go index a62a9a61..761a8e41 100644 --- a/examples/console/stats.go +++ b/examples/console/stats.go @@ -108,7 +108,7 @@ func (s *stats) AgreementsPerSecond() float64 { if timeFinish.IsZero() { timeFinish = time.Now() } - duration := s.timeFinish.Sub(s.timeStart) + duration := timeFinish.Sub(s.timeStart) rate := float64(s.agreementsSent+s.agreementsReceived) / duration.Seconds() if math.IsNaN(rate) || math.IsInf(rate, 0) { rate = 0 diff --git a/sdk/state/doc.go b/sdk/state/doc.go index a278b685..32f08785 100644 --- a/sdk/state/doc.go +++ b/sdk/state/doc.go @@ -18,16 +18,16 @@ The Open, Payment, and Close operations are broken up into three steps: - Finalize*: Called by the payer to finalize the agreement with the payees signatures. - +-----------+ +-----------+ - | Payer | | Payee | - +-----+-----+ +-----+-----+ - | | - Propose | - +----------------->+ - | Confirm - +<-----------------+ - Finalize* | - | | + +-----------+ +-----------+ + | Payer | | Payee | + +-----+-----+ +-----+-----+ + | | + Propose | + +----------------->+ + | Confirm + +<-----------------+ + Finalize* | + | | * Note that the Open and Close processes do not have a Finalize operation, and the Confirm is used in its place at this time. A Finalize operation is likely to be