diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index fe15e00ae..2aad73017 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -32,17 +32,8 @@ jobs: id: meta uses: docker/metadata-action@v5 with: - images: | - ghcr.io/functionx/fx-core - functionx/fx-core - tags: | - type=semver,pattern={{version}} - - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - username: functionx - password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} + images: ghcr.io/pundiai/fx-core + tags: type=semver,pattern={{version}} - name: Login to Container registry uses: docker/login-action@v3 @@ -75,17 +66,8 @@ jobs: id: meta uses: docker/metadata-action@v5 with: - images: | - ghcr.io/functionx/fxcorevisor-lite - functionx/fxcorevisor-lite - tags: | - type=semver,pattern={{version}} - - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - username: functionx - password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} + images: ghcr.io/pundiai/fxcorevisor-lite + tags: type=semver,pattern={{version}} - name: Login to Container registry uses: docker/login-action@v3 @@ -119,17 +101,8 @@ jobs: id: meta uses: docker/metadata-action@v5 with: - images: | - ghcr.io/functionx/fxcorevisor - functionx/fxcorevisor - tags: | - type=semver,pattern={{version}} - - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - username: functionx - password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} + images: ghcr.io/pundiai/fxcorevisor + tags: type=semver,pattern={{version}} - name: Login to Container registry uses: docker/login-action@v3 diff --git a/.goreleaser.yml b/.goreleaser.yml index 947b70cef..b55267589 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -107,7 +107,7 @@ release: ## 🔨 Build from source ```bash - git clone https://github.com/functionx/fx-core.git + git clone https://github.com/pundiai/fx-core.git cd fx-core && git checkout {{ .Tag }} make install ``` @@ -115,11 +115,11 @@ release: ## 🐳 Docker Images ```bash - docker pull ghcr.io/functionx/fx-core:{{ .Version }} + docker pull ghcr.io/pundiai/fx-core:{{ .Version }} ``` ```bash - docker pull ghcr.io/functionx/fxcorevisor:{{ .Version }} + docker pull ghcr.io/pundiai/fxcorevisor:{{ .Version }} ``` ## ⚡️ Download binaries diff --git a/CHANGELOG.md b/CHANGELOG.md index 319bcdc6d..7d574ecc3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -345,8 +345,8 @@ ### Bug Fixes -* Fix --node flag parsing. [issues#22](https://github.com/FunctionX/fx-core/issues/22) -* Fix --output flag parsing. [issues#34](https://github.com/FunctionX/fx-core/issues/34) +* Fix --node flag parsing. [issues#22](https://github.com/pundiai/fx-core/issues/22) +* Fix --output flag parsing. [issues#34](https://github.com/pundiai/fx-core/issues/34) * Fix ibc router is not empty, receive address parse error ### Deprecated diff --git a/LICENSE b/LICENSE index a6f0c2dd9..5ea2623b7 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2021 the FunctionX authors + Copyright 2021 the PundiAI authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/Makefile b/Makefile index f6fbdf368..381286639 100644 --- a/Makefile +++ b/Makefile @@ -119,7 +119,7 @@ $(INSTALL_DIR): docker: @echo "--> Building fxcore docker image" - docker build --progress plain -t ghcr.io/functionx/fx-core:latest . + docker build --progress plain -t ghcr.io/pundiai/fx-core:latest . run-local: install @./local-node.sh init diff --git a/README.md b/README.md index cce5e3a65..24cf109d2 100644 --- a/README.md +++ b/README.md @@ -2,13 +2,13 @@ **fxcore** is a blockchain built using Cosmos SDK and Cometbft. -[![Version](https://img.shields.io/github/v/release/functionx/fx-core.svg)](https://github.com/functionx/fx-core/releases/latest) -[![License](https://img.shields.io/github/license/functionx/fx-core.svg)](https://github.com/functionx/fx-core/blob/main/LICENSE) -[![API Reference](https://pkg.go.dev/badge/github.com/functionx/fx-core.svg)](https://pkg.go.dev/github.com/functionx/fx-core/v8) -[![Go Report Card](https://goreportcard.com/badge/github.com/functionx/fx-core/v8)](https://goreportcard.com/report/github.com/functionx/fx-core/v8) -[![Go Tests/Lint](https://github.com/FunctionX/fx-core/actions/workflows/golang.yml/badge.svg)](https://github.com/FunctionX/fx-core/actions/workflows/golang.yml) -[![CodeQL](https://github.com/FunctionX/fx-core/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/FunctionX/fx-core/actions/workflows/codeql-analysis.yml) -[![Solidity](https://github.com/FunctionX/fx-core/actions/workflows/solidity.yml/badge.svg)](https://github.com/FunctionX/fx-core/actions/workflows/solidity.yml) +[![Version](https://img.shields.io/github/v/release/pundiai/fx-core.svg)](https://github.com/pundiai/fx-core/releases/latest) +[![License](https://img.shields.io/github/license/pundiai/fx-core.svg)](https://github.com/pundiai/fx-core/blob/main/LICENSE) +[![API Reference](https://pkg.go.dev/badge/github.com/pundiai/fx-core.svg)](https://pkg.go.dev/github.com/pundiai/fx-core/v8) +[![Go Report Card](https://goreportcard.com/badge/github.com/pundiai/fx-core/v8)](https://goreportcard.com/report/github.com/pundiai/fx-core/v8) +[![Go Tests/Lint](https://github.com/pundiai/fx-core/actions/workflows/golang.yml/badge.svg)](https://github.com/pundiai/fx-core/actions/workflows/golang.yml) +[![CodeQL](https://github.com/pundiai/fx-core/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/pundiai/fx-core/actions/workflows/codeql-analysis.yml) +[![Solidity](https://github.com/pundiai/fx-core/actions/workflows/solidity.yml/badge.svg)](https://github.com/pundiai/fx-core/actions/workflows/solidity.yml) **Note**: Requires [Go 1.23+](https://go.dev/dl) @@ -27,7 +27,7 @@ make install ### Usage ``` -FunctionX Core BlockChain App +Pundi AIFX BlockChain App Usage: fxcored [command] @@ -75,7 +75,7 @@ Use "fxcored [command] --help" for more information about a command. ## Learn more -- [Function X Docs](https://functionx.gitbook.io) +- [Pundi AIFX Docs](https://pundi.gitbook.io) - [Cosmos SDK Documentation](https://docs.cosmos.network) ## License diff --git a/cmd/root.go b/cmd/root.go index fda834ab4..e2598966f 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -81,7 +81,7 @@ func NewRootCmd() *cobra.Command { rootCmd := &cobra.Command{ Use: fxtypes.Name + "d", - Short: "FunctionX Core BlockChain App", + Short: "Pundi AIFX BlockChain App", PersistentPreRunE: func(cmd *cobra.Command, _ []string) (err error) { // set the default command outputs cmd.SetOut(cmd.OutOrStdout()) diff --git a/cosmovisor.Dockerfile b/cosmovisor.Dockerfile index ceb1d3235..135f66e64 100644 --- a/cosmovisor.Dockerfile +++ b/cosmovisor.Dockerfile @@ -10,7 +10,7 @@ COPY . . RUN make build -FROM ghcr.io/functionx/fxcorevisor:7.5.0 as fxv7_5 +FROM ghcr.io/pundiai/fxcorevisor:7.5.1 as fxv7_5 FROM alpine:3.19 diff --git a/cosmovisor_lite.Dockerfile b/cosmovisor_lite.Dockerfile index 21892e257..33ff1a14a 100644 --- a/cosmovisor_lite.Dockerfile +++ b/cosmovisor_lite.Dockerfile @@ -10,7 +10,7 @@ COPY . . RUN make build -FROM ghcr.io/functionx/fx-core:7.5.0 as fxv7_5 +FROM ghcr.io/pundiai/fx-core:7.5.1 as fxv7_5 FROM alpine:3.19 diff --git a/docs/README.md b/docs/README.md index 5a1fd5f98..813b0fb74 100644 --- a/docs/README.md +++ b/docs/README.md @@ -6,7 +6,7 @@ * [Rosetta API Swagger](openapi) -* [More Developer Doc](https://functionx.gitbook.io/home/developers) +* [More Developer Doc](https://pundi.gitbook.io/pundi/readme/pundi-aifx/developers) # f(x)Core Status @@ -16,6 +16,6 @@ # f(x)Core SDK -* [Go SDK](https://github.com/functionx/fx-core) -* [Node SDK](https://github.com/functionx/fx-js-sdk) -* [Python SDK](https://github.com/functionx/fx-py-sdk) +* [Go SDK](https://github.com/pundiai/fx-core) +* [Node SDK](https://github.com/pundiai/fx-js-sdk) +* [Python SDK](https://github.com/pundiai/fx-py-sdk) diff --git a/docs/openapi/openapi.yaml b/docs/openapi/openapi.yaml index 615f58547..4cec24209 100644 --- a/docs/openapi/openapi.yaml +++ b/docs/openapi/openapi.yaml @@ -5,7 +5,7 @@ info: version: "main" license: name: Apache 2.0 - url: https://github.com/functionx/fx-core/blob/main/LICENSE + url: https://github.com/pundiai/fx-core/blob/main/LICENSE servers: - url: http://localhost:8080 description: Interact with the rosetta API locally on your device diff --git a/go.mod b/go.mod index 8068f07c2..c36e5d4df 100644 --- a/go.mod +++ b/go.mod @@ -269,7 +269,7 @@ replace ( github.com/cockroachdb/pebble => github.com/cockroachdb/pebble v0.0.0-20230209160836-829675f94811 - github.com/ethereum/go-ethereum => github.com/functionx/go-ethereum v1.10.20-0.20240425065928-ebb09502e7a7 + github.com/ethereum/go-ethereum => github.com/pundiai/go-ethereum v1.10.20-0.20240425065928-ebb09502e7a7 github.com/evmos/ethermint => github.com/pundiai/ethermint v0.6.1-0.20241022071115-5e0afc7c501c github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 diff --git a/go.sum b/go.sum index c1aa53b28..3317b82bf 100644 --- a/go.sum +++ b/go.sum @@ -618,8 +618,6 @@ github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmV github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw= github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA= github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= -github.com/functionx/go-ethereum v1.10.20-0.20240425065928-ebb09502e7a7 h1:DkW6+nCoF4QF58obOi2ZcxPDhHXlbW6iLhru76D0f0c= -github.com/functionx/go-ethereum v1.10.20-0.20240425065928-ebb09502e7a7/go.mod h1:+a8pUj1tOyJ2RinsNQD4326YS+leSoKGiG/uVVb0x6Y= github.com/garslo/gogen v0.0.0-20170306192744-1d203ffc1f61/go.mod h1:Q0X6pkwTILDlzrGEckF6HKjXe48EgsY/l7K7vhY4MW8= github.com/gavv/httpexpect v2.0.0+incompatible/go.mod h1:x+9tiU1YnrOvnB725RkpoLv1M62hOWzwo5OXotisrKc= github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff h1:tY80oXqGNY4FhTFhk+o9oFHGINQ/+vhlm8HFzi6znCI= @@ -1339,6 +1337,8 @@ github.com/prometheus/procfs v0.15.1/go.mod h1:fB45yRUv8NstnjriLhBQLuOUt+WW4BsoG github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= github.com/pundiai/ethermint v0.6.1-0.20241022071115-5e0afc7c501c h1:+3YAg5U5mmhYz8dNFH1J+hfNDiFzkjqRA+IFqfFV8mo= github.com/pundiai/ethermint v0.6.1-0.20241022071115-5e0afc7c501c/go.mod h1:LUv3b8+dRjqAI9UTml5XzjExT2ANyvjtkFssi7lIRb0= +github.com/pundiai/go-ethereum v1.10.20-0.20240425065928-ebb09502e7a7 h1:tneW3J/i9JCtCmV3W1E8t9/gMgT+tX6wleQc180nWgg= +github.com/pundiai/go-ethereum v1.10.20-0.20240425065928-ebb09502e7a7/go.mod h1:+a8pUj1tOyJ2RinsNQD4326YS+leSoKGiG/uVVb0x6Y= github.com/rakyll/statik v0.1.7 h1:OF3QCZUuyPxuGEP7B4ypUa7sB/iHtqOTDYZXGM8KOdQ= github.com/rakyll/statik v0.1.7/go.mod h1:AlZONWzMtEnMs7W4e/1LURLiI49pIMmp6V9Unghqrcc= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= diff --git a/scripts/protoc-swagger-gen.sh b/scripts/protoc-swagger-gen.sh index 84d107915..158ce4547 100644 --- a/scripts/protoc-swagger-gen.sh +++ b/scripts/protoc-swagger-gen.sh @@ -7,7 +7,7 @@ trap 'rm -rf ./tmp-swagger-gen ./third_party' EXIT commit_hash=$(grep 'github.com/evmos/ethermint =>' go.mod | awk -F '-' '{print $NF}') if [[ ! -f "./build/$commit_hash.zip" ]]; then - wget -c "https://github.com/functionx/ethermint/archive/$commit_hash.zip" -O "./build/$commit_hash.zip" + wget -c "https://github.com/pundiai/ethermint/archive/$commit_hash.zip" -O "./build/$commit_hash.zip" fi unzip -q -o "./build/$commit_hash.zip" -d "./build" # shellcheck disable=SC2010 diff --git a/scripts/release-note.sh b/scripts/release-note.sh index b5ba481b1..33c2bb905 100644 --- a/scripts/release-note.sh +++ b/scripts/release-note.sh @@ -31,5 +31,5 @@ cat <./release-note.md $changelog -**Full Changelog**: https://github.com/FunctionX/fx-core/commits/$version. +**Full Changelog**: https://github.com/PundiAI/fx-core/commits/$version. EOF