diff --git a/abft/apply_genesis.go b/abft/apply_genesis.go index c8ad89781..3c96e6134 100644 --- a/abft/apply_genesis.go +++ b/abft/apply_genesis.go @@ -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/artheranet/lachesis/inter/idx" + "github.com/artheranet/lachesis/inter/pos" ) // Genesis stores genesis state diff --git a/abft/bootstrap.go b/abft/bootstrap.go index 2de13f2b6..702277eea 100644 --- a/abft/bootstrap.go +++ b/abft/bootstrap.go @@ -4,9 +4,9 @@ import ( "errors" "fmt" - "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/artheranet/lachesis/abft/election" + "github.com/artheranet/lachesis/inter/idx" + "github.com/artheranet/lachesis/inter/pos" ) const ( diff --git a/abft/common_test.go b/abft/common_test.go index 3bc28a49f..5789df1c7 100644 --- a/abft/common_test.go +++ b/abft/common_test.go @@ -3,14 +3,14 @@ package abft import ( "math/rand" - "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/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/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/idx" + "github.com/artheranet/lachesis/inter/pos" + "github.com/artheranet/lachesis/kvdb" + "github.com/artheranet/lachesis/kvdb/memorydb" + "github.com/artheranet/lachesis/lachesis" + "github.com/artheranet/lachesis/utils/adapters" + "github.com/artheranet/lachesis/vecfc" ) type applyBlockFn func(block *lachesis.Block) *pos.Validators diff --git a/abft/config.go b/abft/config.go index afe7b8c79..fa7ce8955 100644 --- a/abft/config.go +++ b/abft/config.go @@ -1,6 +1,6 @@ package abft -import "github.com/Fantom-foundation/lachesis-base/utils/cachescale" +import "github.com/artheranet/lachesis/utils/cachescale" type Config struct { } diff --git a/abft/dagidx/dag_indexer.go b/abft/dagidx/dag_indexer.go index 8f3dad856..ed4fa8cd9 100644 --- a/abft/dagidx/dag_indexer.go +++ b/abft/dagidx/dag_indexer.go @@ -1,8 +1,8 @@ package dagidx import ( - "github.com/Fantom-foundation/lachesis-base/hash" - "github.com/Fantom-foundation/lachesis-base/inter/idx" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/idx" ) type Seq interface { diff --git a/abft/election/debug.go b/abft/election/debug.go index 936275205..a06a652ad 100644 --- a/abft/election/debug.go +++ b/abft/election/debug.go @@ -4,7 +4,7 @@ import ( "crypto/sha256" "fmt" - "github.com/Fantom-foundation/lachesis-base/hash" + "github.com/artheranet/lachesis/hash" ) // DebugStateHash may be used in tests to match election state diff --git a/abft/election/election.go b/abft/election/election.go index e102c037f..dbf0d5a0e 100644 --- a/abft/election/election.go +++ b/abft/election/election.go @@ -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/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/idx" + "github.com/artheranet/lachesis/inter/pos" ) type ( diff --git a/abft/election/election_math.go b/abft/election/election_math.go index bceee9b4d..3155617ea 100644 --- a/abft/election/election_math.go +++ b/abft/election/election_math.go @@ -4,8 +4,8 @@ import ( "errors" "fmt" - "github.com/Fantom-foundation/lachesis-base/hash" - "github.com/Fantom-foundation/lachesis-base/inter/idx" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/idx" ) // ProcessRoot calculates Atropos votes only for the new root. diff --git a/abft/election/election_test.go b/abft/election/election_test.go index 44233326e..0e9a7f223 100644 --- a/abft/election/election_test.go +++ b/abft/election/election_test.go @@ -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/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/dag" + "github.com/artheranet/lachesis/inter/dag/tdag" + "github.com/artheranet/lachesis/inter/idx" + "github.com/artheranet/lachesis/inter/pos" + "github.com/artheranet/lachesis/utils" ) type fakeEdge struct { diff --git a/abft/event_processing.go b/abft/event_processing.go index 17f9e4d92..ba72c687d 100644 --- a/abft/event_processing.go +++ b/abft/event_processing.go @@ -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/artheranet/lachesis/abft/election" + "github.com/artheranet/lachesis/inter/dag" + "github.com/artheranet/lachesis/inter/idx" ) var ( diff --git a/abft/event_processing_root_test.go b/abft/event_processing_root_test.go index 10751a174..5b7fcd28e 100644 --- a/abft/event_processing_root_test.go +++ b/abft/event_processing_root_test.go @@ -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/artheranet/lachesis/inter/dag" + "github.com/artheranet/lachesis/inter/dag/tdag" + "github.com/artheranet/lachesis/inter/idx" ) func TestLachesisClassicRoots(t *testing.T) { diff --git a/abft/event_processing_test.go b/abft/event_processing_test.go index b8862f90f..78f87f5be 100644 --- a/abft/event_processing_test.go +++ b/abft/event_processing_test.go @@ -8,11 +8,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/artheranet/lachesis/inter/dag" + "github.com/artheranet/lachesis/inter/dag/tdag" + "github.com/artheranet/lachesis/inter/idx" + "github.com/artheranet/lachesis/inter/pos" + "github.com/artheranet/lachesis/lachesis" ) const ( diff --git a/abft/events_source.go b/abft/events_source.go index d47f9c268..562cee302 100644 --- a/abft/events_source.go +++ b/abft/events_source.go @@ -1,8 +1,8 @@ package abft import ( - "github.com/Fantom-foundation/lachesis-base/hash" - "github.com/Fantom-foundation/lachesis-base/inter/dag" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/dag" ) // EventSource is a callback for getting events from an external storage. diff --git a/abft/events_source_test.go b/abft/events_source_test.go index 85446b220..7c7ac63d8 100644 --- a/abft/events_source_test.go +++ b/abft/events_source_test.go @@ -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/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/dag" + "github.com/artheranet/lachesis/inter/dag/tdag" ) // EventStore is a abft event storage for test purpose. diff --git a/abft/frame_decide.go b/abft/frame_decide.go index c580f6b61..909224c20 100644 --- a/abft/frame_decide.go +++ b/abft/frame_decide.go @@ -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/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/idx" + "github.com/artheranet/lachesis/inter/pos" ) // onFrameDecided moves LastDecidedFrameN to frame. diff --git a/abft/frame_decide_test.go b/abft/frame_decide_test.go index 3d355c9cf..683bfb465 100644 --- a/abft/frame_decide_test.go +++ b/abft/frame_decide_test.go @@ -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/artheranet/lachesis/inter/dag" + "github.com/artheranet/lachesis/inter/dag/tdag" + "github.com/artheranet/lachesis/inter/idx" + "github.com/artheranet/lachesis/inter/pos" + "github.com/artheranet/lachesis/lachesis" ) func TestConfirmBlocks_1(t *testing.T) { diff --git a/abft/indexed_lachesis.go b/abft/indexed_lachesis.go index 1860e7bd6..ce0fc544a 100644 --- a/abft/indexed_lachesis.go +++ b/abft/indexed_lachesis.go @@ -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/artheranet/lachesis/abft/dagidx" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/dag" + "github.com/artheranet/lachesis/inter/idx" + "github.com/artheranet/lachesis/inter/pos" + "github.com/artheranet/lachesis/kvdb" + "github.com/artheranet/lachesis/lachesis" ) var _ lachesis.Consensus = (*IndexedLachesis)(nil) diff --git a/abft/lachesis.go b/abft/lachesis.go index 23567913a..1d0fdeba0 100644 --- a/abft/lachesis.go +++ b/abft/lachesis.go @@ -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/artheranet/lachesis/abft/dagidx" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/dag" + "github.com/artheranet/lachesis/inter/idx" + "github.com/artheranet/lachesis/inter/pos" + "github.com/artheranet/lachesis/lachesis" ) var _ lachesis.Consensus = (*Lachesis)(nil) diff --git a/abft/orderer.go b/abft/orderer.go index 91040ddb9..29b3e4b63 100644 --- a/abft/orderer.go +++ b/abft/orderer.go @@ -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/artheranet/lachesis/abft/dagidx" + "github.com/artheranet/lachesis/abft/election" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/idx" + "github.com/artheranet/lachesis/inter/pos" ) type OrdererCallbacks struct { diff --git a/abft/restart_test.go b/abft/restart_test.go index 91360e285..4071d6066 100644 --- a/abft/restart_test.go +++ b/abft/restart_test.go @@ -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/artheranet/lachesis/inter/dag" + "github.com/artheranet/lachesis/inter/dag/tdag" + "github.com/artheranet/lachesis/inter/idx" + "github.com/artheranet/lachesis/inter/pos" + "github.com/artheranet/lachesis/kvdb" + "github.com/artheranet/lachesis/kvdb/memorydb" + "github.com/artheranet/lachesis/lachesis" + "github.com/artheranet/lachesis/utils/adapters" + "github.com/artheranet/lachesis/vecfc" ) func TestRestart_1(t *testing.T) { diff --git a/abft/store.go b/abft/store.go index d0a6aee5c..7b3161c53 100644 --- a/abft/store.go +++ b/abft/store.go @@ -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/artheranet/lachesis/inter/idx" + "github.com/artheranet/lachesis/kvdb" + "github.com/artheranet/lachesis/kvdb/memorydb" + "github.com/artheranet/lachesis/kvdb/table" + "github.com/artheranet/lachesis/utils/simplewlru" ) // Store is a abft persistent storage working over parent key-value database. diff --git a/abft/store_epoch_state.go b/abft/store_epoch_state.go index 2b441c20a..9505be17d 100644 --- a/abft/store_epoch_state.go +++ b/abft/store_epoch_state.go @@ -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/artheranet/lachesis/inter/idx" + "github.com/artheranet/lachesis/inter/pos" ) const esKey = "e" diff --git a/abft/store_event_confirmed.go b/abft/store_event_confirmed.go index 9fb6e9ffb..08365b823 100644 --- a/abft/store_event_confirmed.go +++ b/abft/store_event_confirmed.go @@ -1,8 +1,8 @@ package abft import ( - "github.com/Fantom-foundation/lachesis-base/hash" - "github.com/Fantom-foundation/lachesis-base/inter/idx" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/idx" ) // SetEventConfirmedOn stores confirmed event hash. diff --git a/abft/store_last_decided_state.go b/abft/store_last_decided_state.go index a8e1378e2..eb6e48971 100644 --- a/abft/store_last_decided_state.go +++ b/abft/store_last_decided_state.go @@ -1,7 +1,7 @@ package abft import ( - "github.com/Fantom-foundation/lachesis-base/inter/idx" + "github.com/artheranet/lachesis/inter/idx" ) const dsKey = "d" diff --git a/abft/store_roots.go b/abft/store_roots.go index 0ca0cb5da..9d2900789 100644 --- a/abft/store_roots.go +++ b/abft/store_roots.go @@ -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/artheranet/lachesis/abft/election" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/dag" + "github.com/artheranet/lachesis/inter/idx" ) func rootRecordKey(r *election.RootAndSlot) []byte { diff --git a/abft/traversal.go b/abft/traversal.go index f8bd4ef88..1bc4a8e6d 100644 --- a/abft/traversal.go +++ b/abft/traversal.go @@ -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/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/dag" ) type eventFilterFn func(event dag.Event) bool diff --git a/common/bytes_test.go b/common/bytes_test.go index c1b07c6c9..0c5793b0b 100644 --- a/common/bytes_test.go +++ b/common/bytes_test.go @@ -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/artheranet/lachesis/common/bigendian" + "github.com/artheranet/lachesis/common/littleendian" ) func Test_IntToBytes(t *testing.T) { diff --git a/emitter/ancestor/metric_cache.go b/emitter/ancestor/metric_cache.go index 7fe218fa7..354c36ef7 100644 --- a/emitter/ancestor/metric_cache.go +++ b/emitter/ancestor/metric_cache.go @@ -1,8 +1,8 @@ package ancestor import ( - "github.com/Fantom-foundation/lachesis-base/hash" - "github.com/Fantom-foundation/lachesis-base/utils/wlru" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/utils/wlru" ) type Metric uint64 diff --git a/emitter/ancestor/payload_indexer.go b/emitter/ancestor/payload_indexer.go index 752759aa3..afa226e37 100644 --- a/emitter/ancestor/payload_indexer.go +++ b/emitter/ancestor/payload_indexer.go @@ -1,9 +1,9 @@ package ancestor import ( - "github.com/Fantom-foundation/lachesis-base/hash" - "github.com/Fantom-foundation/lachesis-base/inter/dag" - "github.com/Fantom-foundation/lachesis-base/utils/wlru" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/dag" + "github.com/artheranet/lachesis/utils/wlru" ) type PayloadIndexer struct { diff --git a/emitter/ancestor/quorum_indexer.go b/emitter/ancestor/quorum_indexer.go index a041b721c..925418fbb 100644 --- a/emitter/ancestor/quorum_indexer.go +++ b/emitter/ancestor/quorum_indexer.go @@ -4,12 +4,12 @@ import ( "math" "sort" - "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/utils/wmedian" + "github.com/artheranet/lachesis/abft/dagidx" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/dag" + "github.com/artheranet/lachesis/inter/idx" + "github.com/artheranet/lachesis/inter/pos" + "github.com/artheranet/lachesis/utils/wmedian" ) type DagIndex interface { diff --git a/emitter/ancestor/quorum_indexer_test.go b/emitter/ancestor/quorum_indexer_test.go index 1a60179c3..a94129bad 100644 --- a/emitter/ancestor/quorum_indexer_test.go +++ b/emitter/ancestor/quorum_indexer_test.go @@ -8,15 +8,15 @@ 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/kvdb/memorydb" - "github.com/Fantom-foundation/lachesis-base/utils" - "github.com/Fantom-foundation/lachesis-base/utils/adapters" - "github.com/Fantom-foundation/lachesis-base/vecfc" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/dag" + "github.com/artheranet/lachesis/inter/dag/tdag" + "github.com/artheranet/lachesis/inter/idx" + "github.com/artheranet/lachesis/inter/pos" + "github.com/artheranet/lachesis/kvdb/memorydb" + "github.com/artheranet/lachesis/utils" + "github.com/artheranet/lachesis/utils/adapters" + "github.com/artheranet/lachesis/vecfc" ) func TestCasualityStrategy(t *testing.T) { diff --git a/emitter/ancestor/rand.go b/emitter/ancestor/rand.go index 14d359b41..a99f4272e 100644 --- a/emitter/ancestor/rand.go +++ b/emitter/ancestor/rand.go @@ -4,7 +4,7 @@ import ( "math/rand" "time" - "github.com/Fantom-foundation/lachesis-base/hash" + "github.com/artheranet/lachesis/hash" ) /* diff --git a/emitter/ancestor/search.go b/emitter/ancestor/search.go index a73303986..56913280d 100644 --- a/emitter/ancestor/search.go +++ b/emitter/ancestor/search.go @@ -1,7 +1,7 @@ package ancestor import ( - "github.com/Fantom-foundation/lachesis-base/hash" + "github.com/artheranet/lachesis/hash" ) // SearchStrategy defines a criteria used to estimate the "best" subset of parents to emit event with. diff --git a/emitter/ancestor/weighted.go b/emitter/ancestor/weighted.go index de45a8ea2..4f7ab43b6 100644 --- a/emitter/ancestor/weighted.go +++ b/emitter/ancestor/weighted.go @@ -1,7 +1,7 @@ package ancestor import ( - "github.com/Fantom-foundation/lachesis-base/hash" + "github.com/artheranet/lachesis/hash" ) type MetricStrategy struct { diff --git a/eventcheck/all.go b/eventcheck/all.go index 28f97df0d..d6de9f7dc 100644 --- a/eventcheck/all.go +++ b/eventcheck/all.go @@ -1,10 +1,10 @@ package eventcheck import ( - "github.com/Fantom-foundation/lachesis-base/eventcheck/basiccheck" - "github.com/Fantom-foundation/lachesis-base/eventcheck/epochcheck" - "github.com/Fantom-foundation/lachesis-base/eventcheck/parentscheck" - "github.com/Fantom-foundation/lachesis-base/inter/dag" + "github.com/artheranet/lachesis/eventcheck/basiccheck" + "github.com/artheranet/lachesis/eventcheck/epochcheck" + "github.com/artheranet/lachesis/eventcheck/parentscheck" + "github.com/artheranet/lachesis/inter/dag" ) // Checkers is collection of all the checkers diff --git a/eventcheck/basiccheck/basic_check.go b/eventcheck/basiccheck/basic_check.go index 884193a00..37f3ff81d 100644 --- a/eventcheck/basiccheck/basic_check.go +++ b/eventcheck/basiccheck/basic_check.go @@ -4,7 +4,7 @@ import ( "errors" "math" - "github.com/Fantom-foundation/lachesis-base/inter/dag" + "github.com/artheranet/lachesis/inter/dag" ) var ( diff --git a/eventcheck/epochcheck/epoch_check.go b/eventcheck/epochcheck/epoch_check.go index 2b9c1e873..667be0e09 100644 --- a/eventcheck/epochcheck/epoch_check.go +++ b/eventcheck/epochcheck/epoch_check.go @@ -3,9 +3,9 @@ package epochcheck import ( "errors" - "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/artheranet/lachesis/inter/dag" + "github.com/artheranet/lachesis/inter/idx" + "github.com/artheranet/lachesis/inter/pos" ) var ( diff --git a/eventcheck/parentscheck/parents_check.go b/eventcheck/parentscheck/parents_check.go index d0dc64eac..1f07dec39 100644 --- a/eventcheck/parentscheck/parents_check.go +++ b/eventcheck/parentscheck/parents_check.go @@ -3,8 +3,8 @@ package parentscheck import ( "errors" - "github.com/Fantom-foundation/lachesis-base/inter/dag" - "github.com/Fantom-foundation/lachesis-base/inter/idx" + "github.com/artheranet/lachesis/inter/dag" + "github.com/artheranet/lachesis/inter/idx" ) var ( diff --git a/go.mod b/go.mod index 2c308ffd0..86c4a8778 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/artheranet/lachesis-base +module github.com/artheranet/lachesis go 1.17 diff --git a/gossip/basestream/basestreamseeder/seeder.go b/gossip/basestream/basestreamseeder/seeder.go index d7dd3a967..96e36cef9 100644 --- a/gossip/basestream/basestreamseeder/seeder.go +++ b/gossip/basestream/basestreamseeder/seeder.go @@ -6,8 +6,8 @@ import ( "sync/atomic" "time" - "github.com/Fantom-foundation/lachesis-base/gossip/basestream" - "github.com/Fantom-foundation/lachesis-base/utils/workers" + "github.com/artheranet/lachesis/gossip/basestream" + "github.com/artheranet/lachesis/utils/workers" ) var ( diff --git a/gossip/basestream/basestreamseeder/seeder_test.go b/gossip/basestream/basestreamseeder/seeder_test.go index 4096662dc..4099a0349 100644 --- a/gossip/basestream/basestreamseeder/seeder_test.go +++ b/gossip/basestream/basestreamseeder/seeder_test.go @@ -13,11 +13,11 @@ import ( "github.com/stretchr/testify/require" - "github.com/Fantom-foundation/lachesis-base/gossip/basestream" - "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/artheranet/lachesis/gossip/basestream" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/dag" + "github.com/artheranet/lachesis/inter/dag/tdag" + "github.com/artheranet/lachesis/inter/idx" ) func defaultConfig() Config { diff --git a/gossip/basestream/basestreamseeder/types_test.go b/gossip/basestream/basestreamseeder/types_test.go index 60c7b5235..568b674db 100644 --- a/gossip/basestream/basestreamseeder/types_test.go +++ b/gossip/basestream/basestreamseeder/types_test.go @@ -6,9 +6,9 @@ import ( "github.com/ethereum/go-ethereum/common" - "github.com/Fantom-foundation/lachesis-base/gossip/basestream" - "github.com/Fantom-foundation/lachesis-base/hash" - "github.com/Fantom-foundation/lachesis-base/inter/dag" + "github.com/artheranet/lachesis/gossip/basestream" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/dag" ) type testLocator struct { diff --git a/gossip/dagordering/event_buffer.go b/gossip/dagordering/event_buffer.go index a4b5306b9..35e5c164f 100644 --- a/gossip/dagordering/event_buffer.go +++ b/gossip/dagordering/event_buffer.go @@ -4,11 +4,11 @@ import ( "math" "sync" - "github.com/Fantom-foundation/lachesis-base/eventcheck" - "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/utils/wlru" + "github.com/artheranet/lachesis/eventcheck" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/dag" + "github.com/artheranet/lachesis/inter/idx" + "github.com/artheranet/lachesis/utils/wlru" ) type ( diff --git a/gossip/dagordering/ordering_test.go b/gossip/dagordering/ordering_test.go index 9ce43a0d0..59142af2f 100644 --- a/gossip/dagordering/ordering_test.go +++ b/gossip/dagordering/ordering_test.go @@ -8,10 +8,10 @@ import ( "testing" "time" - "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/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/dag" + "github.com/artheranet/lachesis/inter/dag/tdag" + "github.com/artheranet/lachesis/inter/idx" ) func TestEventsBuffer(t *testing.T) { diff --git a/gossip/dagprocessor/config.go b/gossip/dagprocessor/config.go index 318beb1c2..52552de0e 100644 --- a/gossip/dagprocessor/config.go +++ b/gossip/dagprocessor/config.go @@ -5,8 +5,8 @@ import ( "github.com/syndtr/goleveldb/leveldb/opt" - "github.com/Fantom-foundation/lachesis-base/inter/dag" - "github.com/Fantom-foundation/lachesis-base/utils/cachescale" + "github.com/artheranet/lachesis/inter/dag" + "github.com/artheranet/lachesis/utils/cachescale" ) type Config struct { diff --git a/gossip/dagprocessor/processor.go b/gossip/dagprocessor/processor.go index 60b01cb71..48afb2770 100644 --- a/gossip/dagprocessor/processor.go +++ b/gossip/dagprocessor/processor.go @@ -4,13 +4,13 @@ import ( "errors" "sync" - "github.com/Fantom-foundation/lachesis-base/eventcheck" - "github.com/Fantom-foundation/lachesis-base/gossip/dagordering" - "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/utils/datasemaphore" - "github.com/Fantom-foundation/lachesis-base/utils/workers" + "github.com/artheranet/lachesis/eventcheck" + "github.com/artheranet/lachesis/gossip/dagordering" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/dag" + "github.com/artheranet/lachesis/inter/idx" + "github.com/artheranet/lachesis/utils/datasemaphore" + "github.com/artheranet/lachesis/utils/workers" ) var ( diff --git a/gossip/dagprocessor/processor_test.go b/gossip/dagprocessor/processor_test.go index df9f163cd..f8a476459 100644 --- a/gossip/dagprocessor/processor_test.go +++ b/gossip/dagprocessor/processor_test.go @@ -8,12 +8,12 @@ import ( "testing" "time" - "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/utils/cachescale" - "github.com/Fantom-foundation/lachesis-base/utils/datasemaphore" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/dag" + "github.com/artheranet/lachesis/inter/dag/tdag" + "github.com/artheranet/lachesis/inter/idx" + "github.com/artheranet/lachesis/utils/cachescale" + "github.com/artheranet/lachesis/utils/datasemaphore" ) func TestProcessor(t *testing.T) { diff --git a/gossip/itemsfetcher/config.go b/gossip/itemsfetcher/config.go index a638d07bf..e354247c2 100644 --- a/gossip/itemsfetcher/config.go +++ b/gossip/itemsfetcher/config.go @@ -3,7 +3,7 @@ package itemsfetcher import ( "time" - "github.com/Fantom-foundation/lachesis-base/utils/cachescale" + "github.com/artheranet/lachesis/utils/cachescale" ) type Config struct { diff --git a/gossip/itemsfetcher/fetcher.go b/gossip/itemsfetcher/fetcher.go index 773433a01..4923c9097 100644 --- a/gossip/itemsfetcher/fetcher.go +++ b/gossip/itemsfetcher/fetcher.go @@ -6,8 +6,8 @@ import ( "sync" "time" - "github.com/Fantom-foundation/lachesis-base/utils/wlru" - "github.com/Fantom-foundation/lachesis-base/utils/workers" + "github.com/artheranet/lachesis/utils/wlru" + "github.com/artheranet/lachesis/utils/workers" ) /* diff --git a/hash/event_hash.go b/hash/event_hash.go index 6a7df7601..75f5fa22c 100644 --- a/hash/event_hash.go +++ b/hash/event_hash.go @@ -11,8 +11,8 @@ import ( "github.com/ethereum/go-ethereum/common" - "github.com/Fantom-foundation/lachesis-base/common/bigendian" - "github.com/Fantom-foundation/lachesis-base/inter/idx" + "github.com/artheranet/lachesis/common/bigendian" + "github.com/artheranet/lachesis/inter/idx" ) type ( diff --git a/hash/log.go b/hash/log.go index 2773b9181..8a96344d4 100644 --- a/hash/log.go +++ b/hash/log.go @@ -3,7 +3,7 @@ package hash import ( "sync" - "github.com/Fantom-foundation/lachesis-base/inter/idx" + "github.com/artheranet/lachesis/inter/idx" ) var ( diff --git a/inter/dag/event.go b/inter/dag/event.go index 28ec29239..a3a6afb46 100644 --- a/inter/dag/event.go +++ b/inter/dag/event.go @@ -3,8 +3,8 @@ package dag import ( "fmt" - "github.com/Fantom-foundation/lachesis-base/hash" - "github.com/Fantom-foundation/lachesis-base/inter/idx" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/idx" ) type Event interface { diff --git a/inter/dag/events.go b/inter/dag/events.go index a78a61762..f59428bb6 100644 --- a/inter/dag/events.go +++ b/inter/dag/events.go @@ -3,8 +3,8 @@ package dag import ( "strings" - "github.com/Fantom-foundation/lachesis-base/hash" - "github.com/Fantom-foundation/lachesis-base/inter/idx" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/idx" ) // Events is a ordered slice of events. diff --git a/inter/dag/metric.go b/inter/dag/metric.go index 04f329d9f..dfc63dcdc 100644 --- a/inter/dag/metric.go +++ b/inter/dag/metric.go @@ -3,7 +3,7 @@ package dag import ( "fmt" - "github.com/Fantom-foundation/lachesis-base/inter/idx" + "github.com/artheranet/lachesis/inter/idx" ) type Metric struct { diff --git a/inter/dag/tdag/ascii_scheme.go b/inter/dag/tdag/ascii_scheme.go index 43363f68c..7376060d0 100644 --- a/inter/dag/tdag/ascii_scheme.go +++ b/inter/dag/tdag/ascii_scheme.go @@ -6,9 +6,9 @@ import ( "strconv" "strings" - "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/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/dag" + "github.com/artheranet/lachesis/inter/idx" ) type ForEachEvent struct { diff --git a/inter/dag/tdag/ascii_scheme_test.go b/inter/dag/tdag/ascii_scheme_test.go index 0767ac054..4526a337a 100644 --- a/inter/dag/tdag/ascii_scheme_test.go +++ b/inter/dag/tdag/ascii_scheme_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/assert" - "github.com/Fantom-foundation/lachesis-base/inter/dag" - "github.com/Fantom-foundation/lachesis-base/utils" + "github.com/artheranet/lachesis/inter/dag" + "github.com/artheranet/lachesis/utils" ) func TestASCIIschemeToDAG(t *testing.T) { diff --git a/inter/dag/tdag/event.go b/inter/dag/tdag/event.go index a82aa41d7..3f0b6b88f 100644 --- a/inter/dag/tdag/event.go +++ b/inter/dag/tdag/event.go @@ -1,8 +1,8 @@ package tdag import ( - "github.com/Fantom-foundation/lachesis-base/hash" - "github.com/Fantom-foundation/lachesis-base/inter/dag" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/dag" ) type TestEvent struct { diff --git a/inter/dag/tdag/events.go b/inter/dag/tdag/events.go index ff7f7aff6..46f8bdfcf 100644 --- a/inter/dag/tdag/events.go +++ b/inter/dag/tdag/events.go @@ -3,8 +3,8 @@ package tdag import ( "strings" - "github.com/Fantom-foundation/lachesis-base/hash" - "github.com/Fantom-foundation/lachesis-base/inter/dag" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/dag" ) // TestEvents is a ordered slice of events. diff --git a/inter/dag/tdag/events_test.go b/inter/dag/tdag/events_test.go index bfd5cbb43..7bb74ffdc 100644 --- a/inter/dag/tdag/events_test.go +++ b/inter/dag/tdag/events_test.go @@ -4,8 +4,8 @@ import ( "math/rand" "testing" - "github.com/Fantom-foundation/lachesis-base/hash" - "github.com/Fantom-foundation/lachesis-base/inter/dag" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/dag" ) func TestEventsByParents(t *testing.T) { diff --git a/inter/dag/tdag/serialization.go b/inter/dag/tdag/serialization.go index 47fc4fa00..2bcc44596 100644 --- a/inter/dag/tdag/serialization.go +++ b/inter/dag/tdag/serialization.go @@ -3,8 +3,8 @@ package tdag import ( "github.com/ethereum/go-ethereum/rlp" - "github.com/Fantom-foundation/lachesis-base/hash" - "github.com/Fantom-foundation/lachesis-base/inter/idx" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/idx" ) type TestEventMarshaling struct { diff --git a/inter/dag/tdag/test_common.go b/inter/dag/tdag/test_common.go index 7ed8029f8..73e321302 100644 --- a/inter/dag/tdag/test_common.go +++ b/inter/dag/tdag/test_common.go @@ -5,9 +5,9 @@ import ( "fmt" "math/rand" - "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/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/dag" + "github.com/artheranet/lachesis/inter/idx" ) // GenNodes generates nodes. diff --git a/inter/idx/index.go b/inter/idx/index.go index 9be724aa9..412521f08 100644 --- a/inter/idx/index.go +++ b/inter/idx/index.go @@ -1,7 +1,7 @@ package idx import ( - "github.com/Fantom-foundation/lachesis-base/common/bigendian" + "github.com/artheranet/lachesis/common/bigendian" ) type ( diff --git a/inter/idx/internal.go b/inter/idx/internal.go index 4c59f4576..2fe3d05a7 100644 --- a/inter/idx/internal.go +++ b/inter/idx/internal.go @@ -1,7 +1,7 @@ package idx import ( - "github.com/Fantom-foundation/lachesis-base/common/bigendian" + "github.com/artheranet/lachesis/common/bigendian" ) type ( diff --git a/inter/pos/sort.go b/inter/pos/sort.go index b6e1df550..5146cf926 100644 --- a/inter/pos/sort.go +++ b/inter/pos/sort.go @@ -1,7 +1,7 @@ package pos import ( - "github.com/Fantom-foundation/lachesis-base/inter/idx" + "github.com/artheranet/lachesis/inter/idx" ) type ( diff --git a/inter/pos/stake.go b/inter/pos/stake.go index 599ca420c..0ee1988d7 100644 --- a/inter/pos/stake.go +++ b/inter/pos/stake.go @@ -1,7 +1,7 @@ package pos import ( - "github.com/Fantom-foundation/lachesis-base/inter/idx" + "github.com/artheranet/lachesis/inter/idx" ) type ( diff --git a/inter/pos/stake_bigint.go b/inter/pos/stake_bigint.go index 2e3c15bfc..78bb6020f 100644 --- a/inter/pos/stake_bigint.go +++ b/inter/pos/stake_bigint.go @@ -3,7 +3,7 @@ package pos import ( "math/big" - "github.com/Fantom-foundation/lachesis-base/inter/idx" + "github.com/artheranet/lachesis/inter/idx" ) // ValidatorsBuilderBig is a helper to create Validators object out of bigint numbers diff --git a/inter/pos/validators.go b/inter/pos/validators.go index 14035fbae..2bc9d6137 100644 --- a/inter/pos/validators.go +++ b/inter/pos/validators.go @@ -8,7 +8,7 @@ import ( "github.com/ethereum/go-ethereum/rlp" - "github.com/Fantom-foundation/lachesis-base/inter/idx" + "github.com/artheranet/lachesis/inter/idx" ) type ( diff --git a/inter/pos/validators_test.go b/inter/pos/validators_test.go index 4b6b32b58..3a84d546f 100644 --- a/inter/pos/validators_test.go +++ b/inter/pos/validators_test.go @@ -9,7 +9,7 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/stretchr/testify/assert" - "github.com/Fantom-foundation/lachesis-base/inter/idx" + "github.com/artheranet/lachesis/inter/idx" ) func TestNewValidators(t *testing.T) { diff --git a/kvdb/batched/batched.go b/kvdb/batched/batched.go index 4b0e53ccf..bfbf15b4e 100644 --- a/kvdb/batched/batched.go +++ b/kvdb/batched/batched.go @@ -1,6 +1,6 @@ package batched -import "github.com/Fantom-foundation/lachesis-base/kvdb" +import "github.com/artheranet/lachesis/kvdb" // Store is a wrapper which translates every Put/Delete op into a batch type Store struct { diff --git a/kvdb/cachedproducer/producer.go b/kvdb/cachedproducer/producer.go index 591d1d3db..e42db7729 100644 --- a/kvdb/cachedproducer/producer.go +++ b/kvdb/cachedproducer/producer.go @@ -4,7 +4,7 @@ import ( "errors" "sync" - "github.com/Fantom-foundation/lachesis-base/kvdb" + "github.com/artheranet/lachesis/kvdb" ) type cacheState struct { diff --git a/kvdb/cachedproducer/store.go b/kvdb/cachedproducer/store.go index 40375ae9d..45f6e8753 100644 --- a/kvdb/cachedproducer/store.go +++ b/kvdb/cachedproducer/store.go @@ -1,6 +1,6 @@ package cachedproducer -import "github.com/Fantom-foundation/lachesis-base/kvdb" +import "github.com/artheranet/lachesis/kvdb" type StoreWithFn struct { kvdb.Store diff --git a/kvdb/devnulldb/devnulldb.go b/kvdb/devnulldb/devnulldb.go index 1c227597b..983e89ee7 100644 --- a/kvdb/devnulldb/devnulldb.go +++ b/kvdb/devnulldb/devnulldb.go @@ -1,7 +1,7 @@ package devnulldb import ( - "github.com/Fantom-foundation/lachesis-base/kvdb" + "github.com/artheranet/lachesis/kvdb" ) // Database is an always empty database. diff --git a/kvdb/fallible/fallible.go b/kvdb/fallible/fallible.go index 157319088..361bb38ee 100644 --- a/kvdb/fallible/fallible.go +++ b/kvdb/fallible/fallible.go @@ -4,7 +4,7 @@ import ( "errors" "sync/atomic" - "github.com/Fantom-foundation/lachesis-base/kvdb" + "github.com/artheranet/lachesis/kvdb" ) var ( diff --git a/kvdb/fallible/fallible_test.go b/kvdb/fallible/fallible_test.go index 0d46bd8ee..146892d19 100644 --- a/kvdb/fallible/fallible_test.go +++ b/kvdb/fallible/fallible_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/assert" - "github.com/Fantom-foundation/lachesis-base/kvdb" - "github.com/Fantom-foundation/lachesis-base/kvdb/memorydb" + "github.com/artheranet/lachesis/kvdb" + "github.com/artheranet/lachesis/kvdb/memorydb" ) func TestFallible(t *testing.T) { diff --git a/kvdb/flaggedproducer/producer.go b/kvdb/flaggedproducer/producer.go index 4ac13b7d3..59fbf3ea3 100644 --- a/kvdb/flaggedproducer/producer.go +++ b/kvdb/flaggedproducer/producer.go @@ -4,8 +4,8 @@ import ( "sync" "sync/atomic" - "github.com/Fantom-foundation/lachesis-base/kvdb" - "github.com/Fantom-foundation/lachesis-base/kvdb/flushable" + "github.com/artheranet/lachesis/kvdb" + "github.com/artheranet/lachesis/kvdb/flushable" ) type Producer struct { diff --git a/kvdb/flaggedproducer/store.go b/kvdb/flaggedproducer/store.go index f2af46784..1437e5cde 100644 --- a/kvdb/flaggedproducer/store.go +++ b/kvdb/flaggedproducer/store.go @@ -3,8 +3,8 @@ package flaggedproducer import ( "sync/atomic" - "github.com/Fantom-foundation/lachesis-base/kvdb" - "github.com/Fantom-foundation/lachesis-base/kvdb/flushable" + "github.com/artheranet/lachesis/kvdb" + "github.com/artheranet/lachesis/kvdb/flushable" ) type flaggedStore struct { diff --git a/kvdb/flushable/flushable.go b/kvdb/flushable/flushable.go index 024411fd5..b0f8f0433 100644 --- a/kvdb/flushable/flushable.go +++ b/kvdb/flushable/flushable.go @@ -8,7 +8,7 @@ import ( rbt "github.com/emirpasic/gods/trees/redblacktree" "github.com/ethereum/go-ethereum/common" - "github.com/Fantom-foundation/lachesis-base/kvdb" + "github.com/artheranet/lachesis/kvdb" ) var ( diff --git a/kvdb/flushable/flushable_parallel_test.go b/kvdb/flushable/flushable_parallel_test.go index 1f356e8d8..73ce8c65f 100644 --- a/kvdb/flushable/flushable_parallel_test.go +++ b/kvdb/flushable/flushable_parallel_test.go @@ -10,10 +10,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/Fantom-foundation/lachesis-base/common/bigendian" - "github.com/Fantom-foundation/lachesis-base/kvdb" - "github.com/Fantom-foundation/lachesis-base/kvdb/leveldb" - "github.com/Fantom-foundation/lachesis-base/kvdb/table" + "github.com/artheranet/lachesis/common/bigendian" + "github.com/artheranet/lachesis/kvdb" + "github.com/artheranet/lachesis/kvdb/leveldb" + "github.com/artheranet/lachesis/kvdb/table" ) func TestFlushableParallel(t *testing.T) { diff --git a/kvdb/flushable/flushable_test.go b/kvdb/flushable/flushable_test.go index 2c5f3fff5..8a744a7af 100644 --- a/kvdb/flushable/flushable_test.go +++ b/kvdb/flushable/flushable_test.go @@ -14,10 +14,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/syndtr/goleveldb/leveldb/opt" - "github.com/Fantom-foundation/lachesis-base/common/bigendian" - "github.com/Fantom-foundation/lachesis-base/kvdb" - "github.com/Fantom-foundation/lachesis-base/kvdb/leveldb" - "github.com/Fantom-foundation/lachesis-base/kvdb/table" + "github.com/artheranet/lachesis/common/bigendian" + "github.com/artheranet/lachesis/kvdb" + "github.com/artheranet/lachesis/kvdb/leveldb" + "github.com/artheranet/lachesis/kvdb/table" ) func TestFlushable(t *testing.T) { diff --git a/kvdb/flushable/lazy_flushable.go b/kvdb/flushable/lazy_flushable.go index 027715de1..045f8ed5e 100644 --- a/kvdb/flushable/lazy_flushable.go +++ b/kvdb/flushable/lazy_flushable.go @@ -1,8 +1,8 @@ package flushable import ( - "github.com/Fantom-foundation/lachesis-base/kvdb" - "github.com/Fantom-foundation/lachesis-base/kvdb/devnulldb" + "github.com/artheranet/lachesis/kvdb" + "github.com/artheranet/lachesis/kvdb/devnulldb" ) // LazyFlushable is a Flushable with delayed DB producer diff --git a/kvdb/flushable/synced_pool.go b/kvdb/flushable/synced_pool.go index 5717c6996..92f24f134 100644 --- a/kvdb/flushable/synced_pool.go +++ b/kvdb/flushable/synced_pool.go @@ -8,9 +8,9 @@ import ( "github.com/status-im/keycard-go/hexutils" - "github.com/Fantom-foundation/lachesis-base/kvdb" - "github.com/Fantom-foundation/lachesis-base/kvdb/readonlystore" - "github.com/Fantom-foundation/lachesis-base/kvdb/synced" + "github.com/artheranet/lachesis/kvdb" + "github.com/artheranet/lachesis/kvdb/readonlystore" + "github.com/artheranet/lachesis/kvdb/synced" ) var _ kvdb.FlushableDBProducer = (*SyncedPool)(nil) diff --git a/kvdb/leveldb/leveldb.go b/kvdb/leveldb/leveldb.go index a24e4a974..89c608672 100644 --- a/kvdb/leveldb/leveldb.go +++ b/kvdb/leveldb/leveldb.go @@ -14,8 +14,8 @@ import ( "github.com/syndtr/goleveldb/leveldb/opt" "github.com/syndtr/goleveldb/leveldb/util" - "github.com/Fantom-foundation/lachesis-base/kvdb" - "github.com/Fantom-foundation/lachesis-base/utils/piecefunc" + "github.com/artheranet/lachesis/kvdb" + "github.com/artheranet/lachesis/utils/piecefunc" ) const ( diff --git a/kvdb/leveldb/producer.go b/kvdb/leveldb/producer.go index 46c7b6564..e3d056a00 100644 --- a/kvdb/leveldb/producer.go +++ b/kvdb/leveldb/producer.go @@ -5,7 +5,7 @@ import ( "os" "path/filepath" - "github.com/Fantom-foundation/lachesis-base/kvdb" + "github.com/artheranet/lachesis/kvdb" ) type Producer struct { diff --git a/kvdb/memorydb/fake_fs.go b/kvdb/memorydb/fake_fs.go index e42d3b8d9..6089674ce 100644 --- a/kvdb/memorydb/fake_fs.go +++ b/kvdb/memorydb/fake_fs.go @@ -4,8 +4,8 @@ import ( "math/rand" "sync" - "github.com/Fantom-foundation/lachesis-base/hash" - "github.com/Fantom-foundation/lachesis-base/kvdb" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/kvdb" ) type fakeFS struct { diff --git a/kvdb/memorydb/memorydb.go b/kvdb/memorydb/memorydb.go index 736ba7a27..51f8b5191 100644 --- a/kvdb/memorydb/memorydb.go +++ b/kvdb/memorydb/memorydb.go @@ -2,9 +2,9 @@ package memorydb import ( - "github.com/Fantom-foundation/lachesis-base/kvdb" - "github.com/Fantom-foundation/lachesis-base/kvdb/devnulldb" - "github.com/Fantom-foundation/lachesis-base/kvdb/flushable" + "github.com/artheranet/lachesis/kvdb" + "github.com/artheranet/lachesis/kvdb/devnulldb" + "github.com/artheranet/lachesis/kvdb/flushable" ) // Database is an ephemeral key-value store. Apart from basic data storage diff --git a/kvdb/memorydb/producer.go b/kvdb/memorydb/producer.go index d48cdd355..54b180f40 100644 --- a/kvdb/memorydb/producer.go +++ b/kvdb/memorydb/producer.go @@ -1,7 +1,7 @@ package memorydb import ( - "github.com/Fantom-foundation/lachesis-base/kvdb" + "github.com/artheranet/lachesis/kvdb" ) type Mod func(store kvdb.Store) kvdb.Store diff --git a/kvdb/memorydb/synced_pool_test.go b/kvdb/memorydb/synced_pool_test.go index 3545c8505..d9c74c34c 100644 --- a/kvdb/memorydb/synced_pool_test.go +++ b/kvdb/memorydb/synced_pool_test.go @@ -5,10 +5,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/Fantom-foundation/lachesis-base/common/bigendian" - "github.com/Fantom-foundation/lachesis-base/kvdb" - "github.com/Fantom-foundation/lachesis-base/kvdb/flushable" - "github.com/Fantom-foundation/lachesis-base/kvdb/table" + "github.com/artheranet/lachesis/common/bigendian" + "github.com/artheranet/lachesis/kvdb" + "github.com/artheranet/lachesis/kvdb/flushable" + "github.com/artheranet/lachesis/kvdb/table" ) func TestSyncedPoolUnderlying(t *testing.T) { diff --git a/kvdb/multidb/producer.go b/kvdb/multidb/producer.go index 0cce4df49..fd20dd4c9 100644 --- a/kvdb/multidb/producer.go +++ b/kvdb/multidb/producer.go @@ -5,9 +5,9 @@ import ( "fmt" "strings" - "github.com/Fantom-foundation/lachesis-base/kvdb" - "github.com/Fantom-foundation/lachesis-base/kvdb/table" - "github.com/Fantom-foundation/lachesis-base/utils/fmtfilter" + "github.com/artheranet/lachesis/kvdb" + "github.com/artheranet/lachesis/kvdb/table" + "github.com/artheranet/lachesis/utils/fmtfilter" ) type Producer struct { diff --git a/kvdb/multidb/records.go b/kvdb/multidb/records.go index 7a7618979..fbc6c1b0f 100644 --- a/kvdb/multidb/records.go +++ b/kvdb/multidb/records.go @@ -3,7 +3,7 @@ package multidb import ( "github.com/ethereum/go-ethereum/rlp" - "github.com/Fantom-foundation/lachesis-base/kvdb" + "github.com/artheranet/lachesis/kvdb" ) type TableRecord struct { diff --git a/kvdb/multidb/store.go b/kvdb/multidb/store.go index e98d9c8b7..34bd8fca9 100644 --- a/kvdb/multidb/store.go +++ b/kvdb/multidb/store.go @@ -1,6 +1,6 @@ package multidb -import "github.com/Fantom-foundation/lachesis-base/kvdb" +import "github.com/artheranet/lachesis/kvdb" type closableTable struct { kvdb.Store diff --git a/kvdb/nokeyiserr/wrapper.go b/kvdb/nokeyiserr/wrapper.go index 50ad7aadc..8e89a0e68 100644 --- a/kvdb/nokeyiserr/wrapper.go +++ b/kvdb/nokeyiserr/wrapper.go @@ -3,7 +3,7 @@ package nokeyiserr import ( "errors" - "github.com/Fantom-foundation/lachesis-base/kvdb" + "github.com/artheranet/lachesis/kvdb" ) var ( diff --git a/kvdb/pebble/pebble.go b/kvdb/pebble/pebble.go index 2f845850a..34af6541a 100644 --- a/kvdb/pebble/pebble.go +++ b/kvdb/pebble/pebble.go @@ -7,8 +7,8 @@ import ( "github.com/cockroachdb/pebble" "github.com/syndtr/goleveldb/leveldb/opt" - "github.com/Fantom-foundation/lachesis-base/kvdb" - "github.com/Fantom-foundation/lachesis-base/utils/piecefunc" + "github.com/artheranet/lachesis/kvdb" + "github.com/artheranet/lachesis/utils/piecefunc" ) // Database is a persistent key-value store. Apart from basic data storage diff --git a/kvdb/pebble/producer.go b/kvdb/pebble/producer.go index 92d38b4e9..c7fded965 100644 --- a/kvdb/pebble/producer.go +++ b/kvdb/pebble/producer.go @@ -5,7 +5,7 @@ import ( "os" "path/filepath" - "github.com/Fantom-foundation/lachesis-base/kvdb" + "github.com/artheranet/lachesis/kvdb" ) type Producer struct { diff --git a/kvdb/readonlystore/store.go b/kvdb/readonlystore/store.go index e5c0b949b..15ed6d4eb 100644 --- a/kvdb/readonlystore/store.go +++ b/kvdb/readonlystore/store.go @@ -1,6 +1,6 @@ package readonlystore -import "github.com/Fantom-foundation/lachesis-base/kvdb" +import "github.com/artheranet/lachesis/kvdb" type Store struct { kvdb.Store diff --git a/kvdb/skiperrors/skiperrors.go b/kvdb/skiperrors/skiperrors.go index bc5bc32be..8eff56cb6 100644 --- a/kvdb/skiperrors/skiperrors.go +++ b/kvdb/skiperrors/skiperrors.go @@ -1,7 +1,7 @@ package skiperrors import ( - "github.com/Fantom-foundation/lachesis-base/kvdb" + "github.com/artheranet/lachesis/kvdb" ) // wrapper is a kvdb.Store wrapper around any kvdb.Store. diff --git a/kvdb/skiperrors/skiperrors_test.go b/kvdb/skiperrors/skiperrors_test.go index 8e26b017c..b9eb40799 100644 --- a/kvdb/skiperrors/skiperrors_test.go +++ b/kvdb/skiperrors/skiperrors_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/assert" - "github.com/Fantom-foundation/lachesis-base/kvdb/memorydb" - "github.com/Fantom-foundation/lachesis-base/kvdb/table" + "github.com/artheranet/lachesis/kvdb/memorydb" + "github.com/artheranet/lachesis/kvdb/table" ) func TestWrapper(t *testing.T) { diff --git a/kvdb/skipkeys/producer.go b/kvdb/skipkeys/producer.go index 3bd147f63..841c6fc90 100644 --- a/kvdb/skipkeys/producer.go +++ b/kvdb/skipkeys/producer.go @@ -1,7 +1,7 @@ package skipkeys import ( - "github.com/Fantom-foundation/lachesis-base/kvdb" + "github.com/artheranet/lachesis/kvdb" ) func openDB(p kvdb.DBProducer, skipPrefix []byte, name string) (kvdb.Store, error) { diff --git a/kvdb/skipkeys/store.go b/kvdb/skipkeys/store.go index ae98a1d57..ed2c12b26 100644 --- a/kvdb/skipkeys/store.go +++ b/kvdb/skipkeys/store.go @@ -3,7 +3,7 @@ package skipkeys import ( "bytes" - "github.com/Fantom-foundation/lachesis-base/kvdb" + "github.com/artheranet/lachesis/kvdb" ) type Store struct { diff --git a/kvdb/synced/readonly.go b/kvdb/synced/readonly.go index 258ab81a0..6a1c233e9 100644 --- a/kvdb/synced/readonly.go +++ b/kvdb/synced/readonly.go @@ -3,7 +3,7 @@ package synced import ( "sync" - "github.com/Fantom-foundation/lachesis-base/kvdb" + "github.com/artheranet/lachesis/kvdb" ) // iteratedReader wrapper around any kvdb.IteratedReader. diff --git a/kvdb/synced/store.go b/kvdb/synced/store.go index b22e14fa3..dfff05f21 100644 --- a/kvdb/synced/store.go +++ b/kvdb/synced/store.go @@ -3,7 +3,7 @@ package synced import ( "sync" - "github.com/Fantom-foundation/lachesis-base/kvdb" + "github.com/artheranet/lachesis/kvdb" ) // store wrapper around any kvdb.Store. diff --git a/kvdb/table/mock_test.go b/kvdb/table/mock_test.go index 6df409227..6b0b0ed57 100644 --- a/kvdb/table/mock_test.go +++ b/kvdb/table/mock_test.go @@ -7,7 +7,7 @@ package table import ( reflect "reflect" - kvdb "github.com/Fantom-foundation/lachesis-base/kvdb" + kvdb "github.com/artheranet/lachesis/kvdb" gomock "github.com/golang/mock/gomock" ) diff --git a/kvdb/table/readonly.go b/kvdb/table/readonly.go index 19d8d5677..58af635b4 100644 --- a/kvdb/table/readonly.go +++ b/kvdb/table/readonly.go @@ -1,7 +1,7 @@ package table import ( - "github.com/Fantom-foundation/lachesis-base/kvdb" + "github.com/artheranet/lachesis/kvdb" ) type IteratedReader struct { diff --git a/kvdb/table/reflect.go b/kvdb/table/reflect.go index c257ccb53..8a8ba6bf9 100644 --- a/kvdb/table/reflect.go +++ b/kvdb/table/reflect.go @@ -5,7 +5,7 @@ import ( "errors" "reflect" - "github.com/Fantom-foundation/lachesis-base/kvdb" + "github.com/artheranet/lachesis/kvdb" ) // MigrateTables sets target fields to database tables. diff --git a/kvdb/table/reflect_test.go b/kvdb/table/reflect_test.go index 7f66da4f9..cb31a05c5 100644 --- a/kvdb/table/reflect_test.go +++ b/kvdb/table/reflect_test.go @@ -8,7 +8,7 @@ import ( "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" - "github.com/Fantom-foundation/lachesis-base/kvdb" + "github.com/artheranet/lachesis/kvdb" ) type testTables struct { diff --git a/kvdb/table/table.go b/kvdb/table/table.go index 3e6af2f1f..adf863b00 100644 --- a/kvdb/table/table.go +++ b/kvdb/table/table.go @@ -5,7 +5,7 @@ import ( "github.com/ethereum/go-ethereum/common" - "github.com/Fantom-foundation/lachesis-base/kvdb" + "github.com/artheranet/lachesis/kvdb" ) // Table wraper the underling DB, so all the table's data is stored with a prefix in underling DB diff --git a/kvdb/table/table_test.go b/kvdb/table/table_test.go index 2ea855397..2b0b57a3a 100644 --- a/kvdb/table/table_test.go +++ b/kvdb/table/table_test.go @@ -12,10 +12,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/Fantom-foundation/lachesis-base/kvdb" - "github.com/Fantom-foundation/lachesis-base/kvdb/flushable" - "github.com/Fantom-foundation/lachesis-base/kvdb/leveldb" - "github.com/Fantom-foundation/lachesis-base/kvdb/memorydb" + "github.com/artheranet/lachesis/kvdb" + "github.com/artheranet/lachesis/kvdb/flushable" + "github.com/artheranet/lachesis/kvdb/leveldb" + "github.com/artheranet/lachesis/kvdb/memorydb" ) func tempLevelDB(name string) *leveldb.Database { diff --git a/lachesis/block.go b/lachesis/block.go index 792544df5..fb893a674 100644 --- a/lachesis/block.go +++ b/lachesis/block.go @@ -1,7 +1,7 @@ package lachesis import ( - "github.com/Fantom-foundation/lachesis-base/hash" + "github.com/artheranet/lachesis/hash" ) // Block is a part of an ordered chain of batches of events. diff --git a/lachesis/cheaters_list.go b/lachesis/cheaters_list.go index 082de3acb..2031a8941 100644 --- a/lachesis/cheaters_list.go +++ b/lachesis/cheaters_list.go @@ -3,7 +3,7 @@ package lachesis import ( "github.com/ethereum/go-ethereum/rlp" - "github.com/Fantom-foundation/lachesis-base/inter/idx" + "github.com/artheranet/lachesis/inter/idx" ) // Cheaters is a slice type for storing cheaters list. diff --git a/lachesis/consensus.go b/lachesis/consensus.go index 5eab5c550..db41d9c18 100644 --- a/lachesis/consensus.go +++ b/lachesis/consensus.go @@ -1,9 +1,9 @@ package lachesis import ( - "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/artheranet/lachesis/inter/dag" + "github.com/artheranet/lachesis/inter/idx" + "github.com/artheranet/lachesis/inter/pos" ) // Consensus is a consensus interface. diff --git a/utils/adapters/vector_to_dagidx.go b/utils/adapters/vector_to_dagidx.go index 5e69529b4..b62052de5 100644 --- a/utils/adapters/vector_to_dagidx.go +++ b/utils/adapters/vector_to_dagidx.go @@ -1,10 +1,10 @@ package adapters import ( - "github.com/Fantom-foundation/lachesis-base/abft/dagidx" - "github.com/Fantom-foundation/lachesis-base/hash" - "github.com/Fantom-foundation/lachesis-base/inter/idx" - "github.com/Fantom-foundation/lachesis-base/vecfc" + "github.com/artheranet/lachesis/abft/dagidx" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/idx" + "github.com/artheranet/lachesis/vecfc" ) type VectorSeqToDagIndexSeq struct { diff --git a/utils/cachescale/interface.go b/utils/cachescale/interface.go index b485fe061..0b551d39d 100644 --- a/utils/cachescale/interface.go +++ b/utils/cachescale/interface.go @@ -1,7 +1,7 @@ package cachescale import ( - "github.com/Fantom-foundation/lachesis-base/inter/idx" + "github.com/artheranet/lachesis/inter/idx" ) type Func interface { diff --git a/utils/cachescale/ratio.go b/utils/cachescale/ratio.go index 35311688b..ea9a24a2d 100644 --- a/utils/cachescale/ratio.go +++ b/utils/cachescale/ratio.go @@ -1,7 +1,7 @@ package cachescale import ( - "github.com/Fantom-foundation/lachesis-base/inter/idx" + "github.com/artheranet/lachesis/inter/idx" ) // Ratio alters the cache sizes proportionally to a ratio diff --git a/utils/datasemaphore/semaphore.go b/utils/datasemaphore/semaphore.go index f649da178..061b1933c 100644 --- a/utils/datasemaphore/semaphore.go +++ b/utils/datasemaphore/semaphore.go @@ -4,7 +4,7 @@ import ( "sync" "time" - "github.com/Fantom-foundation/lachesis-base/inter/dag" + "github.com/artheranet/lachesis/inter/dag" ) type DataSemaphore struct { diff --git a/utils/util.go b/utils/util.go index f42fa5526..9289fc548 100644 --- a/utils/util.go +++ b/utils/util.go @@ -3,8 +3,8 @@ package utils import ( "fmt" - "github.com/Fantom-foundation/lachesis-base/hash" - "github.com/Fantom-foundation/lachesis-base/inter/idx" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/idx" ) // NameOf returns human readable string representation. diff --git a/utils/wlru/wlru.go b/utils/wlru/wlru.go index 46e23842b..92354475b 100644 --- a/utils/wlru/wlru.go +++ b/utils/wlru/wlru.go @@ -3,7 +3,7 @@ package wlru import ( "sync" - "github.com/Fantom-foundation/lachesis-base/utils/simplewlru" + "github.com/artheranet/lachesis/utils/simplewlru" ) // Cache is a thread-safe fixed size LRU cache. diff --git a/utils/wmedian/median.go b/utils/wmedian/median.go index 4de184ebc..fd87eb1c4 100644 --- a/utils/wmedian/median.go +++ b/utils/wmedian/median.go @@ -1,7 +1,7 @@ package wmedian import ( - "github.com/Fantom-foundation/lachesis-base/inter/pos" + "github.com/artheranet/lachesis/inter/pos" ) type WeightedValue interface { diff --git a/vecengine/branches_info.go b/vecengine/branches_info.go index e041486b2..288295cfe 100644 --- a/vecengine/branches_info.go +++ b/vecengine/branches_info.go @@ -1,8 +1,8 @@ package vecengine import ( - "github.com/Fantom-foundation/lachesis-base/inter/idx" - "github.com/Fantom-foundation/lachesis-base/inter/pos" + "github.com/artheranet/lachesis/inter/idx" + "github.com/artheranet/lachesis/inter/pos" ) // BranchesInfo contains information about global branches of each validator diff --git a/vecengine/index.go b/vecengine/index.go index 121b283d4..b22faa3f0 100644 --- a/vecengine/index.go +++ b/vecengine/index.go @@ -4,13 +4,13 @@ import ( "errors" "fmt" - "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/kvdb/flushable" - "github.com/Fantom-foundation/lachesis-base/kvdb/table" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/dag" + "github.com/artheranet/lachesis/inter/idx" + "github.com/artheranet/lachesis/inter/pos" + "github.com/artheranet/lachesis/kvdb" + "github.com/artheranet/lachesis/kvdb/flushable" + "github.com/artheranet/lachesis/kvdb/table" ) type Callbacks struct { diff --git a/vecengine/store_branches_info.go b/vecengine/store_branches_info.go index 2ce73cbb6..4f2e0d9db 100644 --- a/vecengine/store_branches_info.go +++ b/vecengine/store_branches_info.go @@ -5,9 +5,9 @@ import ( "github.com/ethereum/go-ethereum/rlp" - "github.com/Fantom-foundation/lachesis-base/hash" - "github.com/Fantom-foundation/lachesis-base/inter/idx" - "github.com/Fantom-foundation/lachesis-base/kvdb" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/idx" + "github.com/artheranet/lachesis/kvdb" ) func (vi *Engine) setRlp(table kvdb.Store, key []byte, val interface{}) { diff --git a/vecengine/traversal.go b/vecengine/traversal.go index d6e42eee0..db3a55304 100644 --- a/vecengine/traversal.go +++ b/vecengine/traversal.go @@ -3,8 +3,8 @@ package vecengine import ( "errors" - "github.com/Fantom-foundation/lachesis-base/hash" - "github.com/Fantom-foundation/lachesis-base/inter/dag" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/dag" ) // DfsSubgraph iterates all the event which are observed by head, and accepted by a filter diff --git a/vecengine/vector.go b/vecengine/vector.go index f2af15dba..aba28bfd1 100644 --- a/vecengine/vector.go +++ b/vecengine/vector.go @@ -1,8 +1,8 @@ package vecengine import ( - "github.com/Fantom-foundation/lachesis-base/inter/dag" - "github.com/Fantom-foundation/lachesis-base/inter/idx" + "github.com/artheranet/lachesis/inter/dag" + "github.com/artheranet/lachesis/inter/idx" ) type LowestAfterI interface { diff --git a/vecfc/forkless_cause.go b/vecfc/forkless_cause.go index 639c083d9..003b191e9 100644 --- a/vecfc/forkless_cause.go +++ b/vecfc/forkless_cause.go @@ -3,8 +3,8 @@ package vecfc import ( "fmt" - "github.com/Fantom-foundation/lachesis-base/hash" - "github.com/Fantom-foundation/lachesis-base/inter/idx" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/idx" ) type kv struct { diff --git a/vecfc/forkless_cause_test.go b/vecfc/forkless_cause_test.go index 99bb37c76..f5b434d51 100644 --- a/vecfc/forkless_cause_test.go +++ b/vecfc/forkless_cause_test.go @@ -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/kvdb/memorydb" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/dag" + "github.com/artheranet/lachesis/inter/dag/tdag" + "github.com/artheranet/lachesis/inter/idx" + "github.com/artheranet/lachesis/inter/pos" + "github.com/artheranet/lachesis/kvdb/memorydb" ) func tCrit(err error) { panic(err) } @@ -123,7 +123,9 @@ a1_5 ────╣ ║ } // testForklessCaused uses event name agreement: -// "_[(by-level)]", +// +// "_[(by-level)]", +// // where by-level means that event is forkless seen by all event with level >= by-level. func testForklessCaused(t *testing.T, dagAscii string) { assertar := assert.New(t) diff --git a/vecfc/index.go b/vecfc/index.go index 8f818c841..ab81e144a 100644 --- a/vecfc/index.go +++ b/vecfc/index.go @@ -1,15 +1,15 @@ package vecfc import ( - "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/kvdb/table" - "github.com/Fantom-foundation/lachesis-base/utils/cachescale" - "github.com/Fantom-foundation/lachesis-base/utils/simplewlru" - "github.com/Fantom-foundation/lachesis-base/vecengine" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/dag" + "github.com/artheranet/lachesis/inter/idx" + "github.com/artheranet/lachesis/inter/pos" + "github.com/artheranet/lachesis/kvdb" + "github.com/artheranet/lachesis/kvdb/table" + "github.com/artheranet/lachesis/utils/cachescale" + "github.com/artheranet/lachesis/utils/simplewlru" + "github.com/artheranet/lachesis/vecengine" ) // IndexCacheConfig - config for cache sizes of Engine diff --git a/vecfc/index_test.go b/vecfc/index_test.go index 3d878a636..417f1845c 100644 --- a/vecfc/index_test.go +++ b/vecfc/index_test.go @@ -3,11 +3,11 @@ package vecfc import ( "testing" - "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/pos" - "github.com/Fantom-foundation/lachesis-base/kvdb/memorydb" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/inter/dag" + "github.com/artheranet/lachesis/inter/dag/tdag" + "github.com/artheranet/lachesis/inter/pos" + "github.com/artheranet/lachesis/kvdb/memorydb" ) var ( diff --git a/vecfc/store_vectors.go b/vecfc/store_vectors.go index 786668aaf..afa15948b 100644 --- a/vecfc/store_vectors.go +++ b/vecfc/store_vectors.go @@ -1,8 +1,8 @@ package vecfc import ( - "github.com/Fantom-foundation/lachesis-base/hash" - "github.com/Fantom-foundation/lachesis-base/kvdb" + "github.com/artheranet/lachesis/hash" + "github.com/artheranet/lachesis/kvdb" ) func (vi *Index) getBytes(table kvdb.Store, id hash.Event) []byte { diff --git a/vecfc/vector.go b/vecfc/vector.go index fd735b67d..55b3e5abf 100644 --- a/vecfc/vector.go +++ b/vecfc/vector.go @@ -4,7 +4,7 @@ import ( "encoding/binary" "math" - "github.com/Fantom-foundation/lachesis-base/inter/idx" + "github.com/artheranet/lachesis/inter/idx" ) /* diff --git a/vecfc/vector_ops.go b/vecfc/vector_ops.go index fff7600ae..aa33955ae 100644 --- a/vecfc/vector_ops.go +++ b/vecfc/vector_ops.go @@ -1,9 +1,9 @@ package vecfc import ( - "github.com/Fantom-foundation/lachesis-base/inter/dag" - "github.com/Fantom-foundation/lachesis-base/inter/idx" - "github.com/Fantom-foundation/lachesis-base/vecengine" + "github.com/artheranet/lachesis/inter/dag" + "github.com/artheranet/lachesis/inter/idx" + "github.com/artheranet/lachesis/vecengine" ) func (b *LowestAfterSeq) InitWithEvent(i idx.Validator, e dag.Event) {