From 429cfcaa6174aee31035dfd438d5eb1e8cbdcdae Mon Sep 17 00:00:00 2001 From: Iuga Mihai Date: Tue, 27 Feb 2024 11:27:14 +0200 Subject: [PATCH] fixes --- Dockerfile | 1 - README.md | 9 +++++++++ go.mod | 2 +- go.sum | 4 ++-- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index a2add713..bff149a4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,6 +30,5 @@ COPY --from=builder "/lib/libwasmer_linux_amd64.so" "/lib/libwasmer_linux_amd64. COPY --from=builder "/lib/libvmexeccapi.so" "/lib/libvmexeccapi.so" ENTRYPOINT ["./chainsimulator"] -CMD ["--log-level", "*:DEBUG"] diff --git a/README.md b/README.md index a4008b1b..0152b332 100644 --- a/README.md +++ b/README.md @@ -278,6 +278,15 @@ The **_[config.toml](./cmd/chainsimulator/config/config.toml)_** file: block-time-in-milliseconds = 6000 ``` +### Build docker image +``` +DOCKER_BUILDKIT=1 docker build -t chainsimulator:latest . +``` + +### Run with docker +``` +docker run -p 8085:8085 chainsimulator:latest --log-level *:DEBUG +``` ## Contribution diff --git a/go.mod b/go.mod index 70cef155..e14a1559 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.20 require ( github.com/gin-gonic/gin v1.9.1 github.com/multiversx/mx-chain-core-go v1.2.19-0.20240129082057-a76d0c995cf2 - github.com/multiversx/mx-chain-go v1.7.3-0.20240221154137-aa16de3cd5e5 + github.com/multiversx/mx-chain-go v1.7.3-0.20240227085446-81d81e932f9c github.com/multiversx/mx-chain-logger-go v1.0.14-0.20240129144507-d00e967c890c github.com/multiversx/mx-chain-proxy-go v1.1.41 github.com/stretchr/testify v1.8.4 diff --git a/go.sum b/go.sum index e234b072..64e861c2 100644 --- a/go.sum +++ b/go.sum @@ -401,8 +401,8 @@ github.com/multiversx/mx-chain-crypto-go v1.2.10-0.20231206065052-38843c1f1479 h github.com/multiversx/mx-chain-crypto-go v1.2.10-0.20231206065052-38843c1f1479/go.mod h1:Ap6p7QZFtwPlb++OvCG+85BfuZ+bLP/JtQp6EwjWJsI= github.com/multiversx/mx-chain-es-indexer-go v1.4.19-0.20240129150813-a772c480d33a h1:mOMUhbsjTq7n5oAv4KkVnL67ngS0+wkqmkiv1XJfBIY= github.com/multiversx/mx-chain-es-indexer-go v1.4.19-0.20240129150813-a772c480d33a/go.mod h1:3aSGRJNvfUuPQkZUGHWuF11rPPxphsKGuAuIB+eD3is= -github.com/multiversx/mx-chain-go v1.7.3-0.20240221154137-aa16de3cd5e5 h1:Yp/2/WwmVMkukBm8bd9ABZY/ZRYw/Qp2j2yvCu5ib/0= -github.com/multiversx/mx-chain-go v1.7.3-0.20240221154137-aa16de3cd5e5/go.mod h1:lig6YN9ltTpb6gKhu1kXwiOJfO+WEzYTrjggocyxwkU= +github.com/multiversx/mx-chain-go v1.7.3-0.20240227085446-81d81e932f9c h1:E4PPlRNAU6y1/91i1lz4rru5Ze1J+VlQRNkwWZ1SaKY= +github.com/multiversx/mx-chain-go v1.7.3-0.20240227085446-81d81e932f9c/go.mod h1:lig6YN9ltTpb6gKhu1kXwiOJfO+WEzYTrjggocyxwkU= github.com/multiversx/mx-chain-logger-go v1.0.14-0.20240129144507-d00e967c890c h1:QIUOn8FgNRa5cir4BCWHZi/Qcr6Gg0eGNhns4+jy6+k= github.com/multiversx/mx-chain-logger-go v1.0.14-0.20240129144507-d00e967c890c/go.mod h1:fH/fR/GEBsDjPkBoZDVJMoYo2HhlA7++DP6QfITJ1N8= github.com/multiversx/mx-chain-proxy-go v1.1.41 h1:u5LTek2keNvd25jrOmHLp0N4AFwYFImBnrs+GR7IGRY=