Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

chore: update celestia-app version #120

Merged
merged 1 commit into from
Feb 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/celestiaorg/orchestrator-relayer
go 1.19

require (
github.com/celestiaorg/celestia-app v0.12.0-rc6.0.20230209025456-f4eb8c116abb
github.com/celestiaorg/celestia-app v0.12.0-rc7.0.20230210200105-ff69444e0b2c
github.com/celestiaorg/nmt v0.14.0 // indirect
github.com/celestiaorg/quantum-gravity-bridge v1.3.0
github.com/ethereum/go-ethereum v1.10.26
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ github.com/buger/jsonparser v0.0.0-20181115193947-bf1c66bbce23/go.mod h1:bbYlZJ7
github.com/bwesterb/go-ristretto v1.2.0/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0=
github.com/c-bata/go-prompt v0.2.2/go.mod h1:VzqtzE2ksDBcdln8G7mk2RX9QyGjH+OVqOCSiVIqS34=
github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ=
github.com/celestiaorg/celestia-app v0.12.0-rc6.0.20230209025456-f4eb8c116abb h1:Jmo2CLmHBBwlDSfvol6KbfOpgBTvzaqckumTX6njDqs=
github.com/celestiaorg/celestia-app v0.12.0-rc6.0.20230209025456-f4eb8c116abb/go.mod h1:60QSrI+bbGzL/m80ocWrYpdg/ECLxmVvVets6vPuG8k=
github.com/celestiaorg/celestia-app v0.12.0-rc7.0.20230210200105-ff69444e0b2c h1:6cG5OBf7NQEgCq1UbcsW0LBuU6LtYDoa/PYup3MyxY8=
github.com/celestiaorg/celestia-app v0.12.0-rc7.0.20230210200105-ff69444e0b2c/go.mod h1:60QSrI+bbGzL/m80ocWrYpdg/ECLxmVvVets6vPuG8k=
github.com/celestiaorg/celestia-core v1.14.0-tm-v0.34.23 h1:8zE523TUe5W33/nheJ9umHF2d1q6iHQlqJfMXMTPe3k=
github.com/celestiaorg/celestia-core v1.14.0-tm-v0.34.23/go.mod h1:fGDSg7aw2OH/Uze1zymop0x0y1kAPEO9OII2A2cb99Q=
github.com/celestiaorg/cosmos-sdk v1.8.0-sdk-v0.46.7 h1:EADZy33ufskVIy6Rj6jbi3SOVCeYYo26zUi7iYx+QR0=
Expand Down
4 changes: 0 additions & 4 deletions rpc/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ func (s *QuerierTestSuite) SetupSuite() {
require.NoError(t, err)
}

func (s *QuerierTestSuite) TearDownSuite() {
s.Network.Stop()
}

func TestQueriers(t *testing.T) {
suite.Run(t, new(QuerierTestSuite))
}
12 changes: 1 addition & 11 deletions testing/celestia_network.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,17 @@ import (
type CelestiaNetwork struct {
celestiatestnode.Context
Accounts []string
Cleanup func() error
BlockTime time.Duration
}

// NewCelestiaNetwork creates a new CelestiaNetwork.
// Uses `testing.T` to fail if an error happens.
// Only supports the creation of a single validator currently.
func NewCelestiaNetwork(t *testing.T, blockTime time.Duration) *CelestiaNetwork {
cleanup, accounts, clientContext := celestiatestnode.DefaultNetwork(t, blockTime)
accounts, clientContext := celestiatestnode.DefaultNetwork(t, blockTime)
return &CelestiaNetwork{
Context: clientContext,
Accounts: accounts,
Cleanup: cleanup,
BlockTime: blockTime,
}
}

// Stop tears down the Celestia network and panics in case of error.
func (cn CelestiaNetwork) Stop() {
err := cn.Cleanup()
if err != nil {
panic(err)
}
}
1 change: 0 additions & 1 deletion testing/testnode.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,5 @@ func NewTestNode(ctx context.Context, t *testing.T) *TestNode {

func (tn TestNode) Close() {
tn.DHTNetwork.Stop()
tn.CelestiaNetwork.Stop()
tn.EVMChain.Close()
}