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

chore: rename functionx to pundiai #828

Merged
merged 1 commit into from
Dec 25, 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
39 changes: 6 additions & 33 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
zakir-code marked this conversation as resolved.
Show resolved Hide resolved

- name: Login to Container registry
uses: docker/login-action@v3
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,19 +107,19 @@ 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
```

## 🐳 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
Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -27,7 +27,7 @@ make install
### Usage

```
FunctionX Core BlockChain App
Pundi AIFX BlockChain App
zakir-code marked this conversation as resolved.
Show resolved Hide resolved

Usage:
fxcored [command]
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion cosmovisor.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion cosmovisor_lite.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 4 additions & 4 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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)
2 changes: 1 addition & 1 deletion docs/openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down Expand Up @@ -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=
Expand Down
2 changes: 1 addition & 1 deletion scripts/protoc-swagger-gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
zakir-code marked this conversation as resolved.
Show resolved Hide resolved
fi
unzip -q -o "./build/$commit_hash.zip" -d "./build"
# shellcheck disable=SC2010
Expand Down
2 changes: 1 addition & 1 deletion scripts/release-note.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ cat <<EOF >./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
Loading