Skip to content

Commit

Permalink
generate
Browse files Browse the repository at this point in the history
  • Loading branch information
kingpinXD committed Aug 9, 2024
1 parent d223a8f commit c2da535
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 43 deletions.
1 change: 1 addition & 0 deletions e2e/e2etests/test_migrate_tss.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
"github.com/btcsuite/btcutil"
"github.com/ethereum/go-ethereum/common"
"github.com/stretchr/testify/require"

"github.com/zeta-chain/zetacore/e2e/runner"
"github.com/zeta-chain/zetacore/e2e/utils"
"github.com/zeta-chain/zetacore/pkg/chains"
Expand Down
4 changes: 1 addition & 3 deletions e2e/runner/update_contracts.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import (

"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/stretchr/testify/require"

"github.com/zeta-chain/zetacore/e2e/utils"
)

func (r *E2ERunner) UpdateTssAddressForConnector() {

require.NoError(r, r.SetTSSAddresses())

tx, err := r.ConnectorEth.UpdateTssAddress(r.EVMAuth, r.TSSAddress)
Expand All @@ -21,11 +21,9 @@ func (r *E2ERunner) UpdateTssAddressForConnector() {
tssAddressOnConnector, err := r.ConnectorEth.TssAddress(&bind.CallOpts{Context: r.Ctx})
require.NoError(r, err)
require.Equal(r, r.TSSAddress, tssAddressOnConnector)

}

func (r *E2ERunner) UpdateTssAddressForErc20custody() {

require.NoError(r, r.SetTSSAddresses())

tx, err := r.ERC20Custody.UpdateTSSAddress(r.EVMAuth, r.TSSAddress)
Expand Down
40 changes: 0 additions & 40 deletions testutil/keeper/mocks/crosschain/observer.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c2da535

Please sign in to comment.