From 21dc7c5693f81a88dea433b349d27c6b8efb65c8 Mon Sep 17 00:00:00 2001 From: jules01 Date: Wed, 27 Sep 2023 10:34:11 +0300 Subject: [PATCH] - integrated cache-less mx-chain-core-go --- go.mod | 5 +++-- go.sum | 10 ++++++---- vmhost/contexts/instanceTracker.go | 2 +- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/go.mod b/go.mod index 1dd829c23..4886a6700 100644 --- a/go.mod +++ b/go.mod @@ -8,11 +8,12 @@ require ( github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 github.com/gogo/protobuf v1.3.2 github.com/mitchellh/mapstructure v1.5.0 - github.com/multiversx/mx-chain-core-go v1.2.13 + github.com/multiversx/mx-chain-core-go v1.2.17-0.20230919104727-566f55d213ab github.com/multiversx/mx-chain-crypto-go v1.2.8 github.com/multiversx/mx-chain-logger-go v1.0.13 github.com/multiversx/mx-chain-scenario-go v1.2.1 - github.com/multiversx/mx-chain-vm-common-go v1.5.5 + github.com/multiversx/mx-chain-storage-go v1.0.14-0.20230927065701-c36344b3d1f6 + github.com/multiversx/mx-chain-vm-common-go v1.5.6-0.20230927070234-b9b10860e77c github.com/multiversx/mx-components-big-int v1.0.0 github.com/pelletier/go-toml v1.9.3 github.com/stretchr/testify v1.8.1 diff --git a/go.sum b/go.sum index 196f7d289..ec220003e 100644 --- a/go.sum +++ b/go.sum @@ -81,16 +81,18 @@ github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyua github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mr-tron/base58 v1.2.0 h1:T/HDJBh4ZCPbU39/+c3rRvE0uKBQlU27+QI8LJ4t64o= github.com/mr-tron/base58 v1.2.0/go.mod h1:BinMc/sQntlIE1frQmRFPUoPA1Zkr8VRgBdjWI2mNwc= -github.com/multiversx/mx-chain-core-go v1.2.13 h1:4Svi23hdsoibStFXv0i7lbBWus3kDJPc6CFhrxrKIZ4= -github.com/multiversx/mx-chain-core-go v1.2.13/go.mod h1:BILOGHUOIG5dNNX8cgkzCNfDaVtoYrJRYcPnpxRMH84= +github.com/multiversx/mx-chain-core-go v1.2.17-0.20230919104727-566f55d213ab h1:FO/YYB/cWG6ruHOrnQq6Dn4GEnK06I2KlrwtE2AUcKM= +github.com/multiversx/mx-chain-core-go v1.2.17-0.20230919104727-566f55d213ab/go.mod h1:B5zU4MFyJezmEzCsAHE9YNULmGCm2zbPHvl9hazNxmE= github.com/multiversx/mx-chain-crypto-go v1.2.8 h1:wOgVlUaO5X4L8iEbFjcQcL8SZvv6WZ7LqH73BiRPhxU= github.com/multiversx/mx-chain-crypto-go v1.2.8/go.mod h1:fkaWKp1rbQN9wPKya5jeoRyC+c/SyN/NfggreyeBw+8= github.com/multiversx/mx-chain-logger-go v1.0.13 h1:eru/TETo0MkO4ZTnXsQDKf4PBRpAXmqjT02klNT/JnY= github.com/multiversx/mx-chain-logger-go v1.0.13/go.mod h1:MZJhTAtZTJxT+yK2EHc4ZW3YOHUc1UdjCD0iahRNBZk= github.com/multiversx/mx-chain-scenario-go v1.2.1 h1:9eC6VcOEAKRRKZ7EbSWPLzCdNIMWwuNBtAZlgR4cSMA= github.com/multiversx/mx-chain-scenario-go v1.2.1/go.mod h1:EuZY7DpNFHVNSxJR8dKE1z2I8gBYfEFFPSwNUOXptqE= -github.com/multiversx/mx-chain-vm-common-go v1.5.5 h1:NoG73lvcHSeUcoFlYybG8ceGuJ6KptD3QJjUNEnGDVk= -github.com/multiversx/mx-chain-vm-common-go v1.5.5/go.mod h1:sqkKMCnwkWl8DURdb9q7pctK8IANghdHY1KJLE0ox2c= +github.com/multiversx/mx-chain-storage-go v1.0.14-0.20230927065701-c36344b3d1f6 h1:qCw2so19VnQl+uYTV9O0AxOM7RK1kWk9wOGQ6rMBy4U= +github.com/multiversx/mx-chain-storage-go v1.0.14-0.20230927065701-c36344b3d1f6/go.mod h1:u2eWA3jbJEWYggNO2Faz9+ctNpHme73eLJ+luJcjrFY= +github.com/multiversx/mx-chain-vm-common-go v1.5.6-0.20230927070234-b9b10860e77c h1:j37rj1PDOqXMAEqeK3tE8TF6+uOIxC4ui1rTRjP6n8E= +github.com/multiversx/mx-chain-vm-common-go v1.5.6-0.20230927070234-b9b10860e77c/go.mod h1:xF6E0h7i4VioR2B40u/LD2rIWvDRo+kLYRHkIVyMx50= github.com/multiversx/mx-components-big-int v1.0.0 h1:Wkr8lSzK2nDqixOrrBa47VNuqdhV1m/aJhaP1EMaiS8= github.com/multiversx/mx-components-big-int v1.0.0/go.mod h1:maIEMgHlNE2u78JaDD0oLzri+ShgU4okHfzP3LWGdQM= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= diff --git a/vmhost/contexts/instanceTracker.go b/vmhost/contexts/instanceTracker.go index 042a5c766..530cbc6ab 100644 --- a/vmhost/contexts/instanceTracker.go +++ b/vmhost/contexts/instanceTracker.go @@ -5,8 +5,8 @@ import ( "fmt" "github.com/multiversx/mx-chain-core-go/core/check" - "github.com/multiversx/mx-chain-core-go/storage/lrucache" logger "github.com/multiversx/mx-chain-logger-go" + "github.com/multiversx/mx-chain-storage-go/lrucache" "github.com/multiversx/mx-chain-vm-go/executor" "github.com/multiversx/mx-chain-vm-go/vmhost" )