Skip to content

Commit

Permalink
Update URLs
Browse files Browse the repository at this point in the history
Update repository urls
  • Loading branch information
Kingston-kms committed Oct 29, 2021
1 parent 54ad3c8 commit 3589f68
Show file tree
Hide file tree
Showing 122 changed files with 319 additions and 319 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ language: go
go:
- 1.13.x

go_import_path: github.com/Fantom-foundation/lachesis-base
go_import_path: github.com/Ecosystem-Knowledge/lachesis-base

cache:
directories:
Expand Down
4 changes: 2 additions & 2 deletions PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Please check if what you want to add to `lachesis-base` list meets [quality standards](https://github.com/Fantom-foundation/lachesis-base/blob/master/CONTRIBUTING.md#quality-standard) before sending pull request.
Please check if what you want to add to `lachesis-base` list meets [quality standards](https://github.com/Ecosystem-Knowledge/lachesis-base/blob/master/CONTRIBUTING.md#quality-standard) before sending pull request.

**Please provide package links to:**

Expand All @@ -14,4 +14,4 @@ Please check if what you want to add to `lachesis-base` list meets [quality stan
- [ ] I have added godoc link to the repo and to my pull request.
- [ ] I have added coverage service link to the repo and to my pull request.
- [ ] I have added goreportcard link to the repo and to my pull request.
- [ ] I have read [Contribution guidelines](https://github.com/Fantom-foundation/lachesis-base/blob/master/CONTRIBUTING.md#contribution-guidelines), [maintainers note](https://github.com/Fantom-foundation/lachesis-base/blob/master/CONTRIBUTING.md#maintainers) and [Quality standard](https://github.com/Fantom-foundation/lachesis-base/blob/master/CONTRIBUTING.md#quality-standard).
- [ ] I have read [Contribution guidelines](https://github.com/Ecosystem-Knowledge/lachesis-base/blob/master/CONTRIBUTING.md#contribution-guidelines), [maintainers note](https://github.com/Ecosystem-Knowledge/lachesis-base/blob/master/CONTRIBUTING.md#maintainers) and [Quality standard](https://github.com/Ecosystem-Knowledge/lachesis-base/blob/master/CONTRIBUTING.md#quality-standard).
4 changes: 2 additions & 2 deletions abft/apply_genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package abft
import (
"fmt"

"github.com/Fantom-foundation/lachesis-base/inter/idx"
"github.com/Fantom-foundation/lachesis-base/inter/pos"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/idx"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/pos"
)

// Genesis stores genesis state
Expand Down
6 changes: 3 additions & 3 deletions abft/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package abft
import (
"errors"

"github.com/Fantom-foundation/lachesis-base/abft/election"
"github.com/Fantom-foundation/lachesis-base/inter/idx"
"github.com/Fantom-foundation/lachesis-base/inter/pos"
"github.com/Ecosystem-Knowledge/lachesis-base/abft/election"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/idx"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/pos"
)

const (
Expand Down
14 changes: 7 additions & 7 deletions abft/common_test.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package abft

import (
"github.com/Fantom-foundation/lachesis-base/inter/idx"
"github.com/Fantom-foundation/lachesis-base/inter/pos"
"github.com/Fantom-foundation/lachesis-base/kvdb"
"github.com/Fantom-foundation/lachesis-base/kvdb/memorydb"
"github.com/Fantom-foundation/lachesis-base/lachesis"
"github.com/Fantom-foundation/lachesis-base/utils/adapters"
"github.com/Fantom-foundation/lachesis-base/vecfc"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/idx"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/pos"
"github.com/Ecosystem-Knowledge/lachesis-base/kvdb"
"github.com/Ecosystem-Knowledge/lachesis-base/kvdb/memorydb"
"github.com/Ecosystem-Knowledge/lachesis-base/lachesis"
"github.com/Ecosystem-Knowledge/lachesis-base/utils/adapters"
"github.com/Ecosystem-Knowledge/lachesis-base/vecfc"
)

type applyBlockFn func(block *lachesis.Block) *pos.Validators
Expand Down
2 changes: 1 addition & 1 deletion abft/config.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package abft

import "github.com/Fantom-foundation/lachesis-base/utils/cachescale"
import "github.com/Ecosystem-Knowledge/lachesis-base/utils/cachescale"

type Config struct {
}
Expand Down
4 changes: 2 additions & 2 deletions abft/dagidx/dag_indexer.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package dagidx

import (
"github.com/Fantom-foundation/lachesis-base/hash"
"github.com/Fantom-foundation/lachesis-base/inter/idx"
"github.com/Ecosystem-Knowledge/lachesis-base/hash"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/idx"
)

type Seq interface {
Expand Down
2 changes: 1 addition & 1 deletion abft/election/debug.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"crypto/sha256"
"fmt"

"github.com/Fantom-foundation/lachesis-base/hash"
"github.com/Ecosystem-Knowledge/lachesis-base/hash"
)

// DebugStateHash may be used in tests to match election state
Expand Down
6 changes: 3 additions & 3 deletions abft/election/election.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package election

import (
"github.com/Fantom-foundation/lachesis-base/hash"
"github.com/Fantom-foundation/lachesis-base/inter/idx"
"github.com/Fantom-foundation/lachesis-base/inter/pos"
"github.com/Ecosystem-Knowledge/lachesis-base/hash"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/idx"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/pos"
)

type (
Expand Down
4 changes: 2 additions & 2 deletions abft/election/election_math.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"errors"
"fmt"

"github.com/Fantom-foundation/lachesis-base/hash"
"github.com/Fantom-foundation/lachesis-base/inter/idx"
"github.com/Ecosystem-Knowledge/lachesis-base/hash"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/idx"
)

// ProcessRoot calculates Atropos votes only for the new root.
Expand Down
12 changes: 6 additions & 6 deletions abft/election/election_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ import (

"github.com/stretchr/testify/assert"

"github.com/Fantom-foundation/lachesis-base/hash"
"github.com/Fantom-foundation/lachesis-base/inter/dag"
"github.com/Fantom-foundation/lachesis-base/inter/dag/tdag"
"github.com/Fantom-foundation/lachesis-base/inter/idx"
"github.com/Fantom-foundation/lachesis-base/inter/pos"
"github.com/Fantom-foundation/lachesis-base/utils"
"github.com/Ecosystem-Knowledge/lachesis-base/hash"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/dag"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/dag/tdag"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/idx"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/pos"
"github.com/Ecosystem-Knowledge/lachesis-base/utils"
)

type fakeEdge struct {
Expand Down
6 changes: 3 additions & 3 deletions abft/event_processing.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package abft
import (
"github.com/pkg/errors"

"github.com/Fantom-foundation/lachesis-base/abft/election"
"github.com/Fantom-foundation/lachesis-base/inter/dag"
"github.com/Fantom-foundation/lachesis-base/inter/idx"
"github.com/Ecosystem-Knowledge/lachesis-base/abft/election"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/dag"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/idx"
)

var (
Expand Down
6 changes: 3 additions & 3 deletions abft/event_processing_root_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (

"github.com/stretchr/testify/assert"

"github.com/Fantom-foundation/lachesis-base/inter/dag"
"github.com/Fantom-foundation/lachesis-base/inter/dag/tdag"
"github.com/Fantom-foundation/lachesis-base/inter/idx"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/dag"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/dag/tdag"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/idx"
)

func TestLachesisClassicRoots(t *testing.T) {
Expand Down
8 changes: 4 additions & 4 deletions abft/event_processing_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (

"github.com/stretchr/testify/assert"

"github.com/Fantom-foundation/lachesis-base/inter/dag"
"github.com/Fantom-foundation/lachesis-base/inter/dag/tdag"
"github.com/Fantom-foundation/lachesis-base/inter/idx"
"github.com/Fantom-foundation/lachesis-base/inter/pos"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/dag"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/dag/tdag"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/idx"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/pos"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions abft/events_source.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package abft

import (
"github.com/Fantom-foundation/lachesis-base/hash"
"github.com/Fantom-foundation/lachesis-base/inter/dag"
"github.com/Ecosystem-Knowledge/lachesis-base/hash"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/dag"
)

// EventSource is a callback for getting events from an external storage.
Expand Down
6 changes: 3 additions & 3 deletions abft/events_source_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (

"github.com/stretchr/testify/assert"

"github.com/Fantom-foundation/lachesis-base/hash"
"github.com/Fantom-foundation/lachesis-base/inter/dag"
"github.com/Fantom-foundation/lachesis-base/inter/dag/tdag"
"github.com/Ecosystem-Knowledge/lachesis-base/hash"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/dag"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/dag/tdag"
)

// EventStore is a abft event storage for test purpose.
Expand Down
6 changes: 3 additions & 3 deletions abft/frame_decide.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package abft

import (
"github.com/Fantom-foundation/lachesis-base/hash"
"github.com/Fantom-foundation/lachesis-base/inter/idx"
"github.com/Fantom-foundation/lachesis-base/inter/pos"
"github.com/Ecosystem-Knowledge/lachesis-base/hash"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/idx"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/pos"
)

// onFrameDecided moves LastDecidedFrameN to frame.
Expand Down
10 changes: 5 additions & 5 deletions abft/frame_decide_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import (

"github.com/stretchr/testify/assert"

"github.com/Fantom-foundation/lachesis-base/inter/dag"
"github.com/Fantom-foundation/lachesis-base/inter/dag/tdag"
"github.com/Fantom-foundation/lachesis-base/inter/idx"
"github.com/Fantom-foundation/lachesis-base/inter/pos"
"github.com/Fantom-foundation/lachesis-base/lachesis"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/dag"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/dag/tdag"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/idx"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/pos"
"github.com/Ecosystem-Knowledge/lachesis-base/lachesis"
)

func TestConfirmBlocks_1(t *testing.T) {
Expand Down
14 changes: 7 additions & 7 deletions abft/indexed_lachesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ import (

"github.com/ethereum/go-ethereum/common"

"github.com/Fantom-foundation/lachesis-base/abft/dagidx"
"github.com/Fantom-foundation/lachesis-base/hash"
"github.com/Fantom-foundation/lachesis-base/inter/dag"
"github.com/Fantom-foundation/lachesis-base/inter/idx"
"github.com/Fantom-foundation/lachesis-base/inter/pos"
"github.com/Fantom-foundation/lachesis-base/kvdb"
"github.com/Fantom-foundation/lachesis-base/lachesis"
"github.com/Ecosystem-Knowledge/lachesis-base/abft/dagidx"
"github.com/Ecosystem-Knowledge/lachesis-base/hash"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/dag"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/idx"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/pos"
"github.com/Ecosystem-Knowledge/lachesis-base/kvdb"
"github.com/Ecosystem-Knowledge/lachesis-base/lachesis"
)

var _ lachesis.Consensus = (*IndexedLachesis)(nil)
Expand Down
12 changes: 6 additions & 6 deletions abft/lachesis.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package abft

import (
"github.com/Fantom-foundation/lachesis-base/abft/dagidx"
"github.com/Fantom-foundation/lachesis-base/hash"
"github.com/Fantom-foundation/lachesis-base/inter/dag"
"github.com/Fantom-foundation/lachesis-base/inter/idx"
"github.com/Fantom-foundation/lachesis-base/inter/pos"
"github.com/Fantom-foundation/lachesis-base/lachesis"
"github.com/Ecosystem-Knowledge/lachesis-base/abft/dagidx"
"github.com/Ecosystem-Knowledge/lachesis-base/hash"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/dag"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/idx"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/pos"
"github.com/Ecosystem-Knowledge/lachesis-base/lachesis"
)

var _ lachesis.Consensus = (*Lachesis)(nil)
Expand Down
10 changes: 5 additions & 5 deletions abft/orderer.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package abft

import (
"github.com/Fantom-foundation/lachesis-base/abft/dagidx"
"github.com/Fantom-foundation/lachesis-base/abft/election"
"github.com/Fantom-foundation/lachesis-base/hash"
"github.com/Fantom-foundation/lachesis-base/inter/idx"
"github.com/Fantom-foundation/lachesis-base/inter/pos"
"github.com/Ecosystem-Knowledge/lachesis-base/abft/dagidx"
"github.com/Ecosystem-Knowledge/lachesis-base/abft/election"
"github.com/Ecosystem-Knowledge/lachesis-base/hash"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/idx"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/pos"
)

type OrdererCallbacks struct {
Expand Down
18 changes: 9 additions & 9 deletions abft/restart_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ import (

"github.com/stretchr/testify/assert"

"github.com/Fantom-foundation/lachesis-base/inter/dag"
"github.com/Fantom-foundation/lachesis-base/inter/dag/tdag"
"github.com/Fantom-foundation/lachesis-base/inter/idx"
"github.com/Fantom-foundation/lachesis-base/inter/pos"
"github.com/Fantom-foundation/lachesis-base/kvdb"
"github.com/Fantom-foundation/lachesis-base/kvdb/memorydb"
"github.com/Fantom-foundation/lachesis-base/lachesis"
"github.com/Fantom-foundation/lachesis-base/utils/adapters"
"github.com/Fantom-foundation/lachesis-base/vecfc"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/dag"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/dag/tdag"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/idx"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/pos"
"github.com/Ecosystem-Knowledge/lachesis-base/kvdb"
"github.com/Ecosystem-Knowledge/lachesis-base/kvdb/memorydb"
"github.com/Ecosystem-Knowledge/lachesis-base/lachesis"
"github.com/Ecosystem-Knowledge/lachesis-base/utils/adapters"
"github.com/Ecosystem-Knowledge/lachesis-base/vecfc"
)

func TestRestart_1(t *testing.T) {
Expand Down
10 changes: 5 additions & 5 deletions abft/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import (

"github.com/ethereum/go-ethereum/rlp"

"github.com/Fantom-foundation/lachesis-base/inter/idx"
"github.com/Fantom-foundation/lachesis-base/kvdb"
"github.com/Fantom-foundation/lachesis-base/kvdb/memorydb"
"github.com/Fantom-foundation/lachesis-base/kvdb/table"
"github.com/Fantom-foundation/lachesis-base/utils/simplewlru"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/idx"
"github.com/Ecosystem-Knowledge/lachesis-base/kvdb"
"github.com/Ecosystem-Knowledge/lachesis-base/kvdb/memorydb"
"github.com/Ecosystem-Knowledge/lachesis-base/kvdb/table"
"github.com/Ecosystem-Knowledge/lachesis-base/utils/simplewlru"
)

// Store is a abft persistent storage working over parent key-value database.
Expand Down
4 changes: 2 additions & 2 deletions abft/store_epoch_state.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package abft

import (
"github.com/Fantom-foundation/lachesis-base/inter/idx"
"github.com/Fantom-foundation/lachesis-base/inter/pos"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/idx"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/pos"
)

const esKey = "e"
Expand Down
4 changes: 2 additions & 2 deletions abft/store_event_confirmed.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package abft

import (
"github.com/Fantom-foundation/lachesis-base/hash"
"github.com/Fantom-foundation/lachesis-base/inter/idx"
"github.com/Ecosystem-Knowledge/lachesis-base/hash"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/idx"
)

// SetEventConfirmedOn stores confirmed event hash.
Expand Down
2 changes: 1 addition & 1 deletion abft/store_last_decided_state.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package abft

import (
"github.com/Fantom-foundation/lachesis-base/inter/idx"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/idx"
)

const dsKey = "d"
Expand Down
8 changes: 4 additions & 4 deletions abft/store_roots.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"bytes"
"fmt"

"github.com/Fantom-foundation/lachesis-base/abft/election"
"github.com/Fantom-foundation/lachesis-base/hash"
"github.com/Fantom-foundation/lachesis-base/inter/dag"
"github.com/Fantom-foundation/lachesis-base/inter/idx"
"github.com/Ecosystem-Knowledge/lachesis-base/abft/election"
"github.com/Ecosystem-Knowledge/lachesis-base/hash"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/dag"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/idx"
)

func rootRecordKey(r *election.RootAndSlot) []byte {
Expand Down
4 changes: 2 additions & 2 deletions abft/traversal.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package abft
import (
"errors"

"github.com/Fantom-foundation/lachesis-base/hash"
"github.com/Fantom-foundation/lachesis-base/inter/dag"
"github.com/Ecosystem-Knowledge/lachesis-base/hash"
"github.com/Ecosystem-Knowledge/lachesis-base/inter/dag"
)

type eventFilterFn func(event dag.Event) bool
Expand Down
4 changes: 2 additions & 2 deletions common/bytes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (

"github.com/stretchr/testify/assert"

"github.com/Fantom-foundation/lachesis-base/common/bigendian"
"github.com/Fantom-foundation/lachesis-base/common/littleendian"
"github.com/Ecosystem-Knowledge/lachesis-base/common/bigendian"
"github.com/Ecosystem-Knowledge/lachesis-base/common/littleendian"
)

func Test_IntToBytes(t *testing.T) {
Expand Down

0 comments on commit 3589f68

Please sign in to comment.