diff --git a/integrationTests/vm/staking/componentsHolderCreator.go b/integrationTests/vm/staking/componentsHolderCreator.go index e3673b08ec7..251e7eec511 100644 --- a/integrationTests/vm/staking/componentsHolderCreator.go +++ b/integrationTests/vm/staking/componentsHolderCreator.go @@ -27,6 +27,7 @@ import ( "github.com/multiversx/mx-chain-go/sharding" "github.com/multiversx/mx-chain-go/sharding/nodesCoordinator" "github.com/multiversx/mx-chain-go/state" + disabledState "github.com/multiversx/mx-chain-go/state/disabled" stateFactory "github.com/multiversx/mx-chain-go/state/factory" "github.com/multiversx/mx-chain-go/state/storagePruningManager" "github.com/multiversx/mx-chain-go/state/storagePruningManager/evictionWaitingList" @@ -215,6 +216,7 @@ func createAccountsDB( StoragePruningManager: spm, AddressConverter: coreComponents.AddressPubKeyConverter(), SnapshotsManager: &stateTests.SnapshotsManagerStub{}, + StateChangesCollector: disabledState.NewDisabledStateChangesCollector(), } adb, _ := state.NewAccountsDB(argsAccountsDb) return adb diff --git a/state/accountsDB_test.go b/state/accountsDB_test.go index d3886f2d944..5625bea069a 100644 --- a/state/accountsDB_test.go +++ b/state/accountsDB_test.go @@ -6,7 +6,6 @@ import ( "crypto/rand" "errors" "fmt" - "github.com/multiversx/mx-chain-go/state/dataTrieValue" mathRand "math/rand" "strings" "sync" @@ -26,6 +25,7 @@ import ( "github.com/multiversx/mx-chain-go/process/mock" "github.com/multiversx/mx-chain-go/state" "github.com/multiversx/mx-chain-go/state/accounts" + "github.com/multiversx/mx-chain-go/state/dataTrieValue" "github.com/multiversx/mx-chain-go/state/factory" "github.com/multiversx/mx-chain-go/state/iteratorChannelsProvider" "github.com/multiversx/mx-chain-go/state/lastSnapshotMarker"