Skip to content

Commit 8dc424c

Browse files
committed
chore: update module path for hyperledger-firefly org migration
Signed-off-by: Daniel Raper <daniel.raper@kaleido.io>
1 parent 9d2e4e1 commit 8dc424c

83 files changed

Lines changed: 275 additions & 275 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/docker_main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set build tag
1818
id: build_tag_generator
1919
run: |
20-
RELEASE_TAG=$(curl https://api.github.com/repos/hyperledger/firefly-ethconnect/releases/latest -s | jq .tag_name -r)
20+
RELEASE_TAG=$(curl https://api.github.com/repos/hyperledger-firefly/ethconnect/releases/latest -s | jq .tag_name -r)
2121
BUILD_TAG=$RELEASE_TAG-$(date +"%Y%m%d")-$GITHUB_RUN_NUMBER
2222
echo ::set-output name=BUILD_TAG::$BUILD_TAG
2323
@@ -27,17 +27,17 @@ jobs:
2727
--label commit=$GITHUB_SHA \
2828
--label build_date=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
2929
--label tag=${{ steps.build_tag_generator.outputs.BUILD_TAG }} \
30-
--tag ghcr.io/hyperledger/firefly-ethconnect:${{ steps.build_tag_generator.outputs.BUILD_TAG }} .
30+
--tag ghcr.io/hyperledger-firefly/ethconnect:${{ steps.build_tag_generator.outputs.BUILD_TAG }} .
3131
3232
- name: Tag release
33-
run: docker tag ghcr.io/hyperledger/firefly-ethconnect:${{ steps.build_tag_generator.outputs.BUILD_TAG }} ghcr.io/hyperledger/firefly-ethconnect:head
33+
run: docker tag ghcr.io/hyperledger-firefly/ethconnect:${{ steps.build_tag_generator.outputs.BUILD_TAG }} ghcr.io/hyperledger-firefly/ethconnect:head
3434

3535
- name: Push docker image
3636
run: |
3737
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
38-
docker push ghcr.io/hyperledger/firefly-ethconnect:${{ steps.build_tag_generator.outputs.BUILD_TAG }}
38+
docker push ghcr.io/hyperledger-firefly/ethconnect:${{ steps.build_tag_generator.outputs.BUILD_TAG }}
3939
4040
- name: Push head tag
4141
run: |
4242
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
43-
docker push ghcr.io/hyperledger/firefly-ethconnect:head
43+
docker push ghcr.io/hyperledger-firefly/ethconnect:head

.github/workflows/docker_release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,26 +21,26 @@ jobs:
2121
--label commit=$GITHUB_SHA \
2222
--label build_date=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
2323
--label tag=${GITHUB_REF##*/} \
24-
--tag ghcr.io/hyperledger/firefly-ethconnect:${GITHUB_REF##*/} \
25-
--tag ghcr.io/hyperledger/firefly-ethconnect:head \
24+
--tag ghcr.io/hyperledger-firefly/ethconnect:${GITHUB_REF##*/} \
25+
--tag ghcr.io/hyperledger-firefly/ethconnect:head \
2626
.
2727
2828
- name: Tag release
2929
if: github.event.action == 'released'
30-
run: docker tag ghcr.io/hyperledger/firefly-ethconnect:${GITHUB_REF##*/} ghcr.io/hyperledger/firefly-ethconnect:latest
30+
run: docker tag ghcr.io/hyperledger-firefly/ethconnect:${GITHUB_REF##*/} ghcr.io/hyperledger-firefly/ethconnect:latest
3131

3232
- name: Push docker image
3333
run: |
3434
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
35-
docker push ghcr.io/hyperledger/firefly-ethconnect:${GITHUB_REF##*/}
35+
docker push ghcr.io/hyperledger-firefly/ethconnect:${GITHUB_REF##*/}
3636
3737
- name: Push head tag
3838
run: |
3939
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
40-
docker push ghcr.io/hyperledger/firefly-ethconnect:head
40+
docker push ghcr.io/hyperledger-firefly/ethconnect:head
4141
4242
- name: Push latest tag
4343
if: github.event.action == 'released'
4444
run: |
4545
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
46-
docker push ghcr.io/hyperledger/firefly-ethconnect:latest
46+
docker push ghcr.io/hyperledger-firefly/ethconnect:latest

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![codecov](https://codecov.io/gh/hyperledger/firefly-ethconnect/branch/main/graph/badge.svg?token=nO6ihSAzpV)](https://codecov.io/gh/hyperledger/firefly-ethconnect) [![Go Report Card](https://goreportcard.com/badge/github.com/hyperledger/firefly-ethconnect)](https://goreportcard.com/report/github.com/hyperledger/firefly-ethconnect)
1+
[![codecov](https://codecov.io/gh/hyperledger-firefly/ethconnect/branch/main/graph/badge.svg?token=nO6ihSAzpV)](https://codecov.io/gh/hyperledger-firefly/ethconnect) [![Go Report Card](https://goreportcard.com/badge/github.com/hyperledger-firefly/ethconnect)](https://goreportcard.com/report/github.com/hyperledger-firefly/ethconnect)
22

33
## EthConnect - Hyperledger FireFly connector for Ethereum networks
44

@@ -7,7 +7,7 @@ for Ethereum networks.
77

88
> For new projects, you are recommended to use the full Hyperledger FireFly
99
> project stack - and consider using the new\
10-
> [EVMConnect](https://github.com/hyperledger/firefly-evmconnect) connector
10+
> [EVMConnect](https://github.com/hyperledger-firefly/evmconnect) connector
1111
> for connectivity to your EVM based chains (whether public, or private).
1212
1313
Since creation in 2018 a large amount of function has evolved through
@@ -33,7 +33,7 @@ For example to allow connectivity from an Enterprise Service Bus (ESB) or other
3333
Enterprise Application Integration (EAI) tier, or applications running in a
3434
Java EE Application Server.
3535

36-
[![hyperledger/firefly-ethconnect](ethconnect.png)](ethconnect.pdf)
36+
[![hyperledger-firefly/ethconnect](ethconnect.png)](ethconnect.pdf)
3737

3838
## License
3939

@@ -113,7 +113,7 @@ contracts and sending transactions, because it is:
113113
114114
Instead thick client libraries such as [web3.js](https://github.com/ethereum/web3.js/), [web3j](https://github.com/web3j/web3j), [web3.py](https://github.com/ethereum/web3.py), [Nethereum](https://github.com/Nethereum/Nethereum) and [ethjs](https://github.com/ethjs/ethjs) are used to submit transactions.
115115
116-
These thick client libraries perform many of the same functions as hyperledger/firefly-ethconnect, simplifying submission of transactions, receipt checking,
116+
These thick client libraries perform many of the same functions as hyperledger-firefly/ethconnect, simplifying submission of transactions, receipt checking,
117117
nonce management etc.
118118
119119
In the modern world of Microservice architectures, having a simple, efficient
@@ -141,7 +141,7 @@ Providing a Messaging layer with at-least-once delivery and message ordering, al
141141
142142
Applications that have their own state stores are able to communicate over Messaging / Kafka with simple JSON payloads to stream transactions into a scalable set of Ethereum nodes, and process the replies as they occur. The application can scale horizontally. Applications can also be decoupled from the Ethereum network with an integration technology like an Enterprise Service Bus (ESB).
143143
144-
When spikes in workload occur that create a large queue of transactions that need to be fed into the Ethereum network at a lower rate, the hyperledger/firefly-ethconnect bridge feeds them in at an optimal rate.
144+
When spikes in workload occur that create a large queue of transactions that need to be fed into the Ethereum network at a lower rate, the hyperledger-firefly/ethconnect bridge feeds them in at an optimal rate.
145145
146146
### Ethereum Webhooks and the REST Receipt Store (MongoDB)
147147
@@ -172,17 +172,17 @@ A capped collection can be used in MongoDB to limit the storage. For example to
172172
The transaction pooling/execution logic within an Ethereum node is based upon the concept of a `nonce`, which must be incremented exactly once each time a transaction is submitted from the same Ethereum address. There can be no gaps in the nonce values, or messages build up in the `queued transaction` pool waiting for the gap to be filled (which is the responsibility of the
173173
sender to fill). This allows for deterministic ordering of transactions sent by the same sender.
174174

175-
The management of this `nonce` pushes complexity back to the application tier - especially for horizontally scaled Enterprise applications sending many transactions using the same sender. By using an ordered Messaging stream to submit messages into the Ethereum network, many applications are able to delegate this complexity to hyperledger/firefly-ethconnect.
175+
The management of this `nonce` pushes complexity back to the application tier - especially for horizontally scaled Enterprise applications sending many transactions using the same sender. By using an ordered Messaging stream to submit messages into the Ethereum network, many applications are able to delegate this complexity to hyperledger-firefly/ethconnect.
176176

177-
The hyperledger/firefly-ethconnect bridge contains all the logic necessary to communicate with the node to determine the next nonce, and also to cope with multiple requests being in flight within the same block, for the same sender (including [with IBFT](https://github.com/ethereum/EIPs/issues/650#issuecomment-360085474)).
177+
The hyperledger-firefly/ethconnect bridge contains all the logic necessary to communicate with the node to determine the next nonce, and also to cope with multiple requests being in flight within the same block, for the same sender (including [with IBFT](https://github.com/ethereum/EIPs/issues/650#issuecomment-360085474)).
178178

179179
When using the bridge, an application can submit simple YAML/JSON formatted transactions
180180
in a highly parallel way across many instances using the same sender address to the bridge
181181
over HTTPS/Kafka _without_ a nonce. Then through ordered message delivery and nonce management
182-
code within the hyperledger/firefly-ethconnect bridge it will be assigned a nonce and submitted
182+
code within the hyperledger-firefly/ethconnect bridge it will be assigned a nonce and submitted
183183
into the Ethereum node. The nonce assigned is returned by the bridge in the reply.
184184

185-
If a sender needs to achieve exactly-once delivery of transactions (vs. at-least-once) it is still necessary to allocate the nonce within the application and pass it into hyperledger/firefly-ethconnect in the payload. This allows the sender to control allocation of nonces using its internal state store / locking.
185+
If a sender needs to achieve exactly-once delivery of transactions (vs. at-least-once) it is still necessary to allocate the nonce within the application and pass it into hyperledger-firefly/ethconnect in the payload. This allows the sender to control allocation of nonces using its internal state store / locking.
186186

187187
> There's a good summary of at-least-once vs. exactly-once semantics in the [Akka documentation](https://doc.akka.io/docs/akka/current/general/message-delivery-reliability.html?language=scala#discussion-what-does-at-most-once-mean-)
188188

@@ -209,12 +209,12 @@ trivially. Some examples as follows:
209209
## Why Kafka?
210210

211211
We selected Kafka as the first Messaging platform, because Kafka has message ordering and scale characteristics that are ideally suited to the Ethereum transaction model:
212-
- Transactions can be sprayed across partitions, while retaining order of the transactions for a particular sender. Allowing independent and dynamic scaling of the application, hyperledger/firefly-ethconnect bridge and Go-ethereum node components.
212+
- Transactions can be sprayed across partitions, while retaining order of the transactions for a particular sender. Allowing independent and dynamic scaling of the application, hyperledger-firefly/ethconnect bridge and Go-ethereum node components.
213213
- The modern replication based cloud-native and continuously available architecture is ideal for Hyperledger projects, and is likely to be a good fit for the modern Microservice architectures that are common in Blockchain projects.
214214

215215
## Topics
216216

217-
[![hyperledger/firefly-ethconnect - Topics](ethconnect_topics.png)](ethconnect.pdf)
217+
[![hyperledger-firefly/ethconnect - Topics](ethconnect_topics.png)](ethconnect.pdf)
218218

219219
The topic usage is very simple:
220220
- One topic delivering messages into the bridge
@@ -305,7 +305,7 @@ blockchain.
305305
Requires [Go 1.11](https://golang.org/dl/) or later to install with `go get`
306306

307307
```sh
308-
go get github.com/hyperledger/firefly-ethconnect
308+
go get github.com/hyperledger-firefly/ethconnect
309309
```
310310

311311
## Development environment

cmd/ethconnect.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ import (
2424

2525
"gopkg.in/yaml.v2"
2626

27-
"github.com/hyperledger/firefly-ethconnect/internal/errors"
28-
"github.com/hyperledger/firefly-ethconnect/internal/kafka"
29-
"github.com/hyperledger/firefly-ethconnect/internal/receipts"
30-
"github.com/hyperledger/firefly-ethconnect/internal/rest"
31-
"github.com/hyperledger/firefly-ethconnect/internal/utils"
27+
"github.com/hyperledger-firefly/ethconnect/internal/errors"
28+
"github.com/hyperledger-firefly/ethconnect/internal/kafka"
29+
"github.com/hyperledger-firefly/ethconnect/internal/receipts"
30+
"github.com/hyperledger-firefly/ethconnect/internal/rest"
31+
"github.com/hyperledger-firefly/ethconnect/internal/utils"
3232
"github.com/icza/dyno"
3333
log "github.com/sirupsen/logrus"
3434
"github.com/spf13/cobra"

cmd/plugins.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ package cmd
1717
import (
1818
"plugin"
1919

20-
"github.com/hyperledger/firefly-ethconnect/internal/auth"
21-
"github.com/hyperledger/firefly-ethconnect/internal/errors"
22-
"github.com/hyperledger/firefly-ethconnect/pkg/plugins"
20+
"github.com/hyperledger-firefly/ethconnect/internal/auth"
21+
"github.com/hyperledger-firefly/ethconnect/internal/errors"
22+
"github.com/hyperledger-firefly/ethconnect/pkg/plugins"
2323
log "github.com/sirupsen/logrus"
2424
)
2525

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/hyperledger/firefly-ethconnect
1+
module github.com/hyperledger-firefly/ethconnect
22

33
go 1.22
44

internal/auth/auth.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ package auth
1717
import (
1818
"context"
1919

20-
"github.com/hyperledger/firefly-ethconnect/internal/errors"
21-
"github.com/hyperledger/firefly-ethconnect/pkg/plugins"
20+
"github.com/hyperledger-firefly/ethconnect/internal/errors"
21+
"github.com/hyperledger-firefly/ethconnect/pkg/plugins"
2222
)
2323

2424
type ContextKey int

internal/auth/auth_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"context"
1919
"testing"
2020

21-
"github.com/hyperledger/firefly-ethconnect/internal/auth/authtest"
21+
"github.com/hyperledger-firefly/ethconnect/internal/auth/authtest"
2222
"github.com/stretchr/testify/assert"
2323
)
2424

internal/contractgateway/kldparams.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
"net/textproto"
2020
"strings"
2121

22-
"github.com/hyperledger/firefly-ethconnect/internal/utils"
22+
"github.com/hyperledger-firefly/ethconnect/internal/utils"
2323
)
2424

2525
func getQueryParamNoCase(name string, req *http.Request) []string {

internal/contractgateway/rest2eth.go

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ import (
2525
"strings"
2626
"sync"
2727

28-
"github.com/hyperledger/firefly-ethconnect/internal/auth"
29-
"github.com/hyperledger/firefly-ethconnect/internal/contractregistry"
30-
"github.com/hyperledger/firefly-ethconnect/internal/errors"
31-
ethconnecterrors "github.com/hyperledger/firefly-ethconnect/internal/errors"
32-
"github.com/hyperledger/firefly-ethconnect/internal/eth"
33-
"github.com/hyperledger/firefly-ethconnect/internal/ethbind"
34-
"github.com/hyperledger/firefly-ethconnect/internal/events"
35-
"github.com/hyperledger/firefly-ethconnect/internal/messages"
36-
"github.com/hyperledger/firefly-ethconnect/internal/tx"
37-
"github.com/hyperledger/firefly-ethconnect/internal/utils"
28+
"github.com/hyperledger-firefly/ethconnect/internal/auth"
29+
"github.com/hyperledger-firefly/ethconnect/internal/contractregistry"
30+
"github.com/hyperledger-firefly/ethconnect/internal/errors"
31+
ethconnecterrors "github.com/hyperledger-firefly/ethconnect/internal/errors"
32+
"github.com/hyperledger-firefly/ethconnect/internal/eth"
33+
"github.com/hyperledger-firefly/ethconnect/internal/ethbind"
34+
"github.com/hyperledger-firefly/ethconnect/internal/events"
35+
"github.com/hyperledger-firefly/ethconnect/internal/messages"
36+
"github.com/hyperledger-firefly/ethconnect/internal/tx"
37+
"github.com/hyperledger-firefly/ethconnect/internal/utils"
3838
"github.com/julienschmidt/httprouter"
3939
ethbinding "github.com/kaleido-io/ethbinding/pkg"
4040

0 commit comments

Comments
 (0)