Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Changed all github references to new organization #322

Merged
merged 2 commits into from
Oct 29, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
goarch: ${{ matrix.goarch }}
ldflags: "-X main.Version=${{ github.ref_name }}"
extra_files: LICENSE README.md
goversion: '1.21'
goversion: '1.23'
project_path: './nodemgr'
docker:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ This section provides instructions for running the protocol and UI in a local Al
- **Clone the repository**

```bash
git clone https://github.com/TxnLab/reti.git
git clone https://github.com/algorandfoundation/reti.git
```

- **Navigate to the `reti` directory**
Expand Down
10 changes: 5 additions & 5 deletions nodemgr/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ import (
"github.com/urfave/cli/v3"
"golang.org/x/term"

"github.com/TxnLab/reti/internal/lib/algo"
"github.com/TxnLab/reti/internal/lib/misc"
"github.com/TxnLab/reti/internal/lib/nfdapi/swagger"
"github.com/TxnLab/reti/internal/lib/nfdonchain"
"github.com/TxnLab/reti/internal/lib/reti"
"github.com/algorandfoundation/reti/internal/lib/algo"
"github.com/algorandfoundation/reti/internal/lib/misc"
"github.com/algorandfoundation/reti/internal/lib/nfdapi/swagger"
"github.com/algorandfoundation/reti/internal/lib/nfdonchain"
"github.com/algorandfoundation/reti/internal/lib/reti"
)

var logLevel = new(slog.LevelVar) // Info by default
Expand Down
6 changes: 3 additions & 3 deletions nodemgr/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import (
"github.com/prometheus/client_golang/prometheus/promhttp"
"github.com/ssgreg/repeat"

"github.com/TxnLab/reti/internal/lib/algo"
"github.com/TxnLab/reti/internal/lib/misc"
"github.com/TxnLab/reti/internal/lib/reti"
"github.com/algorandfoundation/reti/internal/lib/algo"
"github.com/algorandfoundation/reti/internal/lib/misc"
"github.com/algorandfoundation/reti/internal/lib/reti"
)

const (
Expand Down
6 changes: 3 additions & 3 deletions nodemgr/evictions.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import (
"github.com/antihax/optional"
"github.com/mailgun/holster/v4/syncutil"

"github.com/TxnLab/reti/internal/lib/misc"
"github.com/TxnLab/reti/internal/lib/nfdapi/swagger"
"github.com/TxnLab/reti/internal/lib/reti"
"github.com/algorandfoundation/reti/internal/lib/misc"
"github.com/algorandfoundation/reti/internal/lib/nfdapi/swagger"
"github.com/algorandfoundation/reti/internal/lib/reti"
)

func (d *Daemon) checkForEvictions(ctx context.Context) error {
Expand Down
2 changes: 1 addition & 1 deletion nodemgr/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/TxnLab/reti
module github.com/algorandfoundation/reti

go 1.23

Expand Down
2 changes: 1 addition & 1 deletion nodemgr/internal/lib/algo/algo.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/algorand/go-algorand-sdk/v2/client/v2/common"
"github.com/algorand/go-algorand-sdk/v2/client/v2/common/models"

"github.com/TxnLab/reti/internal/lib/misc"
"github.com/algorandfoundation/reti/internal/lib/misc"
)

// DefaultValidRoundRange - max valid round range to have transactions be valid for (and to check for confirmation)
Expand Down
2 changes: 1 addition & 1 deletion nodemgr/internal/lib/algo/algolocalkeysigning.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/algorand/go-algorand-sdk/v2/mnemonic"
"github.com/algorand/go-algorand-sdk/v2/types"

"github.com/TxnLab/reti/internal/lib/misc"
"github.com/algorandfoundation/reti/internal/lib/misc"
)

func NewLocalKeyStore(log *slog.Logger) MultipleWalletSigner {
Expand Down
2 changes: 1 addition & 1 deletion nodemgr/internal/lib/algo/algosigning.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/algorand/go-algorand-sdk/v2/transaction"
"github.com/algorand/go-algorand-sdk/v2/types"

"github.com/TxnLab/reti/internal/lib/misc"
"github.com/algorandfoundation/reti/internal/lib/misc"
)

type TxnSigner interface {
Expand Down
2 changes: 1 addition & 1 deletion nodemgr/internal/lib/algo/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/algorand/go-algorand-sdk/v2/client/v2/algod"
"github.com/algorand/go-algorand-sdk/v2/client/v2/common"

"github.com/TxnLab/reti/internal/lib/misc"
"github.com/algorandfoundation/reti/internal/lib/misc"
)

type ParticipationKey struct {
Expand Down
2 changes: 1 addition & 1 deletion nodemgr/internal/lib/algo/networks.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strconv"
"strings"

"github.com/TxnLab/reti/internal/lib/misc"
"github.com/algorandfoundation/reti/internal/lib/misc"
)

type NetworkConfig struct {
Expand Down
2 changes: 1 addition & 1 deletion nodemgr/internal/lib/nfdapi/segments.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/antihax/optional"
"github.com/ssgreg/repeat"

"github.com/TxnLab/reti/internal/lib/nfdapi/swagger"
"github.com/algorandfoundation/reti/internal/lib/nfdapi/swagger"
)

func GetAllSegmentsOfRoot(ctx context.Context, api *swagger.APIClient, parentAppID uint64, view string) ([]*swagger.NfdRecord, error) {
Expand Down
4 changes: 2 additions & 2 deletions nodemgr/internal/lib/reti/reti.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
"github.com/algorand/go-algorand-sdk/v2/client/v2/algod"
"github.com/algorand/go-algorand-sdk/v2/types"

"github.com/TxnLab/reti/internal/lib/algo"
"github.com/TxnLab/reti/internal/lib/misc"
"github.com/algorandfoundation/reti/internal/lib/algo"
"github.com/algorandfoundation/reti/internal/lib/misc"
)

type Reti struct {
Expand Down
4 changes: 2 additions & 2 deletions nodemgr/internal/lib/reti/stakingpool.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
"github.com/algorand/go-algorand-sdk/v2/transaction"
"github.com/algorand/go-algorand-sdk/v2/types"

"github.com/TxnLab/reti/internal/lib/algo"
"github.com/TxnLab/reti/internal/lib/misc"
"github.com/algorandfoundation/reti/internal/lib/algo"
"github.com/algorandfoundation/reti/internal/lib/misc"
)

type StakedInfo struct {
Expand Down
4 changes: 2 additions & 2 deletions nodemgr/internal/lib/reti/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
"github.com/algorand/go-algorand-sdk/v2/transaction"
"github.com/algorand/go-algorand-sdk/v2/types"

"github.com/TxnLab/reti/internal/lib/algo"
"github.com/TxnLab/reti/internal/lib/misc"
"github.com/algorandfoundation/reti/internal/lib/algo"
"github.com/algorandfoundation/reti/internal/lib/misc"
)

// ValidatorInfo is loaded at startup but also on-demand via Reti.LoadState
Expand Down
2 changes: 1 addition & 1 deletion nodemgr/keycmds.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/algorand/go-algorand-sdk/v2/types"
"github.com/urfave/cli/v3"

"github.com/TxnLab/reti/internal/lib/algo"
"github.com/algorandfoundation/reti/internal/lib/algo"
)

func GetKeyCmdOpts() *cli.Command {
Expand Down
4 changes: 2 additions & 2 deletions nodemgr/poolcmds.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (
"github.com/algorand/go-algorand-sdk/v2/types"
"github.com/urfave/cli/v3"

"github.com/TxnLab/reti/internal/lib/algo"
"github.com/TxnLab/reti/internal/lib/misc"
"github.com/algorandfoundation/reti/internal/lib/algo"
"github.com/algorandfoundation/reti/internal/lib/misc"
)

func GetPoolCmdOpts() *cli.Command {
Expand Down
2 changes: 1 addition & 1 deletion nodemgr/svc.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

"github.com/urfave/cli/v3"

"github.com/TxnLab/reti/internal/lib/misc"
"github.com/algorandfoundation/reti/internal/lib/misc"
)

func GetDaemonCmdOpts() *cli.Command {
Expand Down
6 changes: 3 additions & 3 deletions nodemgr/validatorcmds.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ import (
"github.com/manifoldco/promptui"
"github.com/urfave/cli/v3"

"github.com/TxnLab/reti/internal/lib/algo"
"github.com/TxnLab/reti/internal/lib/misc"
"github.com/TxnLab/reti/internal/lib/reti"
"github.com/algorandfoundation/reti/internal/lib/algo"
"github.com/algorandfoundation/reti/internal/lib/misc"
"github.com/algorandfoundation/reti/internal/lib/reti"
)

func GetValidatorCmdOpts() *cli.Command {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/TxnLab/reti.git"
"url": "https://github.com/algorandfoundation/reti.git"
},
"workspaces": [
"contracts",
Expand Down
4 changes: 2 additions & 2 deletions ui/src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { JSX } from 'react/jsx-runtime'
const navigation = [
{
name: 'GitHub',
href: 'https://github.com/TxnLab/reti',
href: 'https://github.com/algorandfoundation/reti',
icon: (props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>) => (
<svg fill="currentColor" viewBox="0 0 24 24" {...props}>
<path
Expand Down Expand Up @@ -55,7 +55,7 @@ export function Footer() {
<p className="text-center text-sm leading-5 text-stone-600 dark:text-stone-400">
Réti Pooling v{__APP_VERSION__} <span className="mx-1 opacity-50">|</span>{' '}
<a
href="https://github.com/TxnLab/reti"
href="https://github.com/algorandfoundation/reti"
className="link hover:text-foreground"
target="_blank"
rel="noopener noreferrer"
Expand Down
6 changes: 5 additions & 1 deletion ui/src/components/GitHub.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ import { cn } from '@/utils/ui'
export function GitHub({ className = '' }) {
return (
<Button variant="ghost" size="icon" className={cn('h-9 w-9', className)} asChild>
<a href="https://github.com/TxnLab/reti" target="_blank" rel="noopener noreferrer">
<a
href="https://github.com/algorandfoundation/reti"
target="_blank"
rel="noopener noreferrer"
>
<GitHubLogoIcon className="h-[1.2rem] w-[1.2rem]" />
<span className="sr-only">GitHub</span>
</a>
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/MobileMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export function MobileMenu() {

<SheetClose asChild>
<a
href="https://github.com/TxnLab/reti"
href="https://github.com/algorandfoundation/reti"
target="_blank"
rel="noreferrer"
className="flex items-center gap-4 px-2.5 text-muted-foreground hover:text-foreground"
Expand Down