From ecf6d12a222748a9bc1b95d08bc7047b979545fd Mon Sep 17 00:00:00 2001 From: skosito Date: Fri, 30 Aug 2024 18:47:50 +0200 Subject: [PATCH] fixes after merge --- codecov.yml | 2 +- e2e/e2etests/test_precompiles_staking.go | 6 +++--- precompiles/precompiles.go | 6 +++--- precompiles/staking/staking.go | 2 +- precompiles/staking/staking_test.go | 8 ++++---- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/codecov.yml b/codecov.yml index 3fc15ff248..fedb830848 100644 --- a/codecov.yml +++ b/codecov.yml @@ -81,4 +81,4 @@ ignore: - "precompiles/**/*.json" - "precompiles/**/*.sol" - "precompiles/prototype/IPrototype.go" - - "precompiles/prototype/IStaking.go" + - "precompiles/staking/IStaking.go" diff --git a/e2e/e2etests/test_precompiles_staking.go b/e2e/e2etests/test_precompiles_staking.go index 36e2da5bbb..d390368307 100644 --- a/e2e/e2etests/test_precompiles_staking.go +++ b/e2e/e2etests/test_precompiles_staking.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/zeta-chain/zetacore/e2e/runner" - "github.com/zeta-chain/zetacore/e2e/utils" - "github.com/zeta-chain/zetacore/precompiles/staking" + "github.com/zeta-chain/node/e2e/runner" + "github.com/zeta-chain/node/e2e/utils" + "github.com/zeta-chain/node/precompiles/staking" ) func TestPrecompilesStaking(r *runner.E2ERunner, args []string) { diff --git a/precompiles/precompiles.go b/precompiles/precompiles.go index e3e2223692..1adf65005f 100644 --- a/precompiles/precompiles.go +++ b/precompiles/precompiles.go @@ -10,9 +10,9 @@ import ( ethparams "github.com/ethereum/go-ethereum/params" evmkeeper "github.com/zeta-chain/ethermint/x/evm/keeper" - "github.com/zeta-chain/zetacore/precompiles/prototype" - "github.com/zeta-chain/zetacore/precompiles/staking" - fungiblekeeper "github.com/zeta-chain/zetacore/x/fungible/keeper" + "github.com/zeta-chain/node/precompiles/prototype" + "github.com/zeta-chain/node/precompiles/staking" + fungiblekeeper "github.com/zeta-chain/node/x/fungible/keeper" ) // EnabledStatefulContracts contains the list of all enabled stateful precompiles. diff --git a/precompiles/staking/staking.go b/precompiles/staking/staking.go index 23c424aa30..d227ca6e1d 100644 --- a/precompiles/staking/staking.go +++ b/precompiles/staking/staking.go @@ -14,7 +14,7 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/vm" - ptypes "github.com/zeta-chain/zetacore/precompiles/types" + ptypes "github.com/zeta-chain/node/precompiles/types" ) const ( diff --git a/precompiles/staking/staking_test.go b/precompiles/staking/staking_test.go index 95a915550a..8578491e03 100644 --- a/precompiles/staking/staking_test.go +++ b/precompiles/staking/staking_test.go @@ -18,10 +18,10 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/stretchr/testify/require" ethermint "github.com/zeta-chain/ethermint/types" - "github.com/zeta-chain/zetacore/cmd/zetacored/config" - "github.com/zeta-chain/zetacore/testutil/keeper" - "github.com/zeta-chain/zetacore/testutil/sample" - fungibletypes "github.com/zeta-chain/zetacore/x/fungible/types" + "github.com/zeta-chain/node/cmd/zetacored/config" + "github.com/zeta-chain/node/testutil/keeper" + "github.com/zeta-chain/node/testutil/sample" + fungibletypes "github.com/zeta-chain/node/x/fungible/types" ) func setup(t *testing.T) (sdk.Context, *Contract, abi.ABI, keeper.SDKKeepers) {