Skip to content

Commit

Permalink
Merge branch 'feat/chain-go-sdk' into MX-15222-sovereign-chain-simulator
Browse files Browse the repository at this point in the history
  • Loading branch information
axenteoctavian authored May 20, 2024
2 parents fb6a6b2 + 37e9e66 commit 58fca07
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion factory/vm/sovereignVmContainerShardCreator.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package vm

import (
"github.com/multiversx/mx-chain-core-go/core/check"
"github.com/multiversx/mx-chain-go/process"
"github.com/multiversx/mx-chain-go/process/factory"
"github.com/multiversx/mx-chain-go/process/smartContract/hooks"

"github.com/multiversx/mx-chain-core-go/core/check"
)

type sovereignVmContainerShardFactory struct {
Expand Down Expand Up @@ -60,6 +61,11 @@ func (svcsf *sovereignVmContainerShardFactory) CreateVmContainerFactory(argsHook
return nil, nil, err
}

err = vmFactory.BlockChainHookImpl().SetVMContainer(vmContainer)
if err != nil {
return nil, nil, err
}

return vmContainer, vmFactory, nil
}

Expand Down

0 comments on commit 58fca07

Please sign in to comment.